pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: a.schmitz@cityweb.de
Cc: Oleg Bartunov <oleg@sai.msu.su>
Cc: Teodor Sigaev <teodor@stack.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Still a bug in the VACUUM ??? !!!
Date: Fri, 28 Feb 2003 15:40:54 -0500
Message-ID: <6523.1046464854@sss.pgh.pa.us> (raw)
In-Reply-To: <200302281016.29799.a.schmitz@cityweb.de>
References: <200302141552.32907.a.schmitz@cityweb.de>
	<200302151251.09162.a.schmitz@cityweb.de>
	<16338.1045325038@sss.pgh.pa.us>
	<200302281016.29799.a.schmitz@cityweb.de>

Andreas Schmitz <a.schmitz@cityweb.de> writes:
> the vacuum seems to be ok. I discovered that the "cluster" kills the
> data for some reason.

Hmm.  I'm not sure whether clustering on a GIST index is really useful
(seeing that there's no linear ordering associated with GIST).  But it
shouldn't lose data.

I was able to reproduce a problem as follows: run the tsearch regression
test, then do "cluster wowidx on test_txtidx".  This appears to lose
one row:

regression=# select count(*) from test_txtidx;
 count
-------
   502
(1 row)

regression=# cluster wowidx on test_txtidx;
CLUSTER
regression=# select count(*) from test_txtidx;
 count
-------
   501
(1 row)

Oleg, Teodor, can you investigate this?

			regards, tom lane



view thread (11+ messages)

Message-ID: <6523.1046464854@sss.pgh.pa.us>
Permalink:  ../6523.1046464854@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6523.1046464854@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, a.schmitz@cityweb.de, oleg@sai.msu.su, teodor@stack.net
  Subject: Re: Still a bug in the VACUUM ??? !!!
  In-Reply-To: <6523.1046464854@sss.pgh.pa.us>
  References: <200302141552.32907.a.schmitz@cityweb.de> <200302151251.09162.a.schmitz@cityweb.de> <16338.1045325038@sss.pgh.pa.us> <200302281016.29799.a.schmitz@cityweb.de> <6523.1046464854@sss.pgh.pa.us>

* 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