X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9E242D1C526 for ; Mon, 1 Dec 2003 13:09:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 92420-10 for ; Mon, 1 Dec 2003 09:08:53 -0400 (AST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by svr1.postgresql.org (Postfix) with ESMTP id 356A7D1B8B6 for ; Mon, 1 Dec 2003 09:08:31 -0400 (AST) Received: from fwd00.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1AQnmz-00020G-09; Mon, 01 Dec 2003 14:08:33 +0100 Received: from router.azrael.de (Gn9LogZaoeRMfi7Ubrs5eT8Z1KxX37dlF9bZHjeioEU4MIUXBw0X6Z@[80.141.228.135]) by fmrl00.sul.t-online.com with esmtp id 1AQnmB-1tmhpg0; Mon, 1 Dec 2003 14:07:43 +0100 Received: from azrael.azrael.de (azrael.azrael.de [192.168.202.18]) by router.azrael.de (8.11.4/8.11.4) with ESMTP id hB1D7Sr09265 for ; Mon, 1 Dec 2003 14:07:34 +0100 Date: Mon, 1 Dec 2003 14:07:50 +0100 From: Evil Azrael X-Priority: 3 (Normal) Message-ID: <924548300.20031201140750@evilazrael.de> To: pgsql-performance@postgresql.org Subject: Various Questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Seen: false X-ID: Gn9LogZaoeRMfi7Ubrs5eT8Z1KxX37dlF9bZHjeioEU4MIUXBw0X6Z@t-dialin.net X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/2 X-Sequence-Number: 4862 Hi! I have 4 question which probably someone can answer. 1) I have a transaction during which no data was modified, does it make a difference whether i send COMMIT or ROLLBACK? The effect is the same, but whatīs about the speed? 2) Is there any general rule when the GEQO will start using an index? Does he consider the number of tuples in the table or the number of data pages? Or is it even more complex even if you donīt tweak the cost setting for the GEQO? 3) Makes it sense to add a index to a table used for logging? I mean the table can grow rather large due to many INSERTs, but is also seldom queried. Does the index slowdown noticable INSERTs? 4) Temporary tables will always be rather slow as they canīt gain from ANALYZE runs, correct? Thanx in advance for any answer Christoph Nelles -- Mit freundlichen Grüssen Evil Azrael mailto:evilazrael@evilazrael.de