sqlite3 - can sqlite load 10M data into the memory -


If this is possible, then how?

I can not read the writing in the slit

thanks

< P> Yes.

The size of the default page size in pages in SQLite load data is 1024 bytes. You can change the page size using this command.

  PRAGMA page_size = bytes;  

But before creating the database you have to do this (or in 3.5.8, you can change this by running a vacuum after issuing new page size programmers).

The cache is based on the number of pages the default cache size is 2000 page, you can change it by using this command.

  PRAGMA cache_size = Number of pages;  

To store 10 MB of data in memory, either increase the page size to 5120 or increase the cache size to 10000.

Here's more information on the progames.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -