Skip to content
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

Bring in PG extras #1077

Open
jwoertink opened this issue Jan 3, 2025 · 2 comments
Open

Bring in PG extras #1077

jwoertink opened this issue Jan 3, 2025 · 2 comments

Comments

@jwoertink
Copy link
Member

This shard is nice https://github.com/matthewmcgarvey/lucky_pg_extras

but what would be even nicer is if you could just do

AppDatabase.query_bloat
AppDatabase..query_index_size
AppDatabase..query_unused_indexes

Then Breeze could add an extension out of the box to view these stats. Granted, that wouldn't really help you in production, but a few of these could be useful in development to catch some things. It would still give you an API to create your own production reporting.

@robacarp
Copy link
Contributor

robacarp commented Jan 6, 2025

Should that live in Breeze itself, rather than in avram?

@jwoertink
Copy link
Member Author

Yeah, it would live in breeze in that case. Avram would just supply the API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants