-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TODO / Ideas #1
Comments
This is great! Thank you. |
+1 for multi-column indexes, as this would cover a significant amount of our existing index definitions. Would love to use Dexter to validate certain assumptions, but probably can't until that goes in. |
What about partial indexes - especially for low cardinality fields? You could use pg_statistics to help with that. I haven't checked if these are supported as suggestions but I am guessing not yet? |
Hi @ankane, Great work so far on pghero and dexter, thanks :) Thanks, |
@ankane does it support creating indexes when queries only use views? I have a particular system where almost all user queries are pointed to views, thus of course indexes can only apply to the tables underneath. This would be very useful. |
@jfinzel Just added support for views and materialized views. |
@ankane now that I am finding this working, I have another thought. It would be nice to run this and save the query_id, initial cost, pass costs, sql and suggested index. The reason is for additional analysis - I want to see how many queries end up suggesting the same index before creating one. It already is very useful as-is, but would be a "nice to have" to have something like an output format that I could save itself into a db table and run some sampling on. |
+1 for "non-BTREE indexes", specifically GiST! @ankane This is amazing work, I wish I could already use Dexter to GiST index my PostGIS databases. The potential to improve the performance of OpenStreetMap and other map services would be enormous! Specifically, it would be great to have Dexter suggest indexes like this one from OpenStreetMap:
|
Specify a tablespace for indexes created by Dexter. Beneficial for setups with multiple mounted disks where you may have access to something like very fast NVMe drives. |
Is there support for AWS RDS running PostgreSQL yet? |
@brightball fwiw, just released a @cpj95 See the instructions in the readme for how to use Dexter with Amazon RDS. |
0.4.0
Ideas
dexter
schema)Big ideas
Full index management
drop_unused
branch (have to be careful with replicas)The text was updated successfully, but these errors were encountered: