Jetpack Sync running 800s+ SQL queries
-
I noticed some 800+ second queries in my MySQL slow log monitoring, and tracked them down to a couple classes/functions in the Automattic\Jetpack\Sync\Replicastore namespace.
I believe it’s the Table_Checksum::build_checksum_query() function causing what I’m seeing, but it may also be Table_Checksum_Users::build_checksum_query(). The function runs a query that starts “SELECT SUM( CRC32( CONCAT_WS(” and this is what’s sometimes taking over 800 seconds to run.
I don’t know what “Jetpack Sync” is, or why it’s enabled by default, or why it thinks it’s a good idea to try and checksum entire tables like this, or why there’s no control to disable it in the settings, but if it’s nothing to do with stats collection (which is all we use/need Jetpack for) then I’d very much appreciate if you could let me know how I can disable it, please.
The page I need help with: [log in to see the link]
- The topic ‘Jetpack Sync running 800s+ SQL queries’ is closed to new replies.