From: lucas@presserv.org
To: pgsql-sql@postgresql.org
Subject: New record position
Date: Wed, 30 Mar 2005 10:50:17 -0300
Message-ID: <20050330105017.miuieky7u64gscgc@www.presserv.org> (raw)
Hello,
I am using Slackware Linux 10, Postgresql 8.0.1.
My computer had a incorrectly power down (last week) and I have executed the
vacuum command:
VACCUM FULL ANALYZE VERBOSE;
to recicle and verify my database.
Before the power-down, all records had inserted into a table have displayed at
LAST record. Like:
SELECT * from tb1;
f1 | f2
------|--------
rec1 | vl1
INSERT into tb1 values ('rec2','vl2');
SELECT * from tb1;
f1 | f2
------|--------
rec1 | vl1
rec2 | vl2
But After the power-down and vacuum, the new records inserted have appeared in
random location (FIRST, between other records, etc...). Ie:
INSERT into tb1 values ('rec3','vl3');
SELECT * from tb1;
f1 | f2
------|--------
rec1 | vl1
rec3 | vl3 <<=====
rec2 | vl2
Why it? I can't undestand why the new record location was change. Shouldn't it
apper at the LAST record???
What need I do??
Thank you.
--------
Lucas Vendramin
Brazil
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-sql@postgresql.org
Cc: lucas@presserv.org
Subject: Re: New record position
In-Reply-To: <20050330105017.miuieky7u64gscgc@www.presserv.org>
References: <20050330105017.miuieky7u64gscgc@www.presserv.org>
* 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