Size (Database - Java™) Read-only. The size of a database, in bytes. Defined in Database Data type double Syntax public double getSize() throws NotesException Usage The database does not need to be open to use this property. Example