File tree Expand file tree Collapse file tree
docs/t-sql/database-console-commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ms.topic: "language-reference"
99dev_langs :
1010 - " TSQL"
1111ms.assetid : 73f598cf-b02a-4dba-8d89-9fc0b55a12b8
12- author : XiaoyuL-Preview
12+ author : XiaoyuMSFT
1313ms.author : xiaoyul
1414monikerRange : " = azure-sqldw-latest || = sqlallproducts-allversions"
1515---
@@ -27,7 +27,6 @@ Shows the storage space used result set caching for an Azure [!INCLUDE[ssSDW](..
2727DBCC SHOWRESULTCACHESPACEUSED
2828[;]
2929```
30-
3130## Remarks
3231
3332The ` DBCC SHOWRESULTCACHESPACEUSED ` command doesn't take any parameters and returns the space used by the database where the command is run.
@@ -43,6 +42,16 @@ Users can manually empty the result set cache for a database by turning OFF the
4342
4443Requires VIEW SERVER STATE permission.
4544
45+ ## Result Sets
46+
47+ | Column| Data Type| Description|
48+ | ------------| ---------------| -----------------|
49+ | reserved_space| bigint| Total space used for the database, in KB. This number will change as the cached result set increases.|
50+ | data_space| bigint| Space used for data, in KB.|
51+ | index_space| bigint| Space used for indexes, in KB.|
52+ | unused_space| bigint| Space that is part of the reserved space and not used, in KB.|
53+
54+
4655## See also
4756
4857[ ALTER DATABASE SET Options ( ; Transact-SQL) ; ] ( /sql/t-sql/statements/alter-database-transact-sql-set-options?view=azure-sqldw-latest ) </br >
You can’t perform that action at this time.
0 commit comments