pgsql: Improve performance of find_tabstat_entry()/get_tabstat_entry()
pgsql: 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/ Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/090010f2ec9b1f9ac1124dc628b89586f911b641 Modified Files -------------- src/backend/postmaster/pgstat.c | 139 +++++++++++++++++++++++++++------------- 1 file changed, 93 insertions(+), 46 deletions(-)