On 25.06.2011 10:20, edoardo falzetti wrote: > My application treats a great amount of data and my code needs to be optimized > for speed. > Only a small amount of such data reside on the DISqlite3 db but they could be > accessed rather often. > I was thinking to use two databases: a permanent one on file and a copy of it > in > memory. > To do so i need a function to load into the memory database at program start > and > to save into the database on disk at program close. I believe that this should answer your questions: //www.freelists.org/post/yunqa/DISQLite3-Load-to-Memory,2 Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa