From: | Ants Aasma <ants(at)cybertec(dot)at> |
---|---|
To: | Greg Stark <stark(at)mit(dot)edu> |
Cc: | Ants Aasma <ants(at)cybertec(dot)at>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Proposal for CSN based snapshots |
Date: | 2013-06-07 12:54:16 |
Message-ID: | CA+CSw_utvZdR1QZ318xcDAK5-S0ghAdzLJH0kGM5oX1Np7KVaw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jun 7, 2013 at 3:47 PM, Greg Stark <stark(at)mit(dot)edu> wrote:
> On Thu, Jun 6, 2013 at 11:42 PM, Ants Aasma <ants(at)cybertec(dot)at> wrote:
>> To refresh your memory the basic idea is to change visibility
>> determination to be based on a commit sequence number (CSN for short)
>> - a 8 byte number incremented on every commit representing the total
>> ordering of commits
>
> I think we would just use the LSN of the commit record which is
> effectively the same but doesn't require a new counter.
> I don't think this changes anything though.
I briefly touched on that point in the Hot Standby section. This has
some consequences for locking in CommitTransaction, but otherwise LSN
is as good as any other monotonically increasing value.
Regards,
Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2013-06-07 13:10:20 | Re: system catalog pg_rewrite column ev_attr document description problem |
Previous Message | Ants Aasma | 2013-06-07 12:50:31 | Re: Proposal for CSN based snapshots |