View a markdown version of this page

Check your DynamoDB table’s current warm throughput - Amazon DynamoDB

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

Check your DynamoDB table’s current warm throughput

Usa le seguenti istruzioni AWS CLI e le istruzioni AWS della Console per controllare l'attuale valore di throughput caldo della tabella o dell'indice.

Per controllare il throughput a caldo di una tabella DynamoDB utilizzando la console DynamoDB:

  1. Accedi Console di gestione AWS e apri la console DynamoDB all'indirizzo. https://console.aws.amazon.com/dynamodb/

  2. Nel riquadro di navigazione a sinistra, selezionare Tables (Tabelle).

  3. Nella pagina Tabelle, seleziona la tabella desiderata.

  4. Nella pagina dei dettagli della tabella, visualizza il tuo attuale valore di warm throughput nel campo Warm throughput. Questo valore viene visualizzato come unità di lettura al secondo e unità di scrittura al secondo.

L' AWS CLI esempio seguente mostra come controllare l'elevato throughput della tabella DynamoDB.

  1. Esegui l’operazione describe-table sulla tabella DynamoDB.

    aws dynamodb describe-table --table-name GameScores
  2. Riceverai una risposta simile a quella seguente. Le impostazioni sul WarmThroughput verranno visualizzate come ReadUnitsPerSecond eWriteUnitsPerSecond. Status risulterà UPDATING quando verrà aggiornato il valore di throughput a caldo e ACTIVE quando sarà stato impostato il nuovo valore di throughput a caldo.

    { "Table": { "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": 1726128388.729, "ProvisionedThroughput": { "NumberOfDecreasesToday": 0, "ReadCapacityUnits": 0, "WriteCapacityUnits": 0 }, "TableSizeBytes": 0, "ItemCount": 0, "TableArn": "arn:aws:dynamodb:us-east-1:XXXXXXXXXXXX:table/GameScores", "TableId": "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "BillingModeSummary": { "BillingMode": "PAY_PER_REQUEST", "LastUpdateToPayPerRequestDateTime": 1726128388.729 }, "GlobalSecondaryIndexes": [ { "IndexName": "GameTitleIndex", "KeySchema": [ { "AttributeName": "GameTitle", "KeyType": "HASH" }, { "AttributeName": "TopScore", "KeyType": "RANGE" } ], "Projection": { "ProjectionType": "INCLUDE", "NonKeyAttributes": [ "UserId" ] }, "IndexStatus": "ACTIVE", "ProvisionedThroughput": { "NumberOfDecreasesToday": 0, "ReadCapacityUnits": 0, "WriteCapacityUnits": 0 }, "IndexSizeBytes": 0, "ItemCount": 0, "IndexArn": "arn:aws:dynamodb:us-east-1:XXXXXXXXXXXX:table/GameScores/index/GameTitleIndex", "WarmThroughput": { "ReadUnitsPerSecond": 12000, "WriteUnitsPerSecond": 4000, "Status": "ACTIVE" } } ], "DeletionProtectionEnabled": false, "WarmThroughput": { "ReadUnitsPerSecond": 12000, "WriteUnitsPerSecond": 4000, "Status": "ACTIVE" } } }