Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns the database size.
int DatabaseInfo.getDbSize()
(-1) when the database is not persistent and when write-at-end is configured; otherwise, the current size of the persistent store is returned.