Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B072A2E016F for ; Thu, 3 Jan 2008 22:23:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 79992-10 for ; Thu, 3 Jan 2008 22:23:26 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by postgresql.org (Postfix) with ESMTP id EBB1E2E011F for ; Thu, 3 Jan 2008 22:23:25 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so10391529waf.5 for ; Thu, 03 Jan 2008 18:23:24 -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=P5/ow3G6t84YrOk57iRFSgcq2pUCJf5COYuecwCKdC0=; b=u1QxZ6CircarM7+vC1+g1tM1dqMRfI32wt9934QCVHTTs6G4PewPs8Fc53WKIEepAGJAn6DVhHis+rourXQWaNFe3woIkmvzyaFNQ1UrL2UZYNJOd07kOr/4wHjTxA/SE8Kq+sYrpZumfjJ7Kx2rH+s5d6isv+0kZBLRy78knuI= 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=A0anPcyJk3mCWYgJtSuPzFpBkgp83ZzNOJm/QtCoNjSUlrScSEiUgiGtixFKEK8D54oS1Z6NzSbrQEvagypIipxdE0UGBk1Q47mQ/YuOlRFlYEoKb5FMw46ikB0XfnAeKlOHHzCsMHMtgT5fvg/4quVBSYsSE9HOS81lVTQ+TU4= Received: by 10.115.76.1 with SMTP id d1mr17562735wal.108.1199413403950; Thu, 03 Jan 2008 18:23:23 -0800 (PST) Received: by 10.114.131.4 with HTTP; Thu, 3 Jan 2008 18:23:23 -0800 (PST) Message-ID: Date: Thu, 3 Jan 2008 20:23:23 -0600 From: "Scott Marlowe" To: "Suresh Gupta VG" Subject: Re: Need some info on Postgresql Cc: "Peter Koczan" , pgsql-admin@postgresql.org In-Reply-To: <3D5445983859B84B92669C0D883EA6FB0BADA376@ZENMAILHQ1.ind.zensar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3D5445983859B84B92669C0D883EA6FB0BADA376@ZENMAILHQ1.ind.zensar.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/46 X-Sequence-Number: 27820 On Jan 3, 2008 5:33 AM, Suresh Gupta VG wrote: > > Hi Team, > > I am using Postgresql 7.4.2 version on Solaris. You need to update to 7.4.18 or whatever the last version was. 7.4.2 has known data eating bugs, and if you value your data even a little, you should update. this is a relatively painless update not requiring a dump / restore. > There are number of tables > say about 30+ tables in our database. I started to "reindex" the tables > individually. "reindex table <>". All the queries executed > normally with less than 1 minute of duration. But one table is not > responding any thing even after 10 minutes. The details of the table are = =85 I've had large tables take well over 10 minutes on 7.4 to reindex. That's not necessarily a sign of a problem. How many rows does this table have? Do you get any kind of error message or the database just never returns. Have you tried vacuum full on this table instead? Do the logs say anything about the reindex operation getting an error etc??? > Can you please tell me why it not executing this command on the particula= r > table and I am the owner of the DB? Can you please suggest some thing. Is it really not executing? Is it simply returning without a notice, or hanging? > We > found these days, the database is taking more time to execute any query. = We > are doing "vacuum Verbose analyze" regularly at low traffic time. You would do well to consider a migration to 8.2.5 or 8.3 when it comes out of beta / RC status. 7.4.x is getting rather old, and the 8.x series (8.0, 8.1, 8.2, and now 8.3) have each had major improvements in speed.