Subject | Re: [firebird-support] Question about PLANs |
---|---|
Author | sugi |
Post date | 2003-12-06T11:31:15Z |
> The optimizer recalculates plan on every statement thus if content hasI need some confirmation on this: If the 'index selectivity' is not
> changed then the PLAN can change too. Note! That selectivity what optimizer
> uses to calculate cost is not updated after every insert/delete. That means
> it could be that selectivity value is not accurate. Although the change
> between 5 and 15 records is not big ;-). You can force recalculate of index
> with SET STATISTICS statement if needed.
recalculated after insert/delete, does this mean that we have to
manually issue 'set statistics' every now and then? Or is there any
automatic recalcuation behind the screen?
Thanks,
sugi.