Table lock on SET STATISTICS

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Table lock on SET STATISTICS
Дата
Msg-id 200409231159.20267.josh@agliodbs.com
обсуждение исходный текст
Список pgsql-hackers
Folks,

Just noticed -- the hard way -- that running ALTER TABLE ... SET STATISTICS 
requires a full table lock.    I can't think of any practical reason why SET 
STATISTICS would need to lock the table; presumably this is just because it's 
an ALTER TABLE statement?    If so, maybe we should consider a method of SET 
STATISTICS which does not require a table lock?   The current functionality 
makes it very hard to test statistics levels on a production machine.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: SQL-Invoked Procedures for 8.1
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: SQL-Invoked Procedures for 8.1