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 BB722D1B1BE for ; Sat, 17 Jul 2004 00:30:38 -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 69318-05 for ; Sat, 17 Jul 2004 03:30:34 +0000 (GMT) Received: from redhotpenguin.com (www.redhotpenguin.com [64.127.99.50]) by svr1.postgresql.org (Postfix) with ESMTP id 62E6BD1B199 for ; Sat, 17 Jul 2004 00:30:29 -0300 (ADT) Received: (qmail 20584 invoked from network); 17 Jul 2004 03:30:34 -0000 Received: from localhost (HELO mail.redhotpenguin.com) (127.0.0.1) by localhost with SMTP; 17 Jul 2004 03:30:34 -0000 Received: from 67.116.52.35 (SquirrelMail authenticated user fred@redhotpenguin.com) by mail.redhotpenguin.com with HTTP; Fri, 16 Jul 2004 20:30:34 -0700 (PDT) Message-ID: <33721.67.116.52.35.1090035034.squirrel@mail.redhotpenguin.com> Date: Fri, 16 Jul 2004 20:30:34 -0700 (PDT) Subject: Scaling with lazy index updates From: "Fred Moyer" To: pgsql-performance@postgresql.org Reply-To: fred@redhotpenguin.com User-Agent: SquirrelMail/1.4.2-1.qvcs.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=PRIORITY_NO_NAME, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/113 X-Sequence-Number: 7504 Pg Performers, This might be a out of the ordinary question, or perhaps I have been out of the loop for a while but does PostgreSQL (or any other database) have support for lazy index updates. What I mean by lazy index updates is index updating which occur at a regular interval rather than per transaction. I have found that inserts and updates tend to slow down when the database gets really big. I think it is likely an effect of updating indexes when the insert or update occurs. Looking forward to feedback and possibly direction on my lazy index update question. TIA, Fred