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

read transaction and sync rep

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: read transaction and sync rep
Date: 2012-01-13 11:30:21
Message-ID: CAHGQGwHDQDtaePpgYtfcfhQgXmdy5Km68sPHf5FVxMbkex3i2Q@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

I found that even read transaction waits for sync rep when it generates
WAL records even if XID is not assigned. For example, imagine the case
where SELECT query does a heap clean operation and generates
XLOG_HEAP2_CLEAN record. ISTM that such a read transaction doesn't
need to wait for sync rep because that's not visible to the client... Can
we skip waiting for sync rep if XID is not assigned?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Responses

pgsql-hackers by date

Next:From: Simon RiggsDate: 2012-01-13 11:44:35
Subject: Re: read transaction and sync rep
Previous:From: Simon RiggsDate: 2012-01-13 11:09:42
Subject: Re: replay_location indicates incorrect location

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