Function
EN
Version 4.50
@GetDBSpaceUsage
Database
NotesAdmin
Syntax
@GetDBSpaceUsage(DBHANDLE1);
@GetDBSpaceUsage(DBHANDLE1;FLOATALLOC);
@GetDBSpaceUsage(DBHANDLE1;FLOATALLOC;FLOATFREE);
@GetDBSpaceUsage(DBHANDLE1;FLOATALLOC;FLOATFREE;FLOATUSEDPERCENTAGE);
Description
The size of the DB with the DBHANDLE DBHANDLE1 is returned in bytes, rounded up to full MB.
Optionally, the number of used bytes (FLOAT FLOATALLOC) or free bytes (FLOAT FLOATFREE) and the percentage usage (FLOAT FLOATUSEDPERCENTAGE) of the DB can be queried.
Example: @GetDBSpaceUsage(DBHANDLE1)
@GetDBSpaceUsage(DBHANDLE1)
The database is opened, its size in bytes is output, and then the DB is closed again.
Note : This text was machine-translated and may contain inaccuracies.
