From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | avinash varma <avinashvarma443(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org |
Subject: | Re: Too many waits on extension of relation |
Date: | 2020-10-06 03:37:10 |
Message-ID: | 92770fc0cb438632f80ebc900d541f98556428f8.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Mon, 2020-10-05 at 10:32 +0530, avinash varma wrote:
> Can someone please guide me how to improve/reduce these wait events.
>
> Postgres Version:9.5
>
> LOG: process 3718 still waiting for ExclusiveLock on extension of relation 266775 of database 196511 after 1000.057 ms
> Detail: Process holding the lock: 6423. Wait queue: 3718, 4600, 2670, 4046.
> Context: SQL statement "INSERT INTO cms_c207c1e2_0ce7_422c_aafb_77d43f61e563.cms_item [...]
Process 6423 is holding a lock on the table into which you'd like to INSERT
that blocks several other sessions.
Make sure that the transaction in this database session ends, e.g. by
SELECT pg_cancel_backend(6423);
Either there is a session that did not close its transaction (coding bug),
or a database statement ran inordinately long.
Yours,
Laurenz Albe
--
+43-670-6056265
CYBERTEC PostgreSQL International GmbH
Gröhrmühlgasse 26, A-2700 Wiener Neustadt
Web: https://www.cybertec-postgresql.com
From | Date | Subject | |
---|---|---|---|
Next Message | avinash varma | 2020-10-06 03:59:08 | Re: Too many waits on extension of relation |
Previous Message | MichaelDBA | 2020-10-05 18:03:05 | Re: Too many waits on extension of relation |