I have a table holding some data about some entities. When I had 250,000 entities sqlite3 worked reasonably fast, but after adding 100k more (so now i have 350k entities in one table), it significantly slowed down (at least 2-3 times slower!).
What could be the cause, and how can I overcome that? Note: I intend to add a few million entities to the table.
a tiny update: Now that I've made some queries, it is reasonably fast again,even after closing sqlite3 and the shell... I find that a bit weird, and I'm not too sure if it's because there's something loaded to my RAM, hard drive's cache or some sqlite's own database internal representation (db file) has changed because of my queries...Info on that will be useful as well.