in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

SQLite optimization

Last post 08-31-2010 11:55 AM by sunshine. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-31-2010 4:34 AM

    SQLite optimization

    I consider to use System.Data.SQLite in a desktop application to persist my model. I plan to load all data to model classes when the user opens a project and write it again when the user saves it. I will write all data and not just the delta that changed (since it is hard for me to tell). The data may contain thousands of rows which I will need to insert. I am afraid that consecutive insertion of many rows will be slow (and a preliminary tests proves it). Are there any optimization best practices / tricks for such a scenario?
  • 08-31-2010 11:55 AM In reply to

    Re: SQLite optimization

    Perhaps read Robert's article detailing fast bulk insertion: http://sqlite.phxsoftware.com/forums/t/134.aspx
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems