Magento CE 2.2巨大的目录索引问题

Mis*_*age 8 mysql indexing magento2

更新至最新的Magento 2.2.5

索引:catalogsearch_fulltext永远不会完成.

目录尺寸: -

Store View: 10
Category: 33K 
Products: 300K 
Run Code Online (Sandbox Code Playgroud)

以下索引需要花费大量时间(2 + hr)才能完成:

catalog_product_category
catalog_product_attribute
Run Code Online (Sandbox Code Playgroud)

并且索引永远不会完成

catalogsearch_fulltext
Run Code Online (Sandbox Code Playgroud)

使用Mirasvit的弹性搜索.

Totak Mysql数据库大小= ~30 + GB

仍然没有索引的结果

小智 2

This is happening because of multiple store view, is actually easy to manage; in Magento 2.2.5, indexers are scoped and multi-threaded to support reindexing in parallel mode. This feature reduces processing time. It parallelizes by the indexer\xe2\x80\x99s dimension and executes across multiple threads. This means that you can catalogsearch_fulltext can be run in parallel mode:\nthe following command runs the Catalog Search Fulltext indexer across three threads:

\n\n

MAGE_INDEXER_THREADS_COUNT=3 php -f bin/magento indexer:reindex catalogsearch_fulltext

\n\n

了解更多https://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-index.html#view-indexer-status

\n