Skip site navigation (1) Skip section navigation (2)

Re: Why queries takes too much time to execute?

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Anderson Boechat Lopes <teouique(at)terra(dot)com(dot)br>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Why queries takes too much time to execute?
Date: 2004-05-10 19:59:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Mon, 10 May 2004, Anderson Boechat Lopes wrote:

>     Hum... now i think i´m beginning to understand.
>     The vacuum analyse is recommended to perform at least every day, after
> adding or deleting a large number of records, and not vacuum full analyse.
> I´ve performed the vacuum full analyse every day and after some time i´ve
> noticed the database was corrupted. I couldn´t select anything any more.

Hold it right there, full stop.

If you've got corruption you've either found a rare corner case in 
postgresql (unlikely, corruption is not usually a big problem for 
postgresql) OR you have bad hardware.  Test your RAM, CPUs, and hard 
drives before going any further.   Data corruption, 99% of the time, is 
not the fault of postgresql but the fault of the hardware.

In response to

pgsql-performance by date

Next:From: scott.marloweDate: 2004-05-10 20:23:20
Subject: Re: Help how to tune-up my Database
Previous:From: Bruce MomjianDate: 2004-05-10 19:09:32
Subject: Re: Configuring PostgreSQL to minimize impact of checkpoints

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group