PercentUsed (NotesDatabase - JavaScript)

Read-only. The percent of a database's total size that is occupied by real data (and not empty space).

Defined in

NotesDatabase

Syntax

getPercentUsed() : double

Usage

Compacting a database removes empty space in the database file.

The database must be open to use this property.

Examples

This computed field displays the percent of the current database that is used.
return "The current database is " + database.getPercentUsed().toFixed(2) + " percent used."