Index build is taking very long and failing on Documentdb. How to resolve that?

0

Hi,

I am trying to create DocumentDB Multi-Key index. It is getting failed and taking too much time. Please help me to resolve that.

Sombir
질문됨 10달 전372회 조회
1개 답변
3
수락된 답변

There could be 2 possible reasons.

  • Amazon DocumentDB utilizes local storage on an instance as part of the index creation process. You can monitor this disk usage using the FreeLocalStorage CloudWatch metric (CloudWatch -> Metrics -> DocDB -> Instance Metrics). When an index build consumes all of the local disk and fails, you will receive an error. You can try to scale the instance and then re try index creation.
  • Background index builds in Amazon DocumentDB do not start until all queries on the primary instance that started before the index build was initiated complete executing. If there is a long running query, background index builds will block until the query finishes and thus can take longer than expected to complete. This is true even if collections are empty

https://docs.aws.amazon.com/documentdb/latest/developerguide/troubleshooting.index-creation.html

AWS
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인