X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B831152A46 for ; Tue, 12 Jul 2005 14:45:41 -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 25930-06 for ; Tue, 12 Jul 2005 17:45:36 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8069F52A6E for ; Tue, 12 Jul 2005 14:45:35 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 95CD730B42; Tue, 12 Jul 2005 19:50:20 +0200 (MET DST) From: "Greg Patnude" X-Newsgroups: pgsql.general Subject: Temp tables... Date: Tue, 12 Jul 2005 10:52:24 -0700 Organization: dataMosaics.com Lines: 35 Message-ID: Reply-To: "Greg Patnude" X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-general@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.292 tagged_above=0 required=5 tests=AWL, FORGED_HOTMAIL_RCVD2, PRIORITY_NO_NAME X-Spam-Level: ** X-Archive-Number: 200507/320 X-Sequence-Number: 80418 Performing an update to an inherited table system from inside of a stored procedure (PLPGSQL) seems to be unusually sluggish... Does anyone have a faster solution ? I am updating 50 records and it takes approximately 4.375 seconds + or -.... The inherited table has an ON INSERT DO INSTEAD and there are approximately 2 million rows in the inherited table structure... Any ideas ? Suggestions ? Regards, Greg Patnude - Manager, Dynamic Applications Group Data Mosaics, Inc. 2406 South Dishman-Mica Road / Suite # 6 Spokane Valley, WA 99206-6429 VOICE: (866) 904-DMSF FAX: (509) 928-4236