admin管理员组文章数量:1426463
I made this custom code that makes Comment into Review with star-rating. The star is saved as comment_karma
.
In the Product Archive page, I want to show text like this: "25 people 5-starred this" in each thumbnail.
I can easily get those data with get_comments()
. But I'm afraid it will put a heavy load on the server since comment_karma
column isn't INDEX.
So, will adding INDEX improves the performance? Is it safe?
Thanks
本文标签: Is it safe to add INDEX to a column in Wordpress database
版权声明:本文标题:Is it safe to add INDEX to a column in Wordpress database? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745477009a2660006.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论