From: Jean-Marc Pigeon <jmp@safe.ca>
To: pgsql-admin@postgresql.org
Cc: jmp@new-york.safe.ca
Subject: Vacuum and index
Date: Thu, 9 Nov 2000 22:05:47 -0500 (EST)
Message-ID: <200011100305.eAA35lT16490@new-york.safe.ca> (raw)
Bonjour,
Loading data (around 112000 record) to a newly created
data-base, I am able to do select such as:
select * from userreg where userid='cynthiaU';
Where 'userid' is defined as:
userid VARCHAR(30) UNIQUE,
in the table.
Everything work fine, as soon I run vacuum
on this data-base some of the records "disappear",
(say 10%) such the previous select is not responding, while
select * from userreg where userid~*'cynthiaU';
is still responding.
Obviously there is an index problem, If drop and
create the index related to the table, everything
comeback fine....
Questions:
1) Why index become mis-aligned after a data-base
vacuum?
2) Is there a way to keep table and index aligned under
vacuum?
A bientot
==========================================================================
Jean-Marc Pigeon Internet: Jean-Marc.Pigeon@safe.ca
SAFE Inc. Phone: (514) 493-4280 Fax: (514) 493-1946
REGULUS, a real time accounting/billing package for ISP
REGULUS' Home base <"http://www.regulus.safe.ca";
==========================================================================
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jmp@safe.ca, jmp@new-york.safe.ca
Subject: Re: Vacuum and index
In-Reply-To: <200011100305.eAA35lT16490@new-york.safe.ca>
References: <200011100305.eAA35lT16490@new-york.safe.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox