Want to read 25 Million records of Data (3.656384GB) through DynamoDB which method should i apply on demand or provisioned , can someone plz help with how much will it cost?

0

Hi,

I need help in knowing the pricing for provisioned table as I want to read data from Dynamo DB table having 25 million read with same schema, as i cannot used the sized of the file is 3.656384GB (3656384 kb). I Don't use that table that much frequently thrice in a month or maybe will read from it for 5 times in a month. I am unsure what table type to use on Demand or Provisioned and what will be the pricing if i go with on demand and if i go with Provisioned? Would appreciate help in this concern.

feita há um ano1152 visualizações
2 Respostas
1

On-demand

Price

On-demand pricing for reads is $0.25 per million read request units.

1 read unit is defined as one strongly consistent read of an item which is up to 4KB in size.

Cost

  • Read units required: (3.656384 gigabytes) / (4 kilobytes) = 914 096 read units

  • Strongly Consistent: 914096 * 0.25 / 1000000 = $0.22

  • Eventually Consistent: 914096 * 0.25 / 1000000 / 2 = $0.11

Provisioned

Price

Provisioned pricing is $0.00013 per RCU per hour.

Cost

  • Read units required: Depends how quickly you need to read the data. Lets assume you can consume 250 RCU, that would allow you to read the data in approximately 1 hour

  • Strongly Consistent: 250 *0.00013 = $0.03

  • Eventually Consistent: 250 *0.00013 / 2 = $0.016


Advice

My advice to you is to make yourself familiar with the Pricing Docs and also with the DynamoDB Capacity Docs, that will help you make the choice based on your specific needs.

profile pictureAWS
ESPECIALISTA
respondido há um ano
0

The easiest pricing model to understand is on-demand because it's based only on usage. Also there's no need to move a provisioned amount up or down, which is great when you want to do some rare activity.

To scan 3.6 GB in on-demand mode will require approximately 3,600,000,000 bytes / 4,096 per read-request-unit / 2 for eventual consistency = 439,453 read request units. The price in us-east-1 for these is you get a million for 25c. That means it's about 12 cents to do a full table scan of a 3.6 GB table.

I'd leave the table as on-demand and with 5 full scans a month you're under $1.

AWS
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas