What is Azure Table Storage?

Azure Table Storage is a service that stores large amounts of structured, non-relational data. It's a NoSQL key-attribute store, meaning it stores data as collections of properties (attributes). It's ideal for applications that need a high degree of scalability and availability for their data, and can tolerate eventual consistency.

Key characteristics of Azure Table Storage:

Key Concepts

Tables

A table is a collection of entities. There's no schema enforced on the columns in a table, which allows you to save different data types within the same table.

Entities

An entity is a record, similar to a row in a database. An entity can have any number of properties. All entities in a table don't need to have the same set of properties.

Properties

A property is a name-value pair within an entity, similar to a column in a database. Each entity can have up to 252 properties, in addition to the three system properties: PartitionKey, RowKey, and Timestamp.

PartitionKey and RowKey

Every entity in a table must have two keys: PartitionKey and RowKey. These two properties together form the primary key of the entity. They are used to partition and uniquely identify an entity:

For example, if you are storing customer data, you might use the CustomerID as the RowKey and perhaps the State or Country as the PartitionKey to group customers geographically.

Important: The combination of PartitionKey and RowKey must be unique for each entity.

System Properties

When to Use Azure Table Storage

Azure Table Storage is an excellent choice for:

Tip: For scenarios requiring complex queries, transactions across multiple entities, or strict schema enforcement, consider Azure Cosmos DB or Azure SQL Database.

Key Benefits

Limitations

Next Steps

Explore the following resources to get started with Azure Table Storage: