If just using 2 RowKeys with AND
operator(without PartitionKey),it will do table scan.
Here are some suggestions:
1.You can use range query if possible. Then you can specify the filter like $filter=PartitionKey eq 'xxx' and RowKey ge '1606780800000' and RowKey le '1606784400000'
. But you need to write more than one queries if there're one more than PartitionKeys.
2.If you still use this query: ( RowKey ge '1606780800000' and RowKey le '1606784400000' )
. At this time, if the requested items
are more than 1000, the query can only return a maximum of 1000 items at one time. So in this case, you should use x-ms-continuation-NextPartitionKey
and x-ms-continuation-NextRowKey
in your query. See this doc for more details.