Can SQLite handle 90 million records?

前端 未结 8 2178
故里飘歌
故里飘歌 2020-12-04 10:50

Or should I use a different hammer to fix this problem.

I\'ve got a very simple use-case for storing data, effectively a sparse matrix, which I\'ve attempted to stor

相关标签:
8条回答
  • 2020-12-04 11:46

    Are you inserting all of the 800 elements at once? If you are, doing the inserts within a transaction will speed up the process dramatically.

    See http://www.sqlite.org/faq.html#q19

    SQLite can handle very large databases. See http://www.sqlite.org/limits.html

    0 讨论(0)
  • 2020-12-04 11:46

    When building large SQLite databases, always insert as much of the data as you can before creating the indices. That will run many times faster than if you create the indices before inserting the data.

    0 讨论(0)
提交回复
热议问题