Re: Very slow joins

Поиск
Список
Период
Сортировка
От MS
Тема Re: Very slow joins
Дата
Msg-id a73bf5d5-3e7f-40ea-855b-8ec4e90ce0a9@e11g2000yqo.googlegroups.com
обсуждение исходный текст
Ответ на Re: Very slow joins  (MS <fretka1990@gmail.com>)
Список pgsql-general
> postgres collect all necessary stats. Maybe an implicit analyze is
> necessary?

Should be: "explicit analyze".

> > > BUT I found the real cause of my problem - the "fk2" field from my
> > > example had not only an index, but it was also a foreign key to
> > > another table.
> > That seems unlikely to be the cause.

It's just what I saw. First I tried with all the FKs but had to break
the queries because they took too long.
Then I dropped the FK and the query run in a couple of minutes.


Thanks,
MS


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

Предыдущее
От: MS
Дата:
Сообщение: Re: Very slow joins
Следующее
От: "Jamie Lawrence-Jenner"
Дата:
Сообщение: Postgres and multiple updates in one statement