From: | Ulrich Wisser <ulrich(dot)wisser(at)relevanttraffic(dot)se> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | REINDEX problem |
Date: | 2004-08-13 07:18:46 |
Message-ID: | 411C6B56.5040202@relevanttraffic.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello,
the maintainance chapter in the docs gave me the impression that a
reindex of some tables would be a good idea. Last night I took the
database down, started up in single user mode and tried to reindex.
The reindex of tables did work fine, but a reindex of the database
did not. Please see a session transscript below.
How can I reindex the database?
TIA
/Ulrich
-bash-2.05b$ postgres -D /var/lib/pgsql/data/ -O -P CLIX1
LOG: database system was shut down at 2004-08-12 22:55:29 CEST
LOG: checkpoint record is at 11A/63A8F508
LOG: redo record is at 11A/63A8F508; undo record is at 0/0; shutdown TRUE
LOG: next transaction id: 51020804; next oid: 123029844
LOG: database system is ready
POSTGRES backend interactive interface
$Revision: 1.307.2.1 $ $Date: 2003/01/01 21:57:18 $
backend> REINDEX DATABASE CLIX1
ERROR: REINDEX DATABASE: Can be executed only on the currently open
database.
backend>
From | Date | Subject | |
---|---|---|---|
Next Message | Ulrich Wisser | 2004-08-13 07:22:58 | heap errors - should I be worried? |
Previous Message | Pierre-Frédéric Caillaud | 2004-08-13 06:29:02 | Re: Performance critical technical key |