| From: | "Jose Antonio Leo" <jaleo8(at)storelandia(dot)com> |
|---|---|
| To: | "pgsql-general" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: RV: bad result in a query!! hopeless |
| Date: | 2002-10-16 13:36:31 |
| Message-ID: | AEEGKNMMPPBJJDLEJDODKELOCJAA.jaleo8@storelandia.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
-----Mensaje original-----
De: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org]En nombre de Richard Huxton
Enviado el: miércoles, 16 de octubre de 2002 15:14
Para: Jose Antonio Leo
CC: pgsql-general
Asunto: Re: [GENERAL] RV: bad result in a query!! hopeless
>Because it will have to check the index 75,000 times and then fetch that
>many records from the table. That means it's probably going to read all
>the disk-blocks anyway, so the index is just complicating things.
ok
>You might find a partial index helps a little on the descriptions, but
>it won,t do much. See the docs on CREATE INDEX .... WHERE
You thinks is better a partial index or a view or both?
Jose antonio Leo
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Doug McNaught | 2002-10-16 13:39:34 | Re: Queries take forever on ported database from MSSQL -> Postgresql |
| Previous Message | Robert John Shepherd | 2002-10-16 13:30:09 | Queries take forever on ported database from MSSQL -> Postgresql |