pgsql: Replace the KnownAssignedXids hash table with a sorted-array data

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Replace the KnownAssignedXids hash table with a sorted-array data
Date: 2010-04-28 00:09:05
Message-ID: 20100428000905.548927541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Replace the KnownAssignedXids hash table with a sorted-array data structure,
and be more tense about the locking requirements for it, to improve performance
in Hot Standby mode. In passing fix a few bugs and improve a number of
comments in the existing HS code.

Simon Riggs, with some editorialization by Tom

Modified Files:
--------------
pgsql/src/backend/access/transam:
twophase.c (r1.60 -> r1.61)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/twophase.c?r1=1.60&r2=1.61)
pgsql/src/backend/storage/ipc:
procarray.c (r1.66 -> r1.67)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.66&r2=1.67)

Browse pgsql-committers by date

  From Date Subject
Next Message Takahiro Itagaki 2010-04-28 00:29:16 pgsql: Add CP949 as an alias for UHC encoding.
Previous Message Alvaro Herrera 2010-04-27 23:28:29 Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct