Read section on URI Filemanes, particularly mode for memory databases:

 http://www.sqlite.org/c3ref/open.html

DB Connection in backup API does not have to point to a file, it can point to 
in-memory database if URIs are enabled.

(I learned it from someone else on the list, i use SQLite for less than a 
month.)

Roman

________________________________________
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Petite Abeille [petite.abei...@gmail.com]
Sent: Wednesday, June 05, 2013 3:15 PM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Serialize an in-memory database

On Jun 5, 2013, at 9:10 PM, Philip Bennefall <phi...@blastbay.com> wrote:

> Yes, I have seen the backup API. But I would like to avoid the disk file 
> entirely and just serialize to and from memory.

Lateral thinking… write your db to tmpfs…

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to