Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Query multiple RowKeys in Azure

This post from 2010 says

Query7: PartitionKey == "A" and (RowKey == "A" or RowKey == “F”) 
This results in scanning the entire Partition "A".

Is this still the case for the current version of Azure?

Should I prefer two parallel queries or the syntax above when my partition contains only ~20 rows?

like image 260
laktak Avatar asked Jan 30 '26 17:01

laktak


1 Answers

I found an answer from Joe Giardino, Microsoft:

If you want several non contiguous row keys, then issuing separate but parallel individual queries of below form will perform better. When you specify both PartitionKey and RowKey the query is considered a "PointQuery" which is the most performant option.

 a) PartitionKey == “MyPK” && RowKey == “FirstRK”
 b) PartitionKey == “MyPK” && RowKey == “SecondRK"
like image 108
laktak Avatar answered Feb 03 '26 11:02

laktak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!