data corruption

From: Hemapriya <priyam_1121(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: data corruption
Date: 2005-09-28 19:12:37
Message-ID: 20050928191237.56381.qmail@web34212.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I have a query that runs fine for one set of data and
not for another.

In the following query, all the columns used in a
where
clause are indexed. If i use this for the
origindbs('02','05','06','07') except '04', it works
fine.
when i look for the data from origindb "04" it just
run for 2 hours.

"select count(*) from qpassextrequest a,request b
where a.requestFK=b.uid and a.origindb='04' and
a.origindb=b.origindb and b.enteredon >='2005-09-28'
and b.enteredon < '2005-09-29'"

What could be the reason.. Can that be a index or data
corruption? If so, rebuiding the index will solve the
problem?

Any hint is appreciated.

Thanks
Priya


__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sergiusz Jarczyk 2005-09-28 19:34:10 Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Previous Message Jeffrey Tenny 2005-09-28 18:51:34 Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base