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

* SQL slower when running for the second time
@ 2003-09-03 19:15 Rhaoni Chiu Pereira <rhaoni@sistemica.info>
  2003-09-03 20:03 ` Re: SQL slower when running for the second time Peter Eisentraut <peter_e@gmx.net>
  2003-09-03 20:49 ` Re: SQL slower when running for the second time Ron Johnson <ron.l.johnson@cox.net>
  0 siblings, 2 replies; 4+ messages in thread

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

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] 4+ messages in thread

* Re: SQL slower when running for the second time
  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>
  1 sibling, 0 replies; 4+ messages in thread

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

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] 4+ messages in thread

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

From: Ron Johnson @ 2003-09-03 20:49 UTC (permalink / raw)
  To: pgsql-performance

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] 4+ messages in thread

* Re: [ADMIN] SQL slower when running for the second time
@ 2003-09-03 20:44 Rhaoni Chiu Pereira <rhaoni@sistemica.info>
  0 siblings, 0 replies; 4+ messages in thread

From: Rhaoni Chiu Pereira @ 2003-09-03 20:44 UTC (permalink / raw)
  To: creid <creid@netbcg.com>; +Cc: pgsql-performance


<> Version of PostgreSQL?
    
    7.3.2-3 on RedHat 9
<> 
<> Standard server configuration?
    
   Follow atached

<> Hardware configuration?

   P4 1.7 Ghz
   512 MB RAM DDR
   HD 20 GB 7200 RPM

<> -----Original Message-----
<> From: pgsql-admin-owner@postgresql.org
<> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Rhaoni Chiu
<> Pereira
<> Sent: Wednesday, September 03, 2003 3:16 PM
<> To: PostgreSQL Performance; Lista PostgreSQL
<> Subject: [ADMIN] SQL slower when running for the second time
<> 
<> 
<> 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
<> 
<> 
<> 
<> 
<> 
<> 
<> ---------------------------(end of broadcast)---------------------------
<> TIP 6: Have you searched our list archives?
<> 
<>                http://archives.postgresql.org
<> 
<> 

Attachments:

  postgresql.conf (application/octet-stream, 5.1K) download

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


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

Thread overview: 4+ 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>
2003-09-03 20:44 Re: [ADMIN] SQL slower when running for the second time Rhaoni Chiu Pereira <rhaoni@sistemica.info>

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