Skip site navigation (1) Skip section navigation (2)

reducing the overhead of frequent table locks, v4

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: reducing the overhead of frequent table locks, v4
Date: 2011-06-27 14:13:38
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
I didn't get a lot of comments on my the previous version of my patch
to accelerate table locks.

Here's a new version anyway.  In this version, I have:

1. Made pg_locks show fast-path locks as well as regular locks, with a
new Boolean column to distinguish.
2. Renamed fpLWLock to backendLock, on the belief that we're going to
want something like this for quite a bit more than just this one
3. Removed some debugging code.

Robert Haas
The Enterprise PostgreSQL Company

Attachment: fastlock-v4.patch
Description: application/octet-stream (74.2 KB)


pgsql-hackers by date

Next:From: Robert HaasDate: 2011-06-27 14:25:09
Subject: Re: libpq SSL with non-blocking sockets
Previous:From: Heikki LinnakangasDate: 2011-06-27 13:33:04
Subject: Optimizing box_penalty (Re: WIP: Fast GiST index build)

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group