Thanks guys I will investigate those features.

Benjamin Filippi
Capital Fund Management
6 boulevard Haussmann 75009 Paris
Tel: +33 1 49 49 59 30
Fax: +33 1 47 70 17 40
[EMAIL PROTECTED]
http://www.cfm.fr




Ben Clewett <[EMAIL PROTECTED]>
08/31/2005 10:41 AM
Please respond to sqlite-users
 
        To:     sqlite-users@sqlite.org
        cc: 
        Subject:        Re: [sqlite] Running in memory only


Benjamin,

This works well on Linux using file system /dev/shm.  This should be 
installed as default and works indistinguishably from normal file 
system.  SQLite writes about 200 times faster than normal file system.

Remember that like all ram disks, this is wiped without warning on 
shut-down.  So consider it only for duplicate data.  I also find having 
an 'rc' script to re-create tables on startup is a great help.

David Pitcher wrote:
> Salut Benjamin,
> 
> Simplest way to make that happen is to use a ram disk, google for 
> 'RamDisk' and the platform you are using. Then you can use the existing 
> sqlite binary/library but all I/O occurs in memory.
> 
> When you want to persist, you just copy it to a hard disk...
> 
> D.
> 


Reply via email to