Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 49AFF65003C for ; Wed, 12 Nov 2008 16:56:01 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 11049-07 for ; Wed, 12 Nov 2008 16:55:54 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mail.postgresql.org (Postfix) with ESMTP id E1010650014 for ; Wed, 12 Nov 2008 16:55:53 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id j4so288347wah.19 for ; Wed, 12 Nov 2008 12:55:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nwvrHl8ghiPNvGpRagjLD+RzbN/9GzIKu/Fx/J5mDHg=; b=GORsXUtGAK9nX44fuw6DOJq7IpS6m9/H8BuaIJh1Vvzb559v/neqIogGLxBh17wzzh 870ASR64wAaPXu2nK37oVGy64NT2UmDMr3VxKXYxY5OIHLLbdO+xFrwcmUI13F66XcHY I7aKZ21qWPIOkZFjuNe9cfbC42kc2CEEnEl8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=YwpRXfCMjWhrhoTAazqAVSI1byRwQdRVeJYidyvthLV0SHCtWGdefatgxfD0ZNKp0H IRBK8EQZRhrbOgWJ6CJaaO/49R7DJZP3UT8wRJ/aGhjPOWyPcQGhrVnVmG2tqmdRqKw3 aax8BohoPwJnEjkb8vTxM/QR3yR4AOgbyr1fo= Received: by 10.114.199.3 with SMTP id w3mr6348045waf.181.1226523352724; Wed, 12 Nov 2008 12:55:52 -0800 (PST) Received: by 10.114.39.11 with HTTP; Wed, 12 Nov 2008 12:55:52 -0800 (PST) Message-ID: Date: Wed, 12 Nov 2008 13:55:52 -0700 From: "Scott Marlowe" To: firerox@centrum.cz Subject: Re: slow full table update Cc: pgsql-performance@postgresql.org In-Reply-To: <200811101730.15902@centrum.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200811101728.3048@centrum.cz> <200811101729.14977@centrum.cz> <200811101730.11057@centrum.cz> <200811101730.15902@centrum.cz> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200811/109 X-Sequence-Number: 31840 On Mon, Nov 10, 2008 at 9:30 AM, wrote: > Hi, > > I have table with cca 60.000 rows and > when I run query as: > Update table SET column=0; > after 10 minutes i must stop query, but it still running :( What does vacuum verbose table; say? I'm wondering if it's gotten overly bloated. How long does select count(*) from table; take to run (use \timing to time it)