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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ