Categories: None [Edit]

pg_canary

https://rubygems.org/gems/pg_canary
https://github.com/kyuuri1791/pg_canary
pg_canary watches queries executed in development/test, parses them with PostgreSQL's own parser (pg_query), and combines the AST with schema metadata (indexes, column types) to warn about anti-patterns that can become slow queries in production: leading-wildcard LIKEs, function-wrapped columns in WHERE, ORDER BY RANDOM(), NOT IN (SELECT ...), and more.

Total

Ranking: 168,007 of 195,377
Downloads: 2,952

Daily

Ranking: 31,501 of 195,357
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,391,547,445activesupport
36814,922,050activerecord
82267,763,070pg_query

Owners

#GravatarHandle
1iconkyuuri1791