Re: Postgres Replaying WAL slowly - Mailing list pgsql-performance

From Andres Freund
Subject Re: Postgres Replaying WAL slowly
Date
Msg-id 20140630201523.GV26930@awork2.anarazel.de
Whole thread Raw
In response to Re: Postgres Replaying WAL slowly  (Jeff Frost <jeff@pgexperts.com>)
Responses Re: Postgres Replaying WAL slowly
List pgsql-performance
On 2014-06-30 12:57:56 -0700, Jeff Frost wrote:
>
> On Jun 30, 2014, at 12:54 PM, Matheus de Oliveira <matioli.matheus@gmail.com> wrote:
>
> >
> > On Mon, Jun 30, 2014 at 4:42 PM, Jeff Frost <jeff@pgexperts.com> wrote:
> > And if you go fishing in pg_class for any of the oids, you don't find anything:
> >
> > That is probably because you are connected in the wrong database. Once you connect to the database of interest, you
don'teven need to query pg_class, just cast relation attribute to regclass: 
> >
> >     SELECT relation::regclass, ...
> >     FROM pg_locks WHERE database = (SELECT oid FROM pg_database WHERE datname = current_database());
> >
>
> Yah, i thought about that too, but verified I am in the correct DB.  Just for clarity sake:

So these are probably relations created in uncommitted
transactions. Possibly ON COMMIT DROP temp tables?

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-performance by date:

Previous
From: Jeff Frost
Date:
Subject: Re: Postgres Replaying WAL slowly
Next
From: Jeff Frost
Date:
Subject: Re: Postgres Replaying WAL slowly