From: | Sergey Koposov <koposov(at)ast(dot)cam(dot)ac(dot)uk> |
---|---|
To: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
Cc: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: slow dropping of tables, DropRelFileNodeBuffers, tas |
Date: | 2012-05-31 18:09:17 |
Message-ID: | alpine.LRH.2.02.1205311849370.6351@calx046.ast.cam.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-05-31 18:13:17 | Re: Issues with MinGW W64 |
Previous Message | Magnus Hagander | 2012-05-31 18:08:16 | Create collation incorrect error code |