summaryrefslogtreecommitdiff
path: root/lib/gitlab/database/count.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable tablesample count strategy by defaultAndreas Brandl2019-07-241-7/+5
* Use approximate counts for big tablesJan Provaznik2018-12-061-1/+1
* Move strategies in their own filesAndreas Brandl2018-12-031-155/+0
* Fix comment.Andreas Brandl2018-12-031-1/+1
* Refactor estimate queryAndreas Brandl2018-12-031-19/+18
* Fix rubocop offenses.Andreas Brandl2018-12-031-3/+5
* Add feature flag for tablesample counting.Andreas Brandl2018-12-031-0/+4
* Implement TablesampleCountStrategy.Andreas Brandl2018-12-031-20/+108
* More specs for fallback testing.Andreas Brandl2018-12-031-0/+3
* Refactor specs to separate concerns.Andreas Brandl2018-12-031-9/+1
* Flexible approximate counts with fallback strategies.Andreas Brandl2018-12-031-14/+18
* Simplify to use models instead of tables.Andreas Brandl2018-12-031-23/+23
* Add ExactCountStrategy.Andreas Brandl2018-12-031-0/+13
* Extract ReltuplesCountStrategy.Andreas Brandl2018-12-031-20/+37
* Enable even more frozen string in lib/gitlabgfyoung2018-11-061-0/+2
* Fix fast admin counters not working when PostgreSQL has secondariessh-fix-admin-page-counts-take-2Stan Hu2018-05-251-17/+55
* Fix Error 500 viewing admin page due to statement timeoutsStan Hu2018-05-161-0/+48