Re: Performance Optimization for Dummies 2 - the SQL

From: Alex Stapleton <alexs(at)advfn(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: "Carlo Stonebanks" <stonec(dot)register(at)sympatico(dot)ca>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance Optimization for Dummies 2 - the SQL
Date: 2006-10-03 15:16:48
Message-ID: 625D31A3-6332-4549-80A6-3661F03B278C@advfn.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 3 Oct 2006, at 16:04, Merlin Moncure wrote:

> On 10/3/06, Carlo Stonebanks <stonec(dot)register(at)sympatico(dot)ca> wrote:
>> Some very helpful people had asked that I post the troublesome
>> code that was
>> generated by my import program.
>>
>> I installed a SQL log feature in my import program. I have
>> posted samples of the SQL statements that cause the biggest delays.
>
> explain analyze is more helpful because it prints the times.

You can always use the \timing flag in psql ;)

l1_historical=# \timing
Timing is on.
l1_historical=# select 1;
?column?
----------
1
(1 row)

Time: 4.717 ms

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Darcy Buskermolen 2006-10-03 15:35:05 Re: Poor performance on very simple query ?
Previous Message Darcy Buskermolen 2006-10-03 15:10:23 Re: Poor performance on very simple query ?