Re: slow dropping of tables, DropRelFileNodeBuffers, tas

Поиск
Список
Период
Сортировка
От Sergey Koposov
Тема Re: slow dropping of tables, DropRelFileNodeBuffers, tas
Дата
Msg-id alpine.LRH.2.02.1205311849370.6351@calx046.ast.cam.ac.uk
обсуждение исходный текст
Ответ на Re: slow dropping of tables, DropRelFileNodeBuffers, tas  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: slow dropping of tables, DropRelFileNodeBuffers, tas  (Jeff Janes <jeff.janes@gmail.com>)
Re: slow dropping of tables, DropRelFileNodeBuffers, tas  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Thu, 31 May 2012, Simon Riggs wrote:

>
> That struck me as a safe and easy optimisation. This was a problem I'd
> been trying to optimise for 9.2, so I've written a patch that appears
> simple and clean enough to be applied directly.

Thanks! The patch indeed improved the timings, 
The dropping of 100 tables in a single commit before the patch took ~ 50 
seconds, now it takes ~ 5 sec (it would be nice to reduce it further 
though, because the dropping of 10000 tables still takes ~10 min).

Cheers,    S

*****************************************************
Sergey E. Koposov, PhD, Research Associate
Institute of Astronomy, University of Cambridge
Madingley road, CB3 0HA, Cambridge, UK
Tel: +44-1223-337-551 Web: http://www.ast.cam.ac.uk/~koposov/


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Create collation incorrect error code
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Issues with MinGW W64