DynamoDB 테이블의 현재 웜 처리량 값을 확인한 후 다음 단계를 통해 업데이트할 수 있습니다.
DynamoDB 콘솔을 사용하여 DynamoDB 테이블의 웜 처리량 값을 확인하려면:
AWS Management Console에 로그인하고 https://console.aws.amazon.com/dynamodb/
에서 DynamoDB 콘솔을 엽니다. -
왼쪽 탐색 창에서 테이블을 선택합니다.
-
테이블 페이지에서 원하는 테이블을 선택합니다.
-
웜 처리량 필드에서 편집을 선택합니다.
-
웜 처리량 편집 페이지에서 웜 처리량 증가를 선택합니다.
-
초당 읽기 단위와 초당 쓰기 단위를 조정합니다. 이 두 설정은 테이블이 즉시 처리할 수 있는 처리량을 정의합니다.
-
저장을 선택합니다.
-
요청이 처리를 완료하면 초당 읽기 단위와 초당 쓰기 단위가 웜 처리량 필드에 업데이트됩니다.
참고
웜 처리량 값을 업데이트하는 것은 비동기 작업입니다. 업데이트가 완료되면
Status
가ACTIVE
에서UPDATING
으로 변경됩니다.
다음 AWS CLI 예제에서는 DynamoDB 테이블의 웜 처리량 값을 업데이트하는 방법을 보여줍니다.
-
DynamoDB 테이블에서
update-table
작업을 실행합니다.aws dynamodb update-table \ --table-name GameScores \ --warm-throughput ReadUnitsPerSecond=12345,WriteUnitsPerSecond=4567 \ --global-secondary-index-updates \ "[ { \"Update\": { \"IndexName\": \"GameTitleIndex\", \"WarmThroughput\": { \"ReadUnitsPerSecond\": 88, \"WriteUnitsPerSecond\": 77 } } } ]" \ --region us-east-1
-
아래와 비슷한 응답을 받게 됩니다.
WarmThroughput
설정은ReadUnitsPerSecond
및WriteUnitsPerSecond
로 표시됩니다.Status
는 웜 처리량 값이 업데이트될 때는UPDATING
, 새 웜 처리량 값이 설정되었을 때는ACTIVE
가 됩니다.{ "TableDescription": { "AttributeDefinitions": [ { "AttributeName": "GameTitle", "AttributeType": "S" }, { "AttributeName": "TopScore", "AttributeType": "N" }, { "AttributeName": "UserId", "AttributeType": "S" } ], "TableName": "GameScores", "KeySchema": [ { "AttributeName": "UserId", "KeyType": "HASH" }, { "AttributeName": "GameTitle", "KeyType": "RANGE" } ], "TableStatus": "ACTIVE", "CreationDateTime": 1730242189.965, "ProvisionedThroughput": { "NumberOfDecreasesToday": 0, "ReadCapacityUnits": 20, "WriteCapacityUnits": 10 }, "TableSizeBytes": 0, "ItemCount": 0, "TableArn": "arn:aws:dynamodb:us-east-1:XXXXXXXXXXXX:table/GameScores", "TableId": "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "GlobalSecondaryIndexes": [ { "IndexName": "GameTitleIndex", "KeySchema": [ { "AttributeName": "GameTitle", "KeyType": "HASH" }, { "AttributeName": "TopScore", "KeyType": "RANGE" } ], "Projection": { "ProjectionType": "INCLUDE", "NonKeyAttributes": [ "UserId" ] }, "IndexStatus": "ACTIVE", "ProvisionedThroughput": { "NumberOfDecreasesToday": 0, "ReadCapacityUnits": 50, "WriteCapacityUnits": 25 }, "IndexSizeBytes": 0, "ItemCount": 0, "IndexArn": "arn:aws:dynamodb:us-east-1:XXXXXXXXXXXX:table/GameScores/index/GameTitleIndex", "WarmThroughput": { "ReadUnitsPerSecond": 50, "WriteUnitsPerSecond": 25, "Status": "UPDATING" } } ], "DeletionProtectionEnabled": false, "WarmThroughput": { "ReadUnitsPerSecond": 12300, "WriteUnitsPerSecond": 4500, "Status": "UPDATING" } } }
다음 SDK 예제에서는 DynamoDB 테이블의 웜 처리량 값을 업데이트하는 방법을 보여줍니다.