Re: [HACKERS] ToDo: no blocking (waiting) DDL

2016-12-13 Thread Pavel Stehule
2016-12-13 13:03 GMT+01:00 Alvaro Herrera :

> Pavel Stehule wrote:
> > Hi
> >
> > I don't remember well, there was maybe similar ToDo.
> >
> > Yesterday I got a incident on high load system when I executed DROP INDEX
> > cmd.
> >
> > This statement waited on a finish of long transaction, but it stopped any
> > other statements.
> >
> > Can be nice when waiting on lock statement doesn't block another
> > statements.
>
> https://postgr.es/m/CAKddOFDz0+F2uspVN5BZgtN7Wp+
> vqbeluqpwfvgwap5jzvx...@mail.gmail.com


yes, it is it. Can be applied on some DDL statements too.

Thank you

regards

Pavel


>
>
> --
> Álvaro Herrerahttps://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>


Re: [HACKERS] ToDo: no blocking (waiting) DDL

2016-12-13 Thread Alvaro Herrera
Pavel Stehule wrote:
> Hi
> 
> I don't remember well, there was maybe similar ToDo.
> 
> Yesterday I got a incident on high load system when I executed DROP INDEX
> cmd.
> 
> This statement waited on a finish of long transaction, but it stopped any
> other statements.
> 
> Can be nice when waiting on lock statement doesn't block another
> statements.

https://postgr.es/m/cakddofdz0+f2uspvn5bzgtn7wp+vqbeluqpwfvgwap5jzvx...@mail.gmail.com

-- 
Álvaro Herrerahttps://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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


[HACKERS] ToDo: no blocking (waiting) DDL

2016-12-13 Thread Pavel Stehule
Hi

I don't remember well, there was maybe similar ToDo.

Yesterday I got a incident on high load system when I executed DROP INDEX
cmd.

This statement waited on a finish of long transaction, but it stopped any
other statements.

Can be nice when waiting on lock statement doesn't block another
statements.

Regards

Pavel