Re: Disk filling, CPU filling, renegade inserts and deletes?

From: Richard Plotkin <richard(at)richardplotkin(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Disk filling, CPU filling, renegade inserts and deletes?
Date: 2005-04-20 20:43:50
Message-ID: 73a30faf07358bdb7935f97f50dd1189@richardplotkin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

As a follow-up, I've found a function that used the following code:

CREATE TEMPORARY TABLE results
(nOrder integer,
page_id integer,
name text)
WITHOUT OIDS
ON COMMIT DROP;

I would assume that the "WITHOUT OIDS" would be part of the source of
the problem, so I've commented it out.

On Apr 20, 2005, at 12:36 PM, Rod Taylor wrote:

>> I'm having a pretty serious problem with postgresql's performance.
>> Currently, I have a cron task that is set to restart and vacuumdb -faz
>> every six hours. If that doesn't happen, the disk goes from 10% full
>> to 95% full within 2 days (and it's a 90GB disk...with the database
>> being a 2MB download after dump), and the CPU goes from running at
>> around a 2% load to a 99+% load right away (the stats look like a
>> square wave).
>
> Are you running frequent queries which use temporary tables?
>
>
> --
>

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message John A Meinel 2005-04-20 20:48:16 Re: postgres slowdown question
Previous Message John A Meinel 2005-04-20 20:42:24 Re: Joel's Performance Issues WAS : Opteron vs Xeon