← Graph

estimate_count gem

project 3 connections

Small Ruby gem by Krzysztof Hasiński that wraps Postgres' EXPLAIN-based row-count estimation, exposing `estimate_count` as a drop-in alternative to `count`. Unlike some existing gems that solve the same problem, it does not require migrations.

status
active
license
open-source
project estimate_count gem
uses
PostgreSQL tool
Gem leverages Postgres EXPLAIN statistics for fast count estimation.
project estimate_count gem
uses
Implemented on top of EXPLAIN's row-count estimate.
works_on
estimate_count gem project
Wrote the gem exposing EXPLAIN-based estimate_count; 'shameless plug' in the talk.
role: author

Provenance

Read by
4 extractions