Is it possible to have 2 physical partitions instead of the default 10 in Azure Cosmos DB? -
is possible have 2 physical partitions instead of default 10 in azure cosmos db?
we switched partitioned collection have better performance on aggregate queries. since have 2.500 ru/s entire collection, leaves 250 ru/s per physical partition (cosmos db automatically creates 10 physical partition).
we improve ru/s per partition, without scaling ru/s whole collection. having fewer partitions benefit us.
-edit-
the azure support changed default collection size 20gb 2 physical partitions us. in way have higher performance per physical partition. since performance set on collection level , divided amount of physical partitions.
the support said not possible alter partition size, physical partition in azure kosmos db fixed 10gb. when need more storage there no other way setting higher ru/s collection maintain same level of performance per partition.
is possible have 2 physical partitions instead of default 10 in azure cosmos db?
the number of partitions determined cosmos db based on storage size , provisioned throughput of container (collections (for document), graphs, or tables), , partition management managed azure cosmos db. after collection created, throughput (ru/s) enabled modified via azure portal. jesse carter said, seems no direct way control number of physical partitions.
for detailed information partitioning in azure cosmos db, please check this article.
Comments
Post a Comment