Static snapshot data

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: pgsql-patches(at)postgresql(dot)org
Subject: Static snapshot data
Date: 2003-05-09 16:10:18
Message-ID: cbjnbvo583gl265d6gqvse8g31r6o8720v@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Up to now, SerializableSnapshot and QuerySnapshot are malloc'ed and
free'd for every transaction or statement, respectively. This patch
puts these data structures into static memory, thus saving a few CPU
cycles and two malloc calls per transaction or (in isolation level
READ COMMITTED) per query.

Servus
Manfred

Attachment Content-Type Size
unknown_filename text/plain 3.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-05-09 16:34:47 Re: rint() replacement
Previous Message scott.marlowe 2003-05-09 16:01:35 Re: CIDR in pg_hba.conf

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-05-10 03:08:38 Re: Static snapshot data
Previous Message Ian Barwick 2003-05-09 00:49:04 psql: tab completion for \encoding