跳到主要内容
  2019年4月4日,星期四
  1 回覆
  4.2K 访问量
  订阅
嗨,我正在使用wp meta seo插件一段时间。我不确定这是否是发布问题的正确位置。但是我没有找到支持或报告区域。

目前,我看到服务器的性能问题。我分析了这一点,并找到了这个插件。 The plugin is requesting my database with a query like this:

SELECT *
FROM wordpress_xxxx.wp_wpms_links
WHERE (link_url = '/xxxx'
AND link_url != "/";)
OR type = "add_rule"
OR type = "add_custom"

With 700.000 entries this query in a simple database client takes round about 2,5 seconds and the result contains 0 rows.
So,我在表格上看到的是:没有索引,






不是link_url列
嗨,韦斯特,

感谢您的反馈,我们将介绍这些索引,当然会添加它以提高查询性能。

您可以毫无问题地添加索引,它将仅在数据库中使用更多空间来创建索引。
具有link_url和类型列的单个索引应大大增加响应时间。

此致
  • 页 :
  • 1
目前还没有回复。