read transaction and sync rep - Mailing list pgsql-hackers

From Fujii Masao
Subject read transaction and sync rep
Date
Msg-id CAHGQGwHDQDtaePpgYtfcfhQgXmdy5Km68sPHf5FVxMbkex3i2Q@mail.gmail.com
Whole thread Raw
Responses Re: read transaction and sync rep  (Simon Riggs <simon@2ndQuadrant.com>)
List 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


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: replay_location indicates incorrect location
Next
From: Simon Riggs
Date:
Subject: Re: read transaction and sync rep