Can AWS DocumentDB have something similar to a hot partitioning issue?

0
  1. Can we have custom ObjectIds for DocumentDB?
  2. If we can have customer ObjectIds for DocumentDB, do we need to keep in mind any possibility of hot key while choosing the objectId?
질문됨 2년 전209회 조회
1개 답변
0

1/ I assume that the question is about the _id field. Yes, DocumentDB allows setting custom ObjectId values in this field as long as the values are unique for each document in a collection.

2/ DocumentDB does not partition data. All writes go through the primary instance in the cluster and any primary key can be read from any of the read replicas. You will not have hot keys in the same sense as other products like DynamoDB and S3.

There are other considerations that you should keep in mind to maintain good performance. See https://docs.aws.amazon.com/documentdb/latest/developerguide/best_practices.html

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠