Azure Table Storage: Table Entities

Azure Table Storage is the storage service optimized for storing structured data. Table Entities are the basic units of data that can be stored in Azure Table Storage, Table. Table entities are equivalent to rows in a relational database table. In other words, Entities are collections of properties and each property is represented as a key-value pair. The three main system properties for table entities are the following:

PartitionKey: This property stores the partition key of the partition that the table entity belongs to. If two or more entities have the same partition key, they will be stored in the same partition. Partitions will be discussed in more detail in a future post.

RowKey: A partition can have multiple table entities. The RowKey property contains the key which identifies the entity uniquely within the Partition.

TimeStamp: This property stores the last modified date/time value for the table entity. An alternative name for this property is version. The Azure Table service maintains the value for the timestamp property during all insert and update operations.

The PartitionKey and RowKey together uniquely identify the table entity across Azure Table Storage. In other words, PartitionKey and RowKey form the composite primary key for the table entity.

Reference: https://docs.microsoft.com/en-us/rest/api/storageservices/designing-a-scalable-partitioning-strategy-for-azure-table-storage

2 thoughts on “Azure Table Storage: Table Entities

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: