Beyond Wpdb
※ Table names have been changed since v2.0.Please delete the meta_json table and reactivate it in the options screen. Are you having trouble with slow queries due to WordPress table structure? This plugin helps your site speed up using JSON type columns, one of the features of MySQL, and prevents co
※ Table names have been changed since v2.0.Please delete the meta_json table and reactivate it in the options screen.
Are you having trouble with slow queries due to WordPress table structure? This plugin helps your site speed up using JSON type columns, one of the features of MySQL, and prevents complex queries while maintaining the flexibility of WordPress development. You can also add a virtual column in the configuration page and index the virtual column to make it even faster.You can also add a virtual column in the configuration page and index the virtual column to make it even faster.
Features
If a large amount of meta data is given to 1 post/user/comment and a complex meta_query is specified, a large number of inner joins will occur, which will slow down the execution of the query. The effect will be noticeable especially when the number of records is large. This plugin avoids complex joins and prevents slowdowns by storing all the meta data for 1 post/user/comment in a JSON type column in a custom meta table. The dedicated configuration page includes a check for group_concat_max_len, a function to measure consistency of meta table and its custom meta table, and the ability to add virtual columns, add a The ability to create indexes. Indexes on virtual columns to make it even faster.
Actual Behavior
- You can create and delete json tables and triggers and data for each json table on the configuration page.
- Create virtual columns and indexes for the json table you created in the configuration page.
- If you add a virtual column to the json table in the configuration page, the SQL is converted to face the virtual column.
- Converts the SQL that WordPress auto-generates when using the default APIs of get_posts, Wp_Query, and etc. into a simple SQL that combines the posts/users/comment table with its own meta table.
- The custom meta table automatically stores data using MySQL and MariaDB triggers.
Conversion Conditions
- Both the value in meta_key and meta_value is specified.
- If meta_compare_key is specified, only = or EXISTS are allowed.