|
From: BirgittaHauser
What happens if you stop and start collection of SQL Statistics?
Statistics are used by the SQE optimizer to determine the optimal index.
The statistics contain information about how much rows in a table meet the
available key values in an index.
For example if you want to select all order from a specified client and
around 80% of all orders are from this client, the optimizer will favor a
table scan instead of using an index. If an other client will be selected
an index can be used.
(...snip...)
BTW the CQE optimizer can only use estimates. For example for an =
specified
in a where condition 10% of the rows in a table are expected/estimated.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.