如何监视SQL Server索引的总大小

本文关注如何监视SQL Server索引大小,包括使用SQL Server Management Studio的预定义报告查看单个索引大小,获取数据库中索引的完整列表,以及检查特定数据库中索引的总大小,以优化数据库性能和防止存储空间不足的问题。
摘要由CSDN通过智能技术生成

SQL Server索引概述 ( SQL Server indexes overview )

Just like a book index, SQL Server index has a similar purpose, to provide faster searching, gathering and sorting of information from a database, without need to go through all of the objects over and over. Instead, an index provides the gateway between the table rows and query engine, in order to achieve better both database and query performance.

就像书本索引一样, SQL Server索引也具有类似的目的,即提供更快的搜索,收集和排序数据库信息的功能,而无需一遍又一遍地遍历所有对象。 取而代之的是,索引提供了表行与查询引擎之间的网关,以实现更好的数据库性能和查询性能。

Indexes are not just another type of database object, because they can be also considered as a query performance optimization method, if they are created and used properly.

索引不仅仅是数据库对象的另一种类型,因为如果索引被正确创建和使用,它们也可以被视为查询 性能优化方法

In this article, the focus will be on how to monitor SQL Server indexes size.

在本文中,重点将放在如何监视SQL Server索引大小上。

监视SQL Server索引大小 ( Monitor SQL Server indexes size )

As database objects stored on a disk, indexes could impact negatively the storage and overall database performance.

由于数据库对象存储在磁盘上,因此索引可能会对存储和整体数据库性能产生负面影响。

In order to prevent unexpected SQL Server indexes growth and database storage overwhelming, the follow monitoring methods which will be mentioned below.

为了防止意外SQL Server索引增长和数据库存储不堪重负,下面将介绍以下监视方法。

Each of the methods described will separately provide the solution to monitor:

所描述的每种方法将分别提供监视解决方案:

  • individual index size with Disk usage by table pre-defined reports in SQL Server Management Studio
  • SQL Server Management Studio中的预定义报告提供的单个索引大小和
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值