본문 바로가기
AWS

DynamoDB 의 파티션키

by DOSGamer 2020. 2. 17.
반응형

https://aws.amazon.com/ko/blogs/database/choosing-the-right-dynamodb-partition-key/

 

Choosing the Right DynamoDB Partition Key | Amazon Web Services

This blog post covers important considerations and strategies for choosing the right partition key for designing a schema that uses Amazon DynamoDB. Choosing the right partition key is an important step in the design and building of scalable and reliable a

aws.amazon.com

RDB 만 사용하다가 AWS DynamoDB 를 설계하려고 하면

개념의 차이로 인해서 어려움을 겪게 된다

 

정말 정말 중요한 내용

  • Primary Key = Partition Key + Sort Key  라는 것
  • Sort Key 는 옵션이라는 것
  • Partition Key 가 Partitioning 의 기준이라는 것
  • 단일 파티션내에 3000 RCU , 1000 WCU 한계가 있다는 것
  • Sort Key 만 검색이 된다는 것
  • 조회 조건이 나와야 Table 설계를 할 수 있다는 것

 

이런 점들은 사용해봐야 (겪어봐야) 왜 그런지를 알 수 있는 것이다

잘 한번 써보자

반응형