pgsql: Reduce the default size of the local lock hash table.

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Reduce the default size of the local lock hash table.
Дата
Msg-id 20041120201656.453A13A4DD7@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Reduce the default size of the local lock hash table.  There's usually
no need for it to be nearly as big as the global hash table, and since
it's not in shared memory it can grow if it does need to be bigger.
By reducing the size, we speed up hash_seq_search(), which saves a
significant fraction of subtransaction entry/exit overhead.

Modified Files:
--------------
    pgsql/src/backend/storage/lmgr:
        lock.c (r1.143 -> r1.144)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lock.c.diff?r1=1.143&r2=1.144)

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix plperl's elog() function to convert elog(ERROR) into Perl
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Avoid scanning the relcache during AtEOSubXact_RelationCache when