Azure Table Storage stores structured, nonrelational data as entities containing typed properties. Tables do not enforce a fixed schema, so entities in the same table can have different properties. Each entity can contain up to 252 application-defined properties, in addition to its three system properties, and has a maximum size of 1 MiB. Storage capacity is governed by the limits of the containing storage account rather than a provisioned size for each table.
Every entity has a PartitionKey and RowKey, whose combination uniquely identifies it within a table. These string properties form the service's index and are the foundation of query performance. A point read specifying both keys is the most efficient retrieval pattern. A query specifying one partition and a row-key range can efficiently retrieve related records, whereas filtering only on other properties requires scanning entities. Table Storage does not provide automatic secondary indexes, joins, foreign keys, or stored procedures.
Design keys around the application's dominant access patterns, expected request distribution, and transaction boundaries. For a tenant-scoped application, a tenant identifier can be a useful partition key, but a large or busy tenant can create a hot partition. Sharding a tenant across multiple partition keys can distribute load, at the cost of additional queries and narrower transaction boundaries. Row keys sort lexicographically, so encode dates, counters, and composite values consistently when range queries depend on their ordering.
The service supports insert, replace, merge, upsert, delete, and query operations through its REST API and Azure Tables SDKs. Use merge updates when only selected properties should change and replace updates when the supplied entity should replace existing application properties. ETags support optimistic concurrency: submit the expected ETag when an update must fail rather than overwrite a concurrent change. Entity group transactions provide atomic operations within one table and partition, with a maximum of 100 operations and a total payload below 4 MiB.
Queries are paginated and can return continuation tokens even when a page contains fewer results than requested. Applications must continue until no continuation token remains rather than treating a short page as completion. Use bounded concurrency and retry transient failures with exponential backoff. Avoid retrieving entire entities when a projection of selected properties is sufficient, and implement explicit cleanup jobs if records require expiration; Table Storage does not provide automatic per-entity time-to-live deletion.
Prefer Microsoft Entra ID authentication with managed identities and appropriate table data roles instead of distributing storage account keys. Table-level role assignments do not restrict access to individual partitions. When clients need temporary direct access, issue narrowly scoped shared access signatures; user delegation SAS supports delegation without signing tokens with account keys. Use HTTPS, configure network restrictions or a private endpoint for the table service, and verify private DNS resolution from application networks.
Data is encrypted at rest, and durability depends on the storage account's supported redundancy configuration. Monitor latency, request volume, availability, and throttling symptoms alongside application telemetry. Azure Cosmos DB for Table is a separate service that shares the Azure Tables SDK programming model but has different indexing, distribution, limits, and pricing; validate those differences before migrating an application.