CREATE STATISTICS (Transact-SQL)

CREATE STATISTICS (Transact-SQL)

Creates query optimization statistics on one or more columns of a table, an indexed view, or an external table. For most queries, the query optimizer already generates the necessary statistics for a high-quality query plan; in a few cases, you need to create additional statistics with CREATE STATISTICS or modify the query design to improve query performance.

 

 

SQL语句调优 - 统计信息的含义与作用及维护计算

 

 

 

 

posted @ 2022-06-14 15:34  ChuckLu  阅读(56)  评论(0)    收藏  举报