very slow connection

From: Szucs Laszlo <szuecs(dot)laszlo(at)draexlmaier(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: very slow connection
Date: 1999-11-25 12:21:10
Message-ID: 383D29B6.64EDB4A9@draexlmaier.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Dear List,

if I make the following query it takes at least 1-2 min.or dies.
The biggest table contains only 150 records and the others do not have
more than 10 records.
I tried to increase the allocataed memory by -B 1024, but it did not
help.

Why so slow the connection?

Thanks,

SzL
---------------------------------------

select t0.kostenstelle_id, t0.personalnummer, t2.ausdruck from ma_liste
t0,anrede t1,ausdruck t2,erscheinungsbild t3,familienstand t4,funktion
t5,kostenstelle t6,orga t7,status t8,umgangsform t9 where
(t0.anrede=t1.anrede_id) and (t4.fam_stand_id=t0.fam_stand) and
(t0.ersceinungsbild_id=t3.erscheinungsbild_id) and
(t0.ausdruck_id=t2.ausdruck_id) and (t0.funktionsid=t5.funktions_id)
and (t0.kostenstelle_id=t6.kostenstelle_id) and
(t0.umgangsform_id=t9.umgangsform_id) and (t0.status=t8.status_id) and
(t0.orga_id=t7.orga_id);

----------------------------------------

Browse pgsql-sql by date

  From Date Subject
Next Message Dipankar Chakrabarti 1999-11-25 12:23:45 pqReadData() error
Previous Message Julien Cadiou 1999-11-25 01:15:54 recursion