X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6370FD1B4FE for ; Mon, 10 Nov 2003 15:33:19 +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 22429-08 for ; Mon, 10 Nov 2003 11:32:51 -0400 (AST) Received: from mail.bab24.de (bab24.de [80.237.200.79]) by svr1.postgresql.org (Postfix) with ESMTP id 10B01D1B507 for ; Mon, 10 Nov 2003 11:32:47 -0400 (AST) Received: from mail.cenes-intern.de (pD9E7F2E8.dip.t-dialin.net [217.231.242.232]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.bab24.de (Postfix) with ESMTP id 12715780DE; Mon, 10 Nov 2003 16:32:35 +0100 (CET) Received: from silizium (silizium [192.168.0.14]) by mail.cenes-intern.de (Postfix) with ESMTP id 4139733EF0; Mon, 10 Nov 2003 16:32:33 +0100 (CET) Subject: Re: small table occupies many relpages From: Markus Bertheau To: Tom Lane Cc: pgsql-admin@postgresql.org In-Reply-To: <1068237906.5574.10.camel@severn2> References: <1068200182.2191.15.camel@silizium.cenes-intern.de> <29091.1068219946@sss.pgh.pa.us> <1068237906.5574.10.camel@severn2> Content-Type: text/plain; charset=UTF-8 Organization: Cenes Data GmbH Message-Id: <1068478352.2196.12.camel@silizium.cenes-intern.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 10 Nov 2003 16:32:32 +0100 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/161 X-Sequence-Number: 11148 В Птн, 07.11.2003, в 21:45, Markus Bertheau написал: > В Птн, 07.11.2003, в 16:45, Tom Lane пишет: > > Markus Bertheau writes: > > > It has a unique index on virtual_domain. Every day we do <10000 queries > > > of the form > > > insert into virtual_domains values (default, 'www.something.de') > > > > So you're expecting these inserts to fail because of unique index > > violations? > > Yes. Does such a failing insert reflect somehow on the statistics? i.e. could pg_autovacuum be modified such that it catches that case? -- Markus Bertheau Cenes Data GmbH