Uses PostgreSQL tuple estimates to provide a much faster yet approximate count. See https://wiki.postgresql.org/wiki/Slow_Counting for more details. We only use this fast method if the table has been analyzed or vacuumed within the last hour. Closes #46255 |
||
|---|---|---|
| .. | ||
| rename_reserved_paths_migration | ||
| arel_methods.rb | ||
| count.rb | ||
| date_time.rb | ||
| grant.rb | ||
| median.rb | ||
| migration_helpers.rb | ||
| multi_threaded_migration.rb | ||
| read_only_relation.rb | ||
| sha_attribute.rb | ||