IntroductiontoOptimizerStatistics

The optimizer cost model relies on statistics collected about the objects involved in a query, and the database and host where the query runs.

Statistics are critical to the optimizer's ability to pick the best execution plan for a SQL statement.

Optimizer statistics include the following:

Table statistics

Number of rows
Number of blocks
Average row length

Column statistics

Number of distinct values (NDV) in a column
Number of nulls in a column
Data distribution (histogram)
Extended statistics

Index statistics

Number of leaf blocks
Number of levels
Index clustering factor
System statistics

I/O performance and utilization
CPU performance and utilization
As shown in Figure 10-1, the database stores optimizer statistics for tables, columns, indexes, and the system in the data dictionary. You can access these statistics using data dictionary views.

Introduction to Optimizer Statistics

十余年的临河网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。网络营销推广的优势是能够根据用户设备显示端的尺寸不同,自动调整临河建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。创新互联建站从事“临河网站设计”,“临河网站推广”以来,每个客户项目都认真落实执行。


分享题目:IntroductiontoOptimizerStatistics
网站地址:http://hxwzsj.com/article/iejdhd.html

其他资讯

Copyright © 2025 青羊区翔捷宏鑫字牌设计制作工作室(个体工商户) All Rights Reserved 蜀ICP备2025123194号-14
友情链接: 手机网站设计 重庆电商网站建设 营销型网站建设 高端网站设计 上市集团网站建设 外贸网站设计方案 成都网站设计公司 手机网站制作 成都网站制作 外贸网站建设 企业网站建设 成都网站设计 响应式网站设计方案 成都商城网站建设 营销型网站建设 成都网站建设 重庆手机网站建设 成都网站制作 成都网站制作 成都网站建设公司 成都网站建设流程 成都网站建设