From: Andres Freund <andres@anarazel.de>
To: Nasby, Jim <nasbyj@amazon.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Maxim Boguk <maxim.boguk@gmail.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: Jeremy Finzel <finzelj@gmail.com>
Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
Date: Sun, 27 May 2018 10:02:13 -0700
Message-ID: <D670D841-C88B-4D28-B852-16ABBDBA5F88@anarazel.de> (raw)
In-Reply-To: <842C9FB7-B9FB-43B9-AF28-9C5324F23ED8@amazon.com>
References: <20180524205820.quhhnn3n2ag5yryb@alap3.anarazel.de>
<20180524211311.tnswfnjwnii54htx@alvherre.pgsql>
<20180525203736.crkbg36muzxrjj5e@alap3.anarazel.de>
<15665.1527284857@sss.pgh.pa.us>
<20180525220531.43ia22l2d3jspbng@alap3.anarazel.de>
<20180526204506.ql5pesq6t2jbpuy5@alap3.anarazel.de>
<842C9FB7-B9FB-43B9-AF28-9C5324F23ED8@amazon.com>
On May 27, 2018 9:39:49 AM PDT, "Nasby, Jim" <nasbyj@amazon.com> wrote:
>On May 26, 2018, at 1:45 PM, Andres Freund <andres@anarazel.de> wrote:
>> Does anybody see a way to not have to remove the .init file?
>
>How about only keeping the critical info for being able to find
>relations in the .init files, and then fully populate the cache by
>doing a normal lookup? Since there’s multiple entries needed to
>bootstrap things I guess there’d need to be a flag in relcache to
>indicate that an existing entry wasn’t fully formed.
Then the cache wouldn't have any benefits, no? It's been a while, but last time I checked it does make quite a measurable performance difference in a new backend.
Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
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: andres@anarazel.de, nasbyj@amazon.com, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, pgsql-hackers@postgresql.org, maxim.boguk@gmail.com, pg@bowt.ie, finzelj@gmail.com
Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
In-Reply-To: <D670D841-C88B-4D28-B852-16ABBDBA5F88@anarazel.de>
References: <20180524205820.quhhnn3n2ag5yryb@alap3.anarazel.de> <20180524211311.tnswfnjwnii54htx@alvherre.pgsql> <20180525203736.crkbg36muzxrjj5e@alap3.anarazel.de> <15665.1527284857@sss.pgh.pa.us> <20180525220531.43ia22l2d3jspbng@alap3.anarazel.de> <20180526204506.ql5pesq6t2jbpuy5@alap3.anarazel.de> <842C9FB7-B9FB-43B9-AF28-9C5324F23ED8@amazon.com> <D670D841-C88B-4D28-B852-16ABBDBA5F88@anarazel.de>
* 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