Improve performance of find_tabstat_entry()/get_tabstat_entry()
Teodor Sigaev <teodor@sigaev.ru>
Improve performance of find_tabstat_entry()/get_tabstat_entry() Patch introduces a hash map reloid -> PgStat_TableStatus which improves performance in case of large number of tables/partitions. Author: Aleksander Alekseev Reviewed-by: Andres Freund, Anastasia Lubennikova, Tels, me https://commitfest.postgresql.org/13/1058/
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/pgstat.c | modified | +93 −46 |