Re: How to determine cause of performance problem?

From: Michael Stone <mstone+postgres(at)mathom(dot)us>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: How to determine cause of performance problem?
Date: 2005-09-23 09:55:17
Message-ID: 20050923095517.GW14918@mathom.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Sep 23, 2005 at 08:49:27AM +0200, Joost Kraaijeveld wrote:
>3. Can I anyhow improve the performance without replacing my hardware,
>e.g. by tweaking the software?

It's not clear what your object id generator does. If it's just a
sequence, it's not clear that you need this program at all--just use a
SELECT INTO and make the object id a SERIAL.

If you do need to control the object id or do some other processing
before putting the data into the new table, rewrite to use a COPY
instead of an INSERT.

Mike Stone

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joost Kraaijeveld 2005-09-23 10:21:15 Re: How to determine cause of performance problem?
Previous Message Simon Riggs 2005-09-23 09:37:12 Releasing memory during External sorting?