C # database access SQLLite low efficiency

      Yesterday When a project database access SQLLite changed from SQL Server 2005 database and found that read and write speed of the database becomes surprisingly Mana, originally in a transaction in SQL Server 2005 may be 1S is complete, and in the after the change you need to access SQLLite 5,6S really can not accept the ah. But as in SQLLite the database structure and SQLServer in the ah, but will visit the SQL Server 2005 database access layer were promised only small changes ah. All database access statement is also very simple ah, database table structure is very simple, there is usually a table about 10 fields, the current amount of data in the database is not large, it is only a few hundred pieces of data, that is, we do operate query, insert, delete it, and try to optimize the use of SQL, which is generally single-table operation, but also to avoid using select * from this search, table joins also use the inner join. I feel rather strange, because the survey, please help heroes pointing.

Reproduced in: https: //www.cnblogs.com/kevinGao/archive/2012/06/18/2555415.html

Guess you like

Origin blog.csdn.net/weixin_33874713/article/details/93342849