pgsql: Relax locking during GetCurrentVirtualXIDs().

Поиск
Список
Период
Сортировка
От sriggs@postgresql.org (Simon Riggs)
Тема pgsql: Relax locking during GetCurrentVirtualXIDs().
Дата
Msg-id 20100421190814.C3EBD7541D0@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Relax locking during GetCurrentVirtualXIDs(). Earlier improvements
to handling of btree delete records mean that all snapshot
conflicts on standby now have a valid, useful latestRemovedXid.
Our earlier approach using LW_EXCLUSIVE was useful when we didnt
always have a valid value, though is no longer useful or necessary.
Asserts added to code path to prove and ensure this is the case.
This will reduce contention and improve performance of larger Hot
Standby servers.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.64 -> r1.65)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.64&r2=1.65)
        standby.c (r1.16 -> r1.17)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/standby.c?r1=1.16&r2=1.17)

В списке pgsql-committers по дате отправления:

Предыдущее
От: sriggs@postgresql.org (Simon Riggs)
Дата:
Сообщение: pgsql: Fix oversight in collecting values for cleanup_info records.
Следующее
От: sriggs@postgresql.org (Simon Riggs)
Дата:
Сообщение: pgsql: Only send cleanup_info messages if VACUUM removes any tuples.