I have a SQLite3 in memory database:
sqlite3* database;
sqlite3_open(":memory:", &database);
Is it possible to get the exact size of the database in memory?
I need to send the database to a client without saving it on a disk and have to tell him the size.
Use
pragma page_count(multiplied bypragma page_size).