【问题标题】:Magento CE 2.2 Huge Catalog Indexing IssueMagento CE 2.2 巨大的目录索引问题
【发布时间】:2018-12-28 09:38:00
【问题描述】:

更新到最新的 Magento 2.2.5

索引:catalogsearch_fulltext 永远不会完成。

目录大小:-

Store View: 10
Category: 33K 
Products: 300K 

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

catalog_product_category
catalog_product_attribute

并且以下索引永远不会完成

catalogsearch_fulltext

也使用 Mirasvit 的 Elastic Search。

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

索引仍然没有结果

【问题讨论】:

  • 让我们看看SQL命令。

标签: mysql indexing magento2


【解决方案1】:

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’s dimension and executes across multiple threads. This means that you can catalogsearch_fulltext can be run in parallel mode: thefollowing command runs the Catalog Search Fulltext indexer across three threads:

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-09-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多