Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 164AC650EA0 for ; Mon, 30 Jun 2008 16:11:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 68256-02-9 for ; Mon, 30 Jun 2008 16:11:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 67CA4650EBA for ; Mon, 30 Jun 2008 16:10:36 -0300 (ADT) Received: from perhan.alvh.no-ip.org (200-126-116-204.bk8-dsl.surnet.cl [200.126.116.204]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m5UJCR5v002821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jun 2008 12:12:33 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id BE93747C80; Mon, 30 Jun 2008 15:04:19 -0400 (CLT) Date: Mon, 30 Jun 2008 15:04:19 -0400 From: Alvaro Herrera To: Tom Lane Cc: Peter Schuller , pgsql-performance@postgresql.org Subject: Re: VACUUM ANALYZE blocking both reads and writes to a table Message-ID: <20080630190419.GC18252@alvh.no-ip.org> References: <20080630145903.GA15197@hyperion.scode.org> <20080630152515.GF10311@alvh.no-ip.org> <20080630154318.GB15756@hyperion.scode.org> <20080630162306.GA18252@alvh.no-ip.org> <3064.1214852440@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3064.1214852440@sss.pgh.pa.us> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 30 Jun 2008 12:12:34 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/248 X-Sequence-Number: 30598 Tom Lane wrote: > (2) If it's autovacuum we're talking about, it will get kicked off the > table if anyone else comes along and wants a conflicting lock. Not on 8.2 though. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.