The SQLite Index Suggester
sqlite.org
The SQLite Index Suggester
1–10 of 26 posts
Re: The SQLite Index Suggester
#2I've sometimes wondered why server-based RDBMSs don't offer something like this. Is it too hard to implement? Or did people just not think of it? Or do they have something like this and I just never learned about it?
Re: The SQLite Index Suggester
#3This sounds really cool! I've sometimes wondered why server-based RDBMSs don't offer something like this. Is it too hard to implement? Or did people just not think of it? Or do they have something like this and I just never learned about it?
Re: The SQLite Index Suggester
#4Re: The SQLite Index Suggester
#5This sounds really cool! I've sometimes wondered why server-based RDBMSs don't offer something like this. Is it too hard to implement? Or did people just not think of it? Or do they have something like this and I just never learned about it?
Microsoft SQL Server definitely has suggestions for missing indexes. The quality of the suggestions are debatable though
Re: The SQLite Index Suggester
#6This sounds really cool! I've sometimes wondered why server-based RDBMSs don't offer something like this. Is it too hard to implement? Or did people just not think of it? Or do they have something like this and I just never learned about it?
Microsoft SQL Server definitely has suggestions for missing indexes. The quality of the suggestions are debatable though
Re: The SQLite Index Suggester
#7This sounds really cool! I've sometimes wondered why server-based RDBMSs don't offer something like this. Is it too hard to implement? Or did people just not think of it? Or do they have something like this and I just never learned about it?
Microsoft SQL Server definitely has suggestions for missing indexes. The quality of the suggestions are debatable though
Re: The SQLite Index Suggester
#8This sounds really cool! I've sometimes wondered why server-based RDBMSs don't offer something like this. Is it too hard to implement? Or did people just not think of it? Or do they have something like this and I just never learned about it?
Re: The SQLite Index Suggester
#9https://www.depesz.com/2021/10/22/why-is-it-hard-to-automati...
Re: The SQLite Index Suggester
#10I did something similar for a NoSQL database [1]. The biggest surprise was how much the query performance can change for an index when the data distribution changes slightly. For example using a real distribution for an 'age' field instead of just using a random number like in the test data. [1] https://rxdb.info/query-optimizer.html
Integer "age" has many repeats, but random floats are unique. That, or random ints might be from a large pool, again not many repeats.