From: | "Peter Childs" <peterachilds(at)gmail(dot)com> |
---|---|
To: | "Postgresql Performance" <pgsql-performance(at)postgresql(dot)org> |
Subject: | Slow Inserts on large tables |
Date: | 2008-10-03 07:25:42 |
Message-ID: | a2de01dd0810030025x2b28fee4o9505bed1689a6060@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
I have a problem where by an insert on a "large" table will sometimes
take longer than usual.
Usually the inserts are quick then from time to time they will take a
long time sometimes as much as 10seconds or longer. (But usually under
500ms which is when I start logging them)
The queries are slow drip fed so bulk loading really is not an option,
Its logging data. Used in analysis and for historical purposes mostly.
I think the problem might have something to do with checkpoints, I'm
relatively sure its not when the table expands as I've run a vacuum
verbose straight away after a longer insert and not found loads of
space in the fsm.
I'm using 8.3.1 (I thought I'd upgraded to 8.3.3 but it does not look
like the upgrade worked) I'm more than happy to upgrade just have to
find the down time (even a few seconds can be difficult)
Any help would be appreciated.
Regards
Peter Childs
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2008-10-03 08:22:05 | Re: Slow Inserts on large tables |
Previous Message | Віталій Тимчишин | 2008-10-02 15:21:59 | Re: Delete performance again |