We'll create fresh WordPress site with Beyond Wpdb installed. You have 20 minutes to test the plugin after that site we'll be deleted.
※ 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.
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.
=
or EXISTS
are allowed.suppress_filters
is false.The actual table names are prefixed with $table_prefix.
* postmeta_beyond (for posts table)
* usermeta_beyond (for users table)
* commentmeta_beyond (for comment table)
The actual table names are prefixed with $table_prefix.
* postmeta_beyond
* post_id(int)
* json(json)
* usermeta_beyond
* post_id(int)
* json(json)
* commentmeta_beyond
* post_id(int)
* json(json)
{ "state": "Wisconsin", "city": "Winter" }
ex1 ) Create 100 posts and 50 meta data for each post. Combine them 9 times.
postmeta_beyond
postmeta
ex2 ) 10,000 posts, 1 meta per post. meta_key is category.
Add a virtual column(category) to postmeta_beyond and put an index,
and compare it to the case without adding a virtual column.
postmeta_beyond(with virtual column)
postmeta_beyond(without virtual column)
suppress_filters
is false.