Index Rebuild might slow down or even fail when indexing large catalogs in Sitecore Experience Commerce. This happens because the current delta load process automatically clears the cache for catalog items after loading.
To make the index rebuild faster, upgrade the instance to Sitecore Experience Commerce 9.3.0 or later.