pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <srkrishna@yahoo.com>
To: " <pgsql-general@postgresql.org>
Subject: Re: Autovacuum of independent tables
Date: Tue, 08 Sep 2020 06:52:10 -0400
Message-ID: <D0B59B50-5225-4FB4-B877-FF3669DF1CC5@yahoo.com> (raw)
In-Reply-To: <CAPNViJoV+Bpgja8vEES2dnes-aHSbm_vxQZcmWOi+ZbrK2JhqA@mail.gmail.com>
References: <CAPNViJrQFge6EW_dvwaLB8pjRq4K51vnvcYBPNb8SuTW88MrBw@mail.gmail.com>
	<CAFj8pRD1=CUAhixyP5CGGsc=GOHFWX3oM22WFU6KnH1CAqN2YQ@mail.gmail.com>
	<CAPNViJrFNA8xiEgFeDoZ1GVKndx-MQXsES0Lg2hzrkNohzfJSA@mail.gmail.com>
	<20200908082755.GI19261@paquier.xyz>
	<CAPNViJo0eRP10-e0VRVgzh2xPobay5FpY2z5OOSLS_-jtasVRg@mail.gmail.com>
	<CAFj8pRCH_P5YJZaLad1kTw-boGd=PGhY73BR=awLqpGtw3=0zg@mail.gmail.com>
	<CAPNViJoV+Bpgja8vEES2dnes-aHSbm_vxQZcmWOi+ZbrK2JhqA@mail.gmail.com>

This is the problem. A and B were developed for Oracle where SELECT does not open a transaction. We moved them to PG 
and now we have to very accurately add COMMITs without breaking the flow. It is quite a complex thing. I hoped we can 
avoid that.

 

Interesting. Are you telling the Oracle version of the code had no intermittent COMMIT and relied on one
final COMMIT at the end. Even in Oracle developers must have planned for commit since a long running 
open transaction can lead to “snapshot too old” error.

view thread (24+ messages)  latest in thread

Message-ID: <D0B59B50-5225-4FB4-B877-FF3669DF1CC5@yahoo.com>
Permalink:  ../D0B59B50-5225-4FB4-B877-FF3669DF1CC5@yahoo.com/
Also on:    postgresql.org/message-id/D0B59B50-5225-4FB4-B877-FF3669DF1CC5@yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: srkrishna@yahoo.com
  Subject: Re: Autovacuum of independent tables
  In-Reply-To: <D0B59B50-5225-4FB4-B877-FF3669DF1CC5@yahoo.com>
  References: <CAPNViJrQFge6EW_dvwaLB8pjRq4K51vnvcYBPNb8SuTW88MrBw@mail.gmail.com> <CAFj8pRD1=CUAhixyP5CGGsc=GOHFWX3oM22WFU6KnH1CAqN2YQ@mail.gmail.com> <CAPNViJrFNA8xiEgFeDoZ1GVKndx-MQXsES0Lg2hzrkNohzfJSA@mail.gmail.com> <20200908082755.GI19261@paquier.xyz> <CAPNViJo0eRP10-e0VRVgzh2xPobay5FpY2z5OOSLS_-jtasVRg@mail.gmail.com> <CAFj8pRCH_P5YJZaLad1kTw-boGd=PGhY73BR=awLqpGtw3=0zg@mail.gmail.com> <CAPNViJoV+Bpgja8vEES2dnes-aHSbm_vxQZcmWOi+ZbrK2JhqA@mail.gmail.com> <D0B59B50-5225-4FB4-B877-FF3669DF1CC5@yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox