I have a table with close to 2 billion rows already created in DynamoDB.
Due to a query requirement, I had to create a Global Secondary Index(GSI) in it. The process of GSI creation started 36 hours ago but still isn't completed. Portal shows Item Count to be around 100 million. So long way to go.
Questions:
- Why does it take such a long time when sufficient WCU and RCU are alotted( 30k in fact ).
- GSI partition key I've used is something whose values are repetitive, could that be the reason why GSI creation is taking more time (ideal scenario is that we select a partition key which doesn't repeat for items to span across multiple partitions).
- Is there a way to abort the creation of GSI while the process is on? it doesn't allow through AWS console.
Thanks.