Hello,

I am creating a db in tmpfs with following PRAGMA settings:
PRAGMA encoding = "UTF-8";
PRAGMA default_cache_size = 4000;
PRAGMA synchronous = OFF;
PRAGMA temp_store = MEMORY;
PRAGMA journal_mode = OFF;

I am creating four tables on the run and inserting 8000 records in  two of 
these tables ( 4000 each ) and it is taking around 21 seconds(on an average). 
The records contain metadata information of audio files along with file stat 
info. When tmpfs is not used, the time taken is almost same.

Please note that all the two tables that are getting populated are indexed :
Table 1 is having 1 string Index
Table 2 is having 2 string index

The insertion is done under BEGIN IMMEDIATE transaction.(100 records at a time) 
under a single thread.

Pl. suggest why I am not able to get any performance gain for tmpfs?

Thanks and Regards,
Souvik


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

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

Reply via email to