SQLite backup API
Posted: Wed Dec 21, 2016 11:24 am
Hi,
since it is possible to cretae a SQLite database in memory it would be nice if we can store it to disk.
For this the backup API is needed.
At the moment it is not included in the library.
Look at 'Example 1'
http://www.sqlite.org/backup.html
http://www.sqlite.org/c3ref/backup_fini ... backupinit
At the moment I create a database which takes nearly 3 Minutes and I hear a lot of hdd noise.
In memory it takes 15 seconds, but I can not 'dump' it to hdd
Bernd
since it is possible to cretae a SQLite database in memory it would be nice if we can store it to disk.
For this the backup API is needed.
At the moment it is not included in the library.
Look at 'Example 1'
http://www.sqlite.org/backup.html
http://www.sqlite.org/c3ref/backup_fini ... backupinit
At the moment I create a database which takes nearly 3 Minutes and I hear a lot of hdd noise.
In memory it takes 15 seconds, but I can not 'dump' it to hdd

Bernd