[GENERAL] Postgresql 7.4.8 inconsistent index usage

2005-07-08 Thread Stephen Bowman
Hello, I'm experiencing inconsistent usage of an index that I cannot explain. This is in postgresql 7.4.8. Details are as follows: I have a relatively large table (~3.5 million rows): SCANS=# \d nessus_results; Table "public.nessus_results" Column

Re: [GENERAL] Postgresql 7.4.8 inconsistent index usage

2005-07-08 Thread Stephen Bowman
On 7/8/05, Michael Fuhr <[EMAIL PROTECTED]> wrote: > On Fri, Jul 08, 2005 at 11:11:46AM -0400, Stephen Bowman wrote: > > > > SCANS=# explain select * from nessus_results where scan_id = 55; > >

Re: [GENERAL] Postgresql 7.4.8 inconsistent index usage

2005-07-08 Thread Stephen Bowman
On 7/8/05, Michael Fuhr <[EMAIL PROTECTED]> wrote: > On Fri, Jul 08, 2005 at 12:04:07PM -0400, Stephen Bowman wrote: > > > > Clearly it needs to use the index =) > > Indeed -- now to figure out why the estimates for index scans are > so high. The row count estimates