frigon
frigon

Reputation: 5129

Azure Table Sharing Partition Key Across Tables

I'm hoping to keep common data from the same user partitioned together. Normally I'd just use the same partition key to accomplish that but in this case the data is in different tables. E.g users, photos, friends, etc

I have seen it explicitly stated but I assume that even if I use the partition key across tables that I won't be able to accomplish this. Can anyone validate or disprove?

Upvotes: 0

Views: 144

Answers (1)

Emily Gerner
Emily Gerner

Reputation: 2457

Data with the same partition key but in different tables has no guarantee of being on the same server. If you check out the Storage Table Design Guide, particularly the section titled 'Table Partitions', you'll find 'The account name, table name and PartitionKey together identify the partition within the storage service where the table service stores the entity.' That guide may help you clarify this question and anything related.

Upvotes: 3

Related Questions