SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.004179
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT COUNT(*) AS total_resources, SUM(resource.rating_sum) AS rating_sum,
SUM(resource.rating_count) AS rating_count,
MAX(resource.last_update) AS last_update
FROM xf_resource AS resource
WHERE (resource.user_id = 108) AND (resource.resource_category_id IN (89, 2, 5, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 6, 40, 41, 42, 3, 7, 8, 9, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 10, 56, 57, 58, 17, 87, 11, 59, 60, 13, 12, 77, 75, 76, 16, 61, 62, 14, 15, 78, 79, 80, 82, 88, 81, 84, 85, 86, 18, 19, 20, 21, 63, 64, 65, 22, 23, 66, 67, 24, 25, 68, 69, 70, 71, 26, 27, 72, 73, 74)) AND (resource.resource_state IN ('visible'))
Run Time: 0.000817
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | resource | ref | category_last_update,category_rating_weighted,user_id_last_update | user_id_last_update | 4 | const | 10 | Using where |