pg_plan_guarantee
ottertune
pg_plan_guarantee | ottertune | |
---|---|---|
4 | 3 | |
83 | 1,123 | |
- | - | |
0.0 | 10.0 | |
almost 2 years ago | over 3 years ago | |
C | Python | |
PostgreSQL License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pg_plan_guarantee
-
Features I'd Like in PostgreSQL
For 4) I've heard there's this available https://github.com/DrPostgres/pg_plan_guarantee
-
Demystifying Database Performance for Developers
Shameless plug(s). To address both the problems you described, I have developed the following Postgres extensions.
Index Adviser can be used to automatically analyze your workload, and it will suggest the indexes that might help your queries perform better.
Postgres Plan Guarantee (under development) helps you generate+freeze a plan, and ensure that the Query Optimizer will never pick a different plan for your query.
Postgres Index Advisor: https://github.com/DrPostgres/pg_adviser
Postgres Plan Guarantee: https://github.com/DrPostgres/pg_plan_guarantee
- New extension: pg_plan_guarantee – Guarantee that your (query) plans will never change
- Show HN: Pg_plan_guarantee – Guarantee that your (query) plans will never change
ottertune
-
Tuning the Linux kernel with AI, according to ByteDance
The thing this most makes me think of is Ottertune, that the Carnegie Mellon DB group came up with several years ago for MySQL, https://github.com/cmu-db/ottertune, and eventually commercialised https://ottertune.com/ for MySQL and Postgres.
I keep thinking about this from a JVM perspective, there's so many settings you can tweak that can have such a drastic impact on performance, depending on your workload, that it seems likely there's some value in automated tuning. The main difficult there (from my probably naive perspective) is figuring out the right feedback loop.
-
Demystifying Database Performance for Developers
Does it work?
Seems it's a now a commercial enterprise that has sprung from a CMU DB group project. An old version's still on Github: https://github.com/cmu-db/ottertune
They also had Peloton, a "self-driving SQL database management system", that's a dead project now.
- Calculating query latency percentiles via MySQL performance schema (and why)
What are some alternatives?
plpgsql_check - plpgsql_check is a linter tool (does source code static analyze) for the PostgreSQL language plpgsql (the native language for PostgreSQL store procedures).
how-query-engines-work - This is the companion repository for the book How Query Engines Work.
pg_hint_plan - Extension adding support for optimizer hints in PostgreSQL
pg_adviser - Postgres' index adviser
ora2pg - Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
sqlite-gui - Lightweight SQLite editor for Windows
pg_jsonschema - PostgreSQL extension providing JSON Schema validation
pgaudit - PostgreSQL Audit Extension
peripheral-emulator-web-app - Svelte-based web app for emulating electronic peripheral devices
pg_ivm - IVM (Incremental View Maintenance) implementation as a PostgreSQL extension
gql-sql-pgq-pointers