Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

What is the max duration for the creation of a DynamoDB GSI?

I understand that whenever I create a Global Secondary Index (GSI) for a DynamoDB table it will take some time to create that GSI (depending on table size).

From what I understood, loading the items from the base table to the GSI only consumes the WCU of the GSI.

Let’s assume I have a DynamoDB table with Terrabytes of data in it.
if I create a GSI with 1 WCU, how long will it take for the GSI to be created (if all the items and values have to be projected)?
Could it be high values such as multiple months ? (the doc states it takes around 5 minutes)

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It could take a really long time yes. You’ll be writing 1 item per second, so if you have 1 Billion items it will take 1 Billion seconds to create.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading