Re: Improve Postgres Query Speed

From: Jorge Godoy <jgodoy(at)gmail(dot)com>
To: "carter ck" <carterck32(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Improve Postgres Query Speed
Date: 2007-01-16 02:48:49
Message-ID: 8764b7it4e.fsf@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"carter ck" <carterck32(at)hotmail(dot)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(at)gmail(dot)com>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jerry LeVan 2007-01-16 02:52:56 Collating Question...
Previous Message Jorge Godoy 2007-01-16 02:46:56 Re: Linking tables and indexes