gitlab-org--gitlab-foss/spec/lib/gitlab/database
Stan Hu e38938b332 Fix Error 500 viewing admin page due to statement timeouts
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
2018-05-16 08:27:48 -07:00
..
rename_reserved_paths_migration Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
count_spec.rb Fix Error 500 viewing admin page due to statement timeouts 2018-05-16 08:27:48 -07:00
grant_spec.rb Fix TRIGGER checks for MySQL 2017-11-06 23:34:07 +01:00
median_spec.rb Adapt cycle analytics spec helper and cycle analytics usage data spec 2018-03-01 16:43:26 +00:00
migration_helpers_spec.rb New migration helper for finding custom indexes 2018-03-28 14:12:08 +02:00
multi_threaded_migration_spec.rb Prepare for zero downtime migrations 2017-04-12 18:15:19 +02:00
sha_attribute_spec.rb [Rails5] Update type_cast_*_database methods 2018-04-06 10:57:19 +00:00