Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Multiple calls to wp_options

$
0
0

Replies: 0

Hey Robin,

I was doing some performance tuning on a site, and New Relic flagged some calls from bbPress Style pack.
Here’s an example:
SELECT option_value FROM wp_options WHERE option_name = ‘bsp_roles’ LIMIT 1

It looks like there are on the order of ~20 of these calls happening for each page that bbpress style pack is on for different options from wp_options. I wonder whether it’s possible to group these all into a single call, and whether that would be more efficient?

FWIW the wp_options in question has ~2,500 rows and is ~300 KB in size


Viewing all articles
Browse latest Browse all 59525

Trending Articles