Skip to content

Commit b670cb4

Browse files
authored
Merge pull request #18960 from MicrosoftDocs/WilliamDAssafMSFT-patch-1
Update row-compression-implementation.md
2 parents 9e02182 + f08d0c8 commit b670cb4

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

docs/relational-databases/data-compression/row-compression-implementation.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: "Row Compression Implementation | Microsoft Docs"
2+
title: "Row Compression Implementation"
33
description: Learn how the SQL Server Database Engine implements row compression to help you plan the storage space that you need for your data.
44
ms.custom: ""
5-
ms.date: "06/30/2016"
5+
ms.date: "03/27/2021"
66
ms.prod: sql
77
ms.prod_service: "database-engine, sql-database"
88
ms.reviewer: ""
@@ -11,7 +11,6 @@ ms.topic: conceptual
1111
helpviewer_keywords:
1212
- "compression [SQL Server], row"
1313
- "row compression [Database Engine]"
14-
ms.assetid: dcd97ac1-1c85-4142-9594-9182e62f6832
1514
author: WilliamDAssafMSFT
1615
ms.author: wiassaf
1716
monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current"
@@ -41,8 +40,8 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
4140
|**smallint**|Yes|If the value fits in 1 byte, only 1 byte will be used.|
4241
|**int**|Yes|Uses only the bytes that are needed. For example, if a value can be stored in 1 byte, storage will take only 1 byte.|
4342
|**bigint**|Yes|Uses only the bytes that are needed. For example, if a value can be stored in 1 byte, storage will take only 1 byte.|
44-
|**decimal**|Yes|This storage is exactly same as the vardecimal storage format.|
45-
|**numeric**|Yes|This storage is exactly same as the vardecimal storage format.|
43+
|**decimal**|Yes|Uses only the bytes that are needed, regardless of the precision specified. For example, if a value can be stored in 3 bytes, storage will take only 3 byte. The storage footprint is exactly the same as the vardecimal storage format.|
44+
|**numeric**|Yes|Uses only the bytes that are needed, regardless of the precision specified. For example, if a value can be stored in 3 bytes, storage will take only 3 byte. The storage footprint is exactly the same as the vardecimal storage format.|
4645
|**bit**|Yes|The metadata overhead brings this to 4 bits.|
4746
|**smallmoney**|Yes|Uses the integer data representation by using a 4-byte integer. Currency value is multiplied by 10000 and the resulting integer value is stored by removing any digits after the decimal point. This type has a storage optimization similar to that for integer types.|
4847
|**money**|Yes|Uses the integer data representation by using an 8-byte integer. Currency value is multiplied by 10000 and the resulting integer value is stored by removing any digits after the decimal point. This type has a larger range than **smallmoney**. This type has a storage optimization similar to that for integer types.|

0 commit comments

Comments
 (0)