Re: Improve Postgres Query Speed - Mailing list pgsql-general

From Jorge Godoy
Subject Re: Improve Postgres Query Speed
Date
Msg-id 8764b7it4e.fsf@gmail.com
Whole thread Raw
In response to Re: Improve Postgres Query Speed  ("carter ck" <carterck32@hotmail.com>)
List 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 by date:

Previous
From: Jorge Godoy
Date:
Subject: Re: Linking tables and indexes
Next
From: Jerry LeVan
Date:
Subject: Collating Question...