very slow connection

Поиск
Список
Период
Сортировка
От Szucs Laszlo
Тема very slow connection
Дата
Msg-id 383D29B6.64EDB4A9@draexlmaier.de
обсуждение исходный текст
Список 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);

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



В списке pgsql-sql по дате отправления:

Предыдущее
От: Julien Cadiou
Дата:
Сообщение: recursion
Следующее
От: Dipankar Chakrabarti
Дата:
Сообщение: pqReadData() error