|
Home > Archive > PostgreSQL Administration > November 2006 > I have a question about Database management
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
I have a question about Database management
|
|
| nineday 2006-11-07, 7:18 pm |
| I have a trouble.
My DBMS is PostgreSQL which is accessory to Red hat 9.0.
At the initial stages, it was very quick when select ,but operated for
several months , it become to very slow ,especially in a pivotal table.
So,I exported data ,and recreate tables , finally import data, it get right
..
I do not know why. and what is the solution to my trouble
Thank you very much ~~
| |
|
| You need to vacum (probably re-index) your tables
periodically to get the best performance.
These vacuming and indexing tools should already
be there with your PostgreSQL installation.
--Imad
www.EnterpriseDB.com
On 10/31/06, nineday <nine9day@gmail.com> wrote:
> I have a trouble.
> My DBMS is PostgreSQL which is accessory to Red hat 9.0.
> At the initial stages, it was very quick when select ,but operated for
> several months , it become to very slow ,especially in a pivotal table.
> So,I exported data ,and recreate tables , finally import data, it get right
> .
>
> I do not know why. and what is the solution to my trouble
> Thank you very much ~~
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
| |
| Tomeh, Husam 2006-11-07, 7:18 pm |
| Without knowing more details about what version of postgres and type of
activities going on,etc, it may be hard to figure out what's going out.
However, one maintenance operation that you want to make sure it happens
to is to run vacuum/analyze periodically so that expired tuples can be
re-used, and your statistics get updated in the db system catalog.
--
Husam
____________________
____________
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of nineday
Sent: Tuesday, October 31, 2006 3:06 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] I have a question about Database management
I have a trouble.
My DBMS is PostgreSQL which is accessory to Red hat 9.0.
At the initial stages, it was very quick when select ,but operated for
several months , it become to very slow ,especially in a pivotal table.
So,I exported data ,and recreate tables , finally import data, it get
right .
I do not know why. and what is the solution to my trouble
Thank you very much ~~
********************
********************
********************
**********
This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.
Thank you.
FADLD Tag
********************
********************
********************
**********
| |
| Bruno Wolff III 2006-11-07, 7:18 pm |
| On Tue, Oct 31, 2006 at 19:05:58 +0800,
nineday <nine9day@gmail.com> wrote:
> I have a trouble.
> My DBMS is PostgreSQL which is accessory to Red hat 9.0.
> At the initial stages, it was very quick when select ,but operated for
> several months , it become to very slow ,especially in a pivotal table.
> So,I exported data ,and recreate tables , finally import data, it get right
> .
>
> I do not know why. and what is the solution to my trouble
> Thank you very much ~~
You should probably also upgrade. The version of Postgres that came with
RH9 is going to be very old now. You should probably upgrade the OS as
well. While RH9 is supported by the Legacy project, they haven't exactly
been cranking out lots of fixes, so you should be very careful if that
system is exposed to attack over a network.
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
|
|
|
|
|