plain inserts and deletes very slow - Mailing list pgsql-performance

From Enrico Weigelt
Subject plain inserts and deletes very slow
Date
Msg-id 20050703224537.GA9777@nibiru.borg.metux.de
Whole thread Raw
Responses Re: plain inserts and deletes very slow  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Re: plain inserts and deletes very slow  (Enrico Weigelt <weigelt@metux.de>)
List pgsql-performance
Hi folks,


my application reads and writes some table quite often
(multiple times per second). these tables are quite small
(not more than 20 tuples), but the operations take quite a
long time (>300 ms!).

The query operations are just include text matching (=) and
date comparison (<,>).

I wasn't yet able to track down, if all these queries take
sucha long time or just sometimes. When running them manually
or trying explain, evrything's fast. Probably there could be
some side effects with other concurrent quries.


Could anyone give me advice ?


cu
--
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
---------------------------------------------------------------------
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
                                            http://www.fxignal.net/
---------------------------------------------------------------------

pgsql-performance by date:

Previous
From: Enrico Weigelt
Date:
Subject: Re: investigating slow queries through pg_stat_activity
Next
From: "Steinar H. Gunderson"
Date:
Subject: Re: plain inserts and deletes very slow