X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D109C52846 for ; Sun, 3 Jul 2005 20:46:43 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54414-07 for ; Sun, 3 Jul 2005 23:46:34 +0000 (GMT) Received: from metux.de (seven.metux.de [193.16.1.1]) by svr1.postgresql.org (Postfix) with ESMTP id 473C452809 for ; Sun, 3 Jul 2005 20:46:32 -0300 (ADT) Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id j63Mjckt011851 for pgsql-performance@postgresql.org; Mon, 4 Jul 2005 00:45:38 +0200 Date: Mon, 4 Jul 2005 00:45:37 +0200 From: Enrico Weigelt To: postgresql performance list Subject: plain inserts and deletes very slow Message-ID: <20050703224537.GA9777@nibiru.borg.metux.de> Reply-To: weigelt@metux.de Mail-Followup-To: postgresql performance list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/18 X-Sequence-Number: 13259 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/ ---------------------------------------------------------------------