pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQL slower when running for the second time
3+ messages / 3 participants
[nested] [flat]

* SQL slower when running for the second time
@ 2003-09-03 19:15  Rhaoni Chiu Pereira <rhaoni@sistemica.info>
  0 siblings, 2 replies; 3+ messages in thread

From: Rhaoni Chiu Pereira @ 2003-09-03 19:15 UTC (permalink / raw)
  To: PostgreSQL Performance <pgsql-performance@postgresql.org>; pgsql-admin

Hi List,

   I trying to increase performance in my PostgreSQL but there is something
wrong.    when I run this SQL for the first time it takes 1 min. 40 seconds to
return, but when I run it for the second time it takes more than 2 minutes, and
I should retunr faster than the first time.

Does anyone have a advice ?

Atenciosamente,

Rhaoni Chiu Pereira
Sistêmica Computadores

Visite-nos na Web: http://sistemica.info
Fone/Fax : +55 51 3328 1122








^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: SQL slower when running for the second time
@ 2003-09-03 20:03  Peter Eisentraut <peter_e@gmx.net>
  parent: Rhaoni Chiu Pereira <rhaoni@sistemica.info>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2003-09-03 20:03 UTC (permalink / raw)
  To: Rhaoni Chiu Pereira <rhaoni@sistemica.info>; +Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>; pgsql-admin

Rhaoni Chiu Pereira writes:

>    I trying to increase performance in my PostgreSQL but there is something
> wrong.    when I run this SQL for the first time

Which SQL?

> it takes 1 min. 40 seconds to
> return, but when I run it for the second time it takes more than 2 minutes, and
> I should retunr faster than the first time.

What happens the third time?

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: SQL slower when running for the second time
@ 2003-09-03 20:49  Ron Johnson <ron.l.johnson@cox.net>
  parent: Rhaoni Chiu Pereira <rhaoni@sistemica.info>
  1 sibling, 0 replies; 3+ messages in thread

From: Ron Johnson @ 2003-09-03 20:49 UTC (permalink / raw)
  To: PgSQL Performance ML <pgsql-performance@postgresql.org>

On Wed, 2003-09-03 at 14:15, Rhaoni Chiu Pereira wrote:
> Hi List,
> 
>    I trying to increase performance in my PostgreSQL but there is something
> wrong.    when I run this SQL for the first time it takes 1 min. 40 seconds to
> return, but when I run it for the second time it takes more than 2 minutes, and
> I should retunr faster than the first time.
> 
> Does anyone have a advice ?

Is it a query or insert/update?

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

"Vanity, my favorite sin."
     Larry/John/Satan, "The Devil's Advocate"




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-09-03 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03 19:15 SQL slower when running for the second time Rhaoni Chiu Pereira <rhaoni@sistemica.info>
2003-09-03 20:03 ` Peter Eisentraut <peter_e@gmx.net>
2003-09-03 20:49 ` Ron Johnson <ron.l.johnson@cox.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox