Search Postgresql Archives

Re: pg_restore encounter deadlock since PostgreSQL bringing up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



zh1029 <zh1029@xxxxxxxx> writes:
> Unfortunately what's the process 2720 is unknown as no any else log to
> indicate it. It might because the debug level of PostgreSQL had been set too
> lower to show more.

The query you quoted for 2720 looks exactly like one that pg_dump will
issue, cf dumpSequence().  What I think is going on here is that you've
got some cron job that aggressively connects to the database and runs a
pg_dump the moment you start it.  It's unsurprising that that would
deadlock against a pg_restore -C.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux