Обсуждение: [HACKERS] ToDo: no blocking (waiting) DDL

Поиск
Список
Период
Сортировка

[HACKERS] ToDo: no blocking (waiting) DDL

От
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

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

От
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+vQbeLuQPWfvGwap5JZvXPxQ@mail.gmail.com

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



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

От
Pavel Stehule
Дата:


2016-12-13 13:03 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:
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+vQbeLuQPWfvGwap5JZvXPxQ@mail.gmail.com

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

Thank you

regards

Pavel
 


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