Обсуждение: pgsql: Teach pgstat_vacuum_stat to not bother scanning pg_proc in the

Поиск
Список
Период
Сортировка

pgsql: Teach pgstat_vacuum_stat to not bother scanning pg_proc in the

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Teach pgstat_vacuum_stat to not bother scanning pg_proc in the common case
where no function stats entries exist.  Partial response to Pavel's
observation that small VACUUM operations are noticeably slower in CVS HEAD
than 8.3.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        pgstat.c (r1.184 -> r1.185)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c?r1=1.184&r2=1.185)