Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 7fa20e7

Browse files
authored
Merge pull request #11196 from XiaoyuMSFT/XiaoyuMSFTbranch
add output column definition
2 parents 64aef1d + 1be87b3 commit 7fa20e7

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

docs/t-sql/database-console-commands/dbcc-showresultcachespaceused-transact-sql.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.topic: "language-reference"
99
dev_langs:
1010
- "TSQL"
1111
ms.assetid: 73f598cf-b02a-4dba-8d89-9fc0b55a12b8
12-
author: XiaoyuL-Preview
12+
author: XiaoyuMSFT
1313
ms.author: xiaoyul
1414
monikerRange: "= azure-sqldw-latest || = sqlallproducts-allversions"
1515
---
@@ -27,7 +27,6 @@ Shows the storage space used result set caching for an Azure [!INCLUDE[ssSDW](..
2727
DBCC SHOWRESULTCACHESPACEUSED
2828
[;]
2929
```
30-
3130
## Remarks
3231

3332
The `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

4443
Requires 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 &#40;Transact-SQL&#41;](/sql/t-sql/statements/alter-database-transact-sql-set-options?view=azure-sqldw-latest)</br>

0 commit comments

Comments
 (0)