Recently I ran a EXPLAIN ANALYZE
in my database that is fairly large, about 800,000 records in some tables, and I noticed that the indexing methods adopted were not the best. I've always let the bank decide how best to index the records, but I've noticed that it's a common mistake to choose the method, so:
-
Are there good practices for indexing files in the database?
-
Knowing my data set, how can I know which one is the best indexing technique?
-
Are there tools besides the DB itself that can help me?