Re: Rule-based vs Cost-based Optimizer?
From: Rich Bromberg <bromberg_at_hobbes>
Date: 15 Mar 1995 16:15:15 GMT
Message-ID: <3k73qj$34b_at_potogold.rmii.com>
Date: 15 Mar 1995 16:15:15 GMT
Message-ID: <3k73qj$34b_at_potogold.rmii.com>
Tony Bravo (tbrav_at_ctp.com) wrote:
: Hi there,
: Does anyone have any comments regarding the cost based optimizer
: (which presumably now works bug-free) in 7.1.4.1.0 ?
: Has anyone done a comparison between rule and cost-based?
: Thanks
: Tony Bravo
: tbrav_at_ctp.com
We have been using the cost-based optimizer in a 7.0.16 and 7.1.3 instance, and have observed a number of extremely poor 'decisions' by the optimizer. In some situations, valid indexes were ignored on very large tables which resulted in full table scans. Merge-joins will also sort on full table scans of large objects. We ran the same queries with rule-based, and cut the run-time from hours to minutes.