Re: Windows query weird result

From: Igor Neyman <ineyman(at)perceptron(dot)com>
To: Igor Neyman <ineyman(at)perceptron(dot)com>, Lutz Fischer <lfischer(at)staffmail(dot)ed(dot)ac(dot)uk>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Cc: Aaron Abreu <abreual(at)bay(dot)k12(dot)fl(dot)us>
Subject: Re: Windows query weird result
Date: 2013-04-30 13:49:01
Message-ID: A76B25F2823E954C9E45E32FA49D70EC13C6FFCB@mail.corp.perceptron.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
> owner(at)postgresql(dot)org] On Behalf Of Igor Neyman
> Sent: Tuesday, April 30, 2013 9:30 AM
> To: Lutz Fischer; pgsql-general(at)postgresql(dot)org
> Cc: Aaron Abreu
> Subject: Re: [GENERAL] Windows query weird result
>
> > >
> >
> > Seems like REINDEX INDEX rescored; did the trick.
> > Any idea how to find out whether a index is corrupted?
> >
> > --
> > Lutz Fischer
> > lfischer(at)staffmail(dot)ed(dot)ac(dot)uk
> > +44 131 6517057
> >
> >
> > The University of Edinburgh is a charitable body, registered in
> > Scotland, with registration number SC005336.
>
> The only way I know is to execute SELECT on the table that will cause
> full index scan.
>
> Regards,
> Igor Neyman
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org) To
> make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

As a side not, one more thing.
Since you mentioned that corruption happened in Windows environment,
I'd suggest that Postgres data directory should be excluded from being scanned by whatever anti-virus software you have running on that system (I suspect there is one). Scanning PG data directory by anti-virus software could reduce performance and also in "severe" cases - corruption.

Regards,
Igor Neyman

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gauthier, Dave 2013-04-30 14:17:40 case not sensitive to null condition ?
Previous Message Ramiro Arraya 2013-04-30 13:31:46 Is it possible for Postgresql to interact with Transaction Manager (TM like Tuxedo) as a Ressource Manager (RM) ?