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

Re: cheaper snapshots redux

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: cheaper snapshots redux
Date: 2011-08-23 16:39:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> I think the real trick is figuring out a design that can improve
> concurrency.

I'm far from familiar with the detailed concepts here, but allow me to
comment.  I have two open questions:

 - is it possible to use a distributed algorithm to produce XIDs,
   something like Vector Clocks?

   Then each backend is able to create a snapshot (well, and XID) on its
   own, and any backend is still able to compare its snapshot to any
   other snapshot (well, XID)

 - is it possible to cache the production of the next snapshots so that
   generating an XID only means getting the next in a pre-computed

   My guess by reading the emails here is that we need to add some
   information at snapshot generation time, it's not just about getting
   a 32 bit sequence number.

I'm not sure I'm being that helpful here, but sometime stating the
obviously impossible ideas allows to think about some new design, so I
figured I would still try :)

Dimitri Fontaine     PostgreSQL : Expertise, Formation et Support

In response to


pgsql-hackers by date

Next:From: Sushant SinhaDate: 2011-08-23 16:40:20
Subject: text search: restricting the number of parsed words in headline generation
Previous:From: Robert HaasDate: 2011-08-23 16:39:20
Subject: Re: cheaper snapshots redux

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