문서 DB(Amazon DocumentDB)
지금까지 우리는 다음을 배웠습니다.
이 기사에서는 다음 데이터베이스 Amazon DocumentDB에 대해 알아봅니다.
Amazon DocumentDB란 무엇입니까?
Amazon DocumentDB (with MongoDB compatibility) is a fast, reliable, and fully managed database service. Amazon DocumentDB makes it easy to set up, operate, and scale MongoDB-compatible databases in the cloud. With Amazon DocumentDB, you can run the same application code and use the same drivers and tools that you use with MongoDB.

Amazon DocumentDB를 언제 선택해야 하는지 어떻게 알 수 있습니까?
문서를 저장할 수 있고 데이터의 모든 속성을 쿼리할 수 있는 빠른 액세스를 제공하는 데이터베이스를 찾고 있다면 Amazon DocumentDB가 선택의 DB입니다.
업계 Amazon DocumentDB 사용 사례에는 어떤 것이 있습니까?
이제 Amazon DocumentDB에 대한 일반적인 아이디어를 얻었으므로 계속해서 더 깊이 파고들어 Amazon DocumentDB 리소스를 탐색하고 구축해 보겠습니다.
MongoDB에 익숙한 경우 Amazon DocumentDB는 다음 기능에 대한 액세스를 제공합니다.
참고: Amazon DocumentDB는 이 기능 목록을 제공하지만 현재 알려진 모든 MongoDB 기능을 제공하지는 않습니다. 이 DB를 사용하실 예정이시라면 참고하시기 바랍니다.
Amazon DocumentDB에 대한 몇 가지 중요한 특징을 살펴보겠습니다.
아마존 문서DB
Performance:
- Automatically storage grows in size as your data volume increase
- Storage volume increase in increments of 10 GB, up to a maximum of 64 TiB
- Can add replicas in minutes regardless of the storage volume size
- Provides a reader endpoint, so the application can connect without having to track replicas as they are added and removed
- Collection size
(sum of all collections can't exceed cluster limit) – does not include the index size 32 TB
- Collections per cluster 100,000
- Databases per cluster 100,000
- Document nesting depth 100 levels
- Document size 16 MB
- Index key size 2,048 bytes
- Indexes per collection 64
- Keys in a compound index 32
- Maximum number of writes in a single batch command 100,000
- Number of users per cluster 1000
Scalability:
- Amazon DocumentDB, can increase read throughput to support high-volume application requests by creating up to 15 replica instances
- Replicas share the same underlying storage, lowering costs and avoiding the need to perform writes at the replica nodes
- Scale compute and memory resources for each of your instances up or down. Compute scaling operations typically complete in a few minutes.
Availability:
- Often down to single digit milliseconds
- Continuously monitors the health of cluster
- On an instance failure automatically restarts the instance and associated processes
- Doesn't require a crash recovery replay of database redo logs, which greatly reduces restart times
- Automates failover to one of up to 15 replicas that one create in other Availability Zones
- Enables point-in-time recovery for each cluster. This feature allows you to restore your cluster to any second during your retention period, up to the last 5 minutes
- Backup retention period up to 35 days
Security:
- Runs in an Amazon Virtual Private Cloud (Amazon VPC)
- Can configure firewall settings to control network access to clusters
- Can encrypt your databases using keys that you create and control through AWS Key Management Service (AWS KMS)
- Encryption in transit for a cluster is managed via the TLS parameter
- Identity and Access Management (IAM)
이러한 제한 사항 중 일부는 조정 가능하고 다른 제한 사항은 조정할 수 없습니다.
아 맞다 구축 중입니다 👷 이제 Terraform을 사용하여 이 데이터베이스를 구축하겠습니다
Terraform 코드 이전:
resource "aws_docdb_cluster" "doc_db" {
cluster_identifier = "docdb-cluster-name"
engine = "docdb"
master_username = "user_name"
master_password = "Always_use_complex_password"
backup_retention_period = 10
preferred_backup_window = "00:00-01:00"
skip_final_snapshot = true
}
도표

참조:
https://docs.aws.amazon.com/documentdb/latest/developerguide/limits.html
Reference
이 문제에 관하여(문서 DB(Amazon DocumentDB)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/aws-builders/the-document-db-amazon-documentdb-56fo텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)