| From: | Bo Lorentsen <bl(at)netgroup(dot)dk> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Index optimization ? |
| Date: | 2005-01-19 06:40:18 |
| Message-ID: | 41EE00D2.20508@netgroup.dk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Florian G. Pflug wrote:
> Because the _whole_ _point_ of an index is to find matching rows
> _without_ scanning the whole table. IF you have to look at every row
> anyway, then just might as well to an sequential scan.
I am sorry it took me this long to understand this, but I think I got it
now thanks to all Your (all in this thread) efforts to make me :-)
What confuses me was the difference between what controls a query and
what filters a row in a selected data set, I just could not see the
difference, but that have changed :-) I think the problem was I just
could not see the general principles from the special case where I
thought I had the use for this index lookup.
Thanks to anyone for there effort to make me understand, hope I will be
a faster learner next time :-)
/BL
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bo Lorentsen | 2005-01-19 06:50:51 | Re: Index optimization ? |
| Previous Message | Michael Fuhr | 2005-01-19 06:31:54 | Re: update in triggers |