In SQLite the size of the database file is the overall size of the database, but this is not necessarily a correct indication of the actual space used. If data is deleted, the freed space is not returned to the operating system. One has to execute the VACUUM command to defragment the database and release unused space back to the operating system.
I am using the Devart ADO.Net data provider for SQLite.
Is there a way to obtain the actual used space of a SQLite database?