pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: elwood@agouros.de
To: pgsql-general@postgresql.org
Subject: Performance-Problem
Date: 30 Mar 2001 19:10:25 +0200
Message-ID: <elwood.985972029@news.agouros.de> (raw)

Hi,

I had the following problem: I have a table with around 5Mio entries.
I joined this table with a table with about 50 entries. Doing a insert into
another_table <my select-statement>. I am sure the select-statement might be
optimized but after 6 days of running I had to reboot the machine for other
reasons. The Machine is a 2CPU E250 Sun Sparc running 7.0.3.
Anybody has an idea (besides SQL-Tuning) how to get faster? Maybe take a look
at 7.1, since this is not a production database yet.
The SQL-Statement (yes I know I should post this, too, but I don't have access
to the script right now) was called from a perlscript using DBI/DBD and I have
set -F in the PGOPTIONS-parameter as well as AutoCommit to 0.

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres



view thread (47+ messages)  latest in thread

Message-ID: <elwood.985972029@news.agouros.de>
Permalink:  ../elwood.985972029@news.agouros.de/
Also on:    postgresql.org/message-id/elwood.985972029@news.agouros.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: elwood@agouros.de
  Subject: Re: Performance-Problem
  In-Reply-To: <elwood.985972029@news.agouros.de>
  References: <elwood.985972029@news.agouros.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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