【问题标题】:Can not Index Magento with more than 2 million of product不能用超过 200 万的产品索引 Magento
【发布时间】:2015-01-24 08:06:39
【问题描述】:

我有一个包含大约 200 万种产品的网站,我在进行重新索引时遇到了问题。我曾尝试使用 SSH php indexer.php --reindexall 来做到这一点,但它花费了太多时间,我也尝试使用以下命令一一完成:

php indexer.php --reindex catalog_product_attribute
php indexer.php --reindex catalog_product_price
php indexer.php --reindex catalog_url
php indexer.php --reindex catalog_product_flat
php indexer.php --reindex catalog_category_flat
php indexer.php --reindex catalog_category_product
php indexer.php --reindex catalogsearch_fulltext
php indexer.php --reindex cataloginventory_stock

但问题出在这三个

    php indexer.php --reindex catalog_product_price
    php indexer.php --reindex catalog_url
    php indexer.php --reindex catalog_product_flat

显示错误General error: 1206 The total number of locks beyond the lock table size'

  1. 我已添加并将innodb_buffer_pool_size增加到40G,语法如下innodb_buffer_pool_size = 4G并重新启动mysql。

  2. 我已从 var/locks 中删除了所有索引文件,并尝试再次重新建立索引,但问题相同。

请建议我如何解决这个问题?

【问题讨论】:

    标签: php magento magento-1.7


    【解决方案1】:

    清除此索引表:“index_event”

    如果不是 Rewrite URL in admin side,Rewrite URL table 也很清楚:“core_url_rewrite”

    删除此文件夹位置中的文件:magento/var/locks

    比重新索引后。

    【讨论】:

      猜你喜欢
      • 2011-06-16
      • 1970-01-01
      • 2023-03-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多