Custom Database Table
-
Has ModernTribe considered (or have future plans), to migrate Event Calendar cpts (events, venues, organizers) to a custom Database table?
The clear benefit would be scalability. In dev tests (I a site created 15 events under 3 venues and 2 organizers, and then duplicated the base structure for each using 3 Pods APTs), the database query went from .387ms to .00742. And on my live site, with ‘just’ 300 events, and an assortment of posts and pages I’m definitely feeling the slowdown on all wp queries.
A custom table would get rid of all the extra metaata rows, that currentlty impact every query on the site, TEC specific or not
Pods approach specifically means that each cpt only has one row in wp_post (basically a postid and then the link to the custom table info). It’s also the direction many other transformative plugins are going: woo and EDD, geodirectory, and more.Would love to hear your thoughts on the matter (and if you’re on board, maybe even consider submitting a PR – we’ve been looking for ways to give back to the project).
- The topic ‘Custom Database Table’ is closed to new replies.