0

我们有 4000 种产品,4 家商店和大约 80 个类别。我们正在运行具有 SSD 的专用 DB 服务器,并遵循优化 DB 和 App Server 的白皮书。每个产品还有 12 个自定义选项。现在索引非常慢。有什么建议么。减少商店中的类别数量等会有什么不同吗?

问候,

史蒂夫

4

2 回答 2

0

Reduce Catalog price rules if in use Reduce all attributes not required for Search Index - the default Magento install includes attributes like "Tax Status" in the Search Index and then this is multiplied 4x for your multi stores Same can be said for URL rewrites - 4x increase

12 custom options per product ? Could common attributes be used instead ?

Run indexing from SSH rather than from the Magento admin In the web root in the shell/ folder you will find indexer.php php indexer.php --help will give you some options You can then time each of the nine indexes to see which is taking the most time which may help narrow the problem down By running from command line you can increase the php memory limit just for that one process which may improve results

I set up a cron job to re-index the site in off peak times and in Magento admin, change to Manual Update only

于 2012-07-25T10:13:18.643 回答
0

使用多存储设置时,索引会显着减慢。在我们的一台服务器上,单个商店设置中的 3000 种产品需要大约 60 秒来索引所有内容。但是多商店设置(7 家商店)中的 3000 种产品可能需要长达 10 分钟。我们将其设置为仅手动索引。您可以将索引设置为在 cron 上运行,这可能会对您有所帮助。(在服务器上投入更多资源显然也会有所帮助)。

于 2012-07-25T10:10:15.423 回答