最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Custom Post Type + ACF and performance

programmeradmin1浏览0评论
Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 5 years ago.

Improve this question

I'm developing a custom plugin for a rather large website.

Currently I'm using Custom Post Types (over 10 types), all of them have several Advanced Custom Fields to store their data.

It is expected that there will be over 100k custom posts at some future point (rather sooner than later). ACF uses the wp_postmeta table, and stores each field in a seperate table row, which could lead to over 1 million entries in the postmeta table.

I have little experience with a project of this size, so my question is: is it safe to use ACF (and CPT's) in this case performance-wise?

Or would it be better if I added a custom table for each post type, that stores all the custom fields of a post in ONE table row?

发布评论

评论列表(0)

  1. 暂无评论