Re: Seq scan of table?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Seq scan of table?
Дата
Msg-id 9565.1062744291@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Seq scan of table?  ("Bjorn T Johansen" <btj@havleik.no>)
Ответы Re: Seq scan of table?  ("Bjorn T Johansen" <btj@havleik.no>)
Список pgsql-general
"Bjorn T Johansen" <btj@havleik.no> writes:
> I am trying to tune my database and I discovered one select that does a
> seq scan on a table but I can't see why... All the join fields are indexed
> and I am returning just one record, so no sort is done.
> Does it just pick seq scan for the heck of it or is it a reason?

Who's to say, when you gave us no details?  Show us the table schemas,
the exact query, and EXPLAIN ANALYZE output, and you might get useful
responses.

(btw, pgsql-performance would be a more appropriate list for this issue
than pgsql-general.)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL Error: pqReadData() -- read() failed: errno=0 No error
Следующее
От: "Bjorn T Johansen"
Дата:
Сообщение: Re: RE : Seq scan of table?