X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 1098030DD76 for ; Wed, 11 Jun 2003 07:44:05 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 61816-02 for ; Wed, 11 Jun 2003 04:43:54 -0300 (ADT) Received: from rtlocal.trade-india.com (unknown [203.196.129.235]) by svr1.postgresql.org (Postfix) with SMTP id F206A30DD6C for ; Wed, 11 Jun 2003 04:43:48 -0300 (ADT) Received: (qmail 12231 invoked from network); 11 Jun 2003 07:48:33 -0000 Received: from unknown (HELO system67.trade-india-local.com) (unknown) by unknown with SMTP; 11 Jun 2003 07:48:33 -0000 From: Rajesh Kumar Mallah Organization: Infocom Network Limited To: Tom Lane Subject: [ SOLVED ] Re: possible data loss. Date: Wed, 11 Jun 2003 13:14:27 +0530 User-Agent: KMail/1.5.1 Cc: pgsql-admin@postgresql.org References: <1299.219.65.253.104.1054840105.squirrel@mail.trade-india.com> <29503.1055086482@sss.pgh.pa.us> In-Reply-To: <29503.1055086482@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306111314.27830.mallah@trade-india.com> X-Archive-Number: 200306/95 X-Sequence-Number: 9086 ~~~~~~~~~~~~~~~~~~~~~~~ There was no data loss. ~~~~~~~~~~~~~~~~~~~~~~~ This message was posted during the disturbance period in our mailing lists. hence could not update on this . In fact i was under the impression that it would have never reached the lists. My false assertion was based on disappearance of the records from the user interface of a certain application which did not bother to display errors to browser from the database. It was only when i peeked into postgres log that i realized whats going on. Actaully i had added a txtidx feild in certain table from which distinct * was being performed since txtidx type did not have < or > operators it was rasing errors. later i removed that column (by some means) and the problem got corrected. I got the shock of my life as i really did not have backups but now i started. my be lord was kind enough to make me realize timely on the lack of back ups. Regds mallah. On Sunday 08 Jun 2003 9:04 pm, Tom Lane wrote: > writes: > > I did an vacuum full on a particular table of > > pgsql 7.2.3 database as a non superuser. > > and i feel i have lost considerable data in this > > text feild in this table. I think it was a known bug with > > this version. > > The vacuum output shows 91902 live tuples during the first vacuum, > and 91906 during the second. What is the basis of your assertion > that you've lost data? > > It does appear that some other operation updated most of the rows in > the table in between, since the second vacuum found 82457 dead tuples. > I'm suspecting that your real problem is an ill-considered update. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.