Opened 3 years ago
Last modified 3 years ago
#54479 new enhancement
Set_blog_id performance
Reported by: | wladwm | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | General | Keywords: | has-patch reporter-feedback |
Focuses: | multisite, performance | Cc: |
Description
On multisite many plugins switches blog (wbdb->set_blog_id) many times (few thousands).
There is a performance impact in wpdb->tables method.
Simple caching reduces overall execution time.
Change History (3)
This ticket was mentioned in PR #1925 on WordPress/wordpress-develop by wladwm.
3 years ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
https://core.trac.wordpress.org/ticket/54479#ticket
Add tables names caching for multisite in wpdb->set_blog_id to improved performance with blogs switching.
Trac ticket: https://core.trac.wordpress.org/ticket/54479