title | description | ms.service | ms.subservice | ms.topic | ms.date | author | ms.author | ms.reviewer | ms.devlang |
---|---|---|---|---|---|---|---|---|---|
Azure Table Storage support in Azure Cosmos DB |
Learn how Azure Cosmos DB for Table and Azure Table Storage work together by sharing the same table data model and operations. |
cosmos-db |
table |
how-to |
03/07/2023 |
seesharprun |
sidandrews |
mjbrown |
cpp |
[!INCLUDETable]
Azure Cosmos DB for Table and Azure Table Storage share the same table data model and expose the same create, delete, update, and query operations through their SDKs.
Note
The serverless capacity mode is now available on Azure Cosmos DB API for Table. For more information, see Azure Cosmos DB serverless.
[!INCLUDE storage-table-cosmos-comparison]
The following SDK packages work with both the Azure Cosmos DB for Table and Table Storage.
-
.NET. Use the Azure.Data.Tables available on NuGet.
-
Python. Use the azure-data-tables available from PyPi.
-
JavaScript/TypeScript. Use the @azure/data-tables package available on npm.js.
-
Java. Use the azure-data-tables package available on Maven.
The following SDK packages work only with Azure Cosmos DB for Table.
-
.NET. Azure.Data.Tables available on NuGet. The Azure Tables client library can seamlessly target either Table Storage or Azure Cosmos DB for Table service endpoints with no code changes.
-
Python. azure-cosmosdb-table available from PyPi. This SDK connects with both Table Storage and Azure Cosmos DB for Table.
-
JavaScript/TypeScript. azure-storage package available on npm.js. This Azure Storage SDK has the ability to connect to Azure Cosmos DB accounts using the API for Table.
-
Java. Microsoft Azure Storage Client SDK for Java on Maven. This Azure Storage SDK has the ability to connect to Azure Cosmos DB accounts using the API for Table.
-
C++. Azure Storage Client Library for C++. This library enables you to build applications against Azure Storage.
-
Ruby. Azure Storage Table Client Library for Ruby. This project provides a Ruby package that makes it easy to access Azure storage Table services.
-
PHP. Azure Storage Table PHP Client Library. This project provides a PHP client library that makes it easy to access Azure storage Table services.
-
PowerShell. AzureRmStorageTable PowerShell module. This PowerShell module has cmdlets to work with storage Tables.