Re: Indexes getting corrupted.

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: "Bruno G(dot) Albuquerque" <balbuquerque(at)dba(dot)com(dot)br>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Indexes getting corrupted.
Date: 2005-06-08 19:26:21
Message-ID: 1118258780.5758.160.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2005-06-08 at 13:39, Bruno G. Albuquerque wrote:
> I am having a weird problem here. I have the automated process to
> install PostgreSQL (8.0.1) on Windows 2000 machines. Besides installing
> the database server itself, my process does the following:
>
> 1 - Runs initdb to created the database I will be using.
> 2 - Runs a SQL script that creates the entire database and populates
> some of the tables.
> 3 - Runs another script that populates other tables (using COPY).
>
> What happens is that, sometimes, after the entire process run, I end up
> with a database with virtually all indexes corrupt! Try to use the
> indexes for anything results in "index is not a btree" error. This
> happens randomly and I can get it fixed sometimes by simply erasin
> everything and starting over.

Note that such behaviour is normally associated with bad hardware (RAM,
hard drive, controller, CPU, you name it...) But since the windows port
is pretty new, you may have found some corner case.

Do you have a "pre-packaged" test case that induces failures most of the
time or something like that?

Are these machines all basically make/model/brand/chipset etc... of
machines? Then it might be a buggy driver or something.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wayne Schroeder 2005-06-08 23:24:15 Re: Is there a way to build 32-bit mode on 64-bit Linux boxes?
Previous Message Tom Arthurs 2005-06-08 18:58:31 Re: Indexes getting corrupted.