SELECT data_key, data_value FROM xf_data_registry WHERE data_key IN ('addOns', 'addOnsComposer', 'autoJobRun', 'bbCodeMedia', 'classExtensions', 'codeEventListeners', 'connectedAccountCount', 'contentTypes', 'displayStyles', 'helpPageCount', 'languages', 'masterStyleProperties', 'nodeTypes', 'options', 'reactions', 'reportCounts', 'simpleCache', 'smilies', 'unapprovedCounts', 'userBanners', 'userTitleLadder', 'userUpgradeCount', 'widgetCache', 'widgetDefinition', 'widgetPosition', 'bannedIps', 'bbCodeCustom', 'discouragedIps', 'forumTypes', 'notices', 'noticesLastReset', 'routeFilters', 'routesPublic', 'styles', 'userFieldsInfo', 'threadFieldsInfo', 'threadPrefixes', 'threadTypes')
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | 38 | Using where |
SELECT cache_value FROM xf_permission_combination WHERE permission_combination_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 |
SELECT `xf_trophy`.*, `xf_th_userimprovements_trophy_category_THUITrophyCategory_1`.* FROM `xf_trophy` LEFT JOIN `xf_th_userimprovements_trophy_category` AS `xf_th_userimprovements_trophy_category_THUITrophyCategory_1` ON (`xf_th_userimprovements_trophy_category_THUITrophyCategory_1`.`trophy_category_id` = `xf_trophy`.`th_trophy_category_id`) WHERE (`xf_trophy`.`trophy_id` = '5') LIMIT 1
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_trophy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_th_userimprovements_trophy_category_THUITrophyCategory_1 | const | PRIMARY | PRIMARY | 152 | const | 0 | unique row not found |
SELECT `xf_trophy`.* FROM `xf_trophy` ORDER BY `xf_trophy`.`trophy_points` ASC
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_trophy | ALL | 9 | Using filesort |
SELECT COUNT(*) FROM `xf_user_trophy` LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_user_trophy`.`user_id`) WHERE (`xf_user_trophy`.`trophy_id` = 5) AND (`xf_user_User_1`.`user_state` = 'valid') AND (`xf_user_User_1`.`is_banned` = 0)
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_user_trophy | ref | PRIMARY,user_id_award_date | PRIMARY | 4 | const | 1559 | Using index |
SIMPLE | xf_user_User_1 | eq_ref | PRIMARY,user_state | PRIMARY | 4 | db624634433.xf_user_trophy.user_id | 1 | Using where |
SELECT `xf_user_trophy`.*, `xf_user_User_1`.*, `xf_user_option_Option_2`.*, `xf_user_profile_Profile_3`.* FROM `xf_user_trophy` LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_user_trophy`.`user_id`) LEFT JOIN `xf_user_option` AS `xf_user_option_Option_2` ON (`xf_user_option_Option_2`.`user_id` = `xf_user_User_1`.`user_id`) LEFT JOIN `xf_user_profile` AS `xf_user_profile_Profile_3` ON (`xf_user_profile_Profile_3`.`user_id` = `xf_user_User_1`.`user_id`) WHERE (`xf_user_trophy`.`trophy_id` = 5) AND (`xf_user_User_1`.`user_state` = 'valid') AND (`xf_user_User_1`.`is_banned` = 0) ORDER BY `xf_user_trophy`.`award_date` DESC LIMIT 20 OFFSET 1280
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_user_trophy | ref | PRIMARY,user_id_award_date | PRIMARY | 4 | const | 1559 | Using where; Using filesort |
SIMPLE | xf_user_User_1 | eq_ref | PRIMARY,user_state | PRIMARY | 4 | db624634433.xf_user_trophy.user_id | 1 | Using where |
SIMPLE | xf_user_option_Option_2 | eq_ref | PRIMARY | PRIMARY | 4 | db624634433.xf_user_trophy.user_id | 1 | |
SIMPLE | xf_user_profile_Profile_3 | eq_ref | PRIMARY | PRIMARY | 4 | db624634433.xf_user_trophy.user_id | 1 |
SELECT view_date FROM xf_session_activity WHERE user_id = ? AND unique_key = ?