| From: | "Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com> |
|---|---|
| To: | "Reg Me Please" <regmeplease(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Data comparison SQL in PG 8.2.9 |
| Date: | 2009-01-12 09:18:59 |
| Message-ID: | e373d31e0901120118v49584529k856d5b15142039ff@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> When queries used to be fast and now are slow very often depends upon the
> indexes. Less frequently upon the amount of memory available for cache and
> the server configuration.
> Do you used ti have any index on that column?
> Do you have server configuration files for comparison?
The config file is exactly the samea s the old PG version (8.2.3 --> 8.2.9).
All other queries work super fast. Perhaps faster in 8.2.9. Only the
date fields seem slower.
Yes, as I mentioned in my post the field is indexed (btree with fill factor of
Thomas, my slow queries are from a date that was yesterday, as I
mentioned. A ">" condition even for just yesterday takes about 10-15
seconds, where it used to take less than a second before.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Reg Me Please | 2009-01-12 09:26:13 | Re: Data comparison SQL in PG 8.2.9 |
| Previous Message | Reg Me Please | 2009-01-12 09:11:48 | Re: Data comparison SQL in PG 8.2.9 |