lucky_pg_extras
Version, currently 0.2.02 versions
- 0.2.0latestAug 2, 2021
- 0.1.0not indexedAug 2, 2021
github.com/matthewmcgarvey/lucky_pg_extras
Crystal/Lucky PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
Installation
# Add this to your shard.yml
dependencies:
lucky_pg_extras:
github: matthewmcgarvey/lucky_pg_extras
version: ~> 0.2.0Then run:
shards installshard.yml
- Crystal
>= 1.0.0- License
- MIT
- Author
- Matthew McGarvey
Dependencies
Runtime Dependencies
- avram~> 0.20github: luckyframework/avram
- habitat~> 0.4.7github: luckyframework/habitat
- tallboy*github: epoch/tallboy, branch: master
- lucky_task~> 0.1github: luckyframework/lucky_task
README
Lucky PG Extras
Crystal port of Ruby PG Extras which is a Ruby port of Heroku PG Extras.
Installation
-
Add the dependency to your
shard.yml:dependencies: lucky_pg_extras: github: matthewmcgarvey/lucky_pg_extras -
Run
shards install -
Require the shard in
src/shards.crrequire "lucky_pg_extras" -
Set up the configuration in
config/lucky_pg_extras.crLuckyPgExtras.configure do |settings| settings.database = AppDatabase end
Some of the queries (e.g., calls and outliers) require pg_stat_statements extension enabled.
Usage
Running lucky -h should now show the pg_extras commands that are available.
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/matthewmcgarvey/lucky_pg_extras/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Matthew McGarvey - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- Aug 2, 2021
- Commit
0d71f01ccc5a- Crystal
>= 1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/matthewmcgarvey/lucky_pg_extras
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 2