Re: Improve Postgres Query Speed

Поиск
Список
Период
Сортировка
От Jorge Godoy
Тема Re: Improve Postgres Query Speed
Дата
Msg-id 8764b7it4e.fsf@gmail.com
обсуждение исходный текст
Ответ на Re: Improve Postgres Query Speed  ("carter ck" <carterck32@hotmail.com>)
Список pgsql-general
"carter ck" <carterck32@hotmail.com> writes:

> Hi, the rpt_generated is a boolean value.

Is there any special reason, then, for not using a boolean type?

> And you are definitely right when updating the table. The time it takes is
> getting longer and longer. When I do a select statement, the speed has also
> degraded.

And it is expected to be like that if you filter on unindexed columns...
Maybe you should go back to design and fix this :-)  (Remember that too much
indices is also bad.)

--
Jorge Godoy      <jgodoy@gmail.com>

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

Предыдущее
От: Jorge Godoy
Дата:
Сообщение: Re: Linking tables and indexes
Следующее
От: Jerry LeVan
Дата:
Сообщение: Collating Question...