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_thread`.*, `xf_user_User_1`.*, `xf_forum_Forum_2`.*, `xf_node_Node_3`.*, `xf_permission_cache_content_Permissions_4`.* FROM `xf_thread` LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_thread`.`user_id`) LEFT JOIN `xf_forum` AS `xf_forum_Forum_2` ON (`xf_forum_Forum_2`.`node_id` = `xf_thread`.`node_id`) LEFT JOIN `xf_node` AS `xf_node_Node_3` ON (`xf_node_Node_3`.`node_id` = `xf_forum_Forum_2`.`node_id`) LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_4` ON (`xf_permission_cache_content_Permissions_4`.`content_type` = 'node' AND `xf_permission_cache_content_Permissions_4`.`content_id` = `xf_node_Node_3`.`node_id` AND `xf_permission_cache_content_Permissions_4`.`permission_combination_id` = '1') WHERE (`xf_thread`.`thread_id` = '144678') LIMIT 1
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_user_User_1 | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_forum_Forum_2 | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_node_Node_3 | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_permission_cache_content_Permissions_4 | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 |
SELECT `xf_post`.*, `xf_user_User_1`.*, `xf_user_option_Option_2`.*, `xf_user_profile_Profile_3`.*, `xf_user_privacy_Privacy_4`.*, `xf_permission_combination_PermissionCombination_5`.*, `xf_session_activity_Activity_6`.* FROM `xf_post` LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_post`.`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`) LEFT JOIN `xf_user_privacy` AS `xf_user_privacy_Privacy_4` ON (`xf_user_privacy_Privacy_4`.`user_id` = `xf_user_User_1`.`user_id`) LEFT JOIN `xf_permission_combination` AS `xf_permission_combination_PermissionCombination_5` ON (`xf_permission_combination_PermissionCombination_5`.`permission_combination_id` = `xf_user_User_1`.`permission_combination_id`) LEFT JOIN `xf_session_activity` AS `xf_session_activity_Activity_6` ON (`xf_session_activity_Activity_6`.`user_id` = `xf_user_User_1`.`user_id` AND `xf_session_activity_Activity_6`.`unique_key` = CONCAT(`xf_user_User_1`.`user_id`, '')) WHERE (`xf_post`.`thread_id` = 144678) AND ((`xf_post`.`message_state` IN ('visible'))) AND (`xf_post`.`position` >= 0) AND (`xf_post`.`position` < 20) ORDER BY `xf_post`.`position` ASC, `xf_post`.`post_date` ASC
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_post | ref | thread_id_post_date,thread_id_position,thread_id_score_date | thread_id_post_date | 4 | const | 1 | Using where; Using filesort |
SIMPLE | xf_user_User_1 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_post.user_id | 1 | |
SIMPLE | xf_user_option_Option_2 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_user_User_1.user_id | 1 | |
SIMPLE | xf_user_profile_Profile_3 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_user_User_1.user_id | 1 | |
SIMPLE | xf_user_privacy_Privacy_4 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_user_User_1.user_id | 1 | |
SIMPLE | xf_permission_combination_PermissionCombination_5 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_user_User_1.permission_combination_id | 1 | |
SIMPLE | xf_session_activity_Activity_6 | eq_ref | PRIMARY | PRIMARY | 22 | carder_admin_bd.xf_user_User_1.user_id,func | 1 | Using where |
INSERT INTO xf_thread_view (thread_id, total) VALUES (? , 1) ON DUPLICATE KEY UPDATE total = total + 1
SELECT `xf_node`.* FROM `xf_node` WHERE (`xf_node`.`display_in_list` = 1) ORDER BY `xf_node`.`lft` ASC
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_node | ALL | display_in_list | 131 | Using where; Using filesort |
SELECT `xf_category`.*, `xf_node_Node_1`.* FROM `xf_category` LEFT JOIN `xf_node` AS `xf_node_Node_1` ON (`xf_node_Node_1`.`node_id` = `xf_category`.`node_id`) WHERE (`xf_category`.`node_id` IN (1, 3, 46, 105, 122, 127, 4, 86))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_category | index | PRIMARY | PRIMARY | 4 | 8 | Using where; Using index | |
SIMPLE | xf_node_Node_1 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_category.node_id | 1 |
SELECT `xf_forum`.*, `xf_node_Node_1`.*, `xf_user_LastPostUser_2`.*, `xf_thread_LastThread_3`.* FROM `xf_forum` LEFT JOIN `xf_node` AS `xf_node_Node_1` ON (`xf_node_Node_1`.`node_id` = `xf_forum`.`node_id`) LEFT JOIN `xf_user` AS `xf_user_LastPostUser_2` ON (`xf_user_LastPostUser_2`.`user_id` = `xf_forum`.`last_post_user_id`) LEFT JOIN `xf_thread` AS `xf_thread_LastThread_3` ON (`xf_thread_LastThread_3`.`thread_id` = `xf_forum`.`last_thread_id`) WHERE (`xf_forum`.`node_id` IN (2, 5, 6, 7, 8, 9, 104, 82, 109, 108, 120, 121, 10, 63, 24, 76, 25, 13, 14, 70, 77, 71, 78, 15, 16, 19, 20, 69, 91, 81, 90, 17, 18, 27, 29, 11, 12, 52, 53, 22, 23, 26, 84, 59, 62, 101, 125, 21, 47, 56, 57, 106, 107, 48, 28, 80, 51, 79, 123, 124, 128, 67, 64, 30, 32, 31, 34, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 68, 89, 44, 45, 110, 111, 112, 113, 66, 75, 49, 50, 102, 103, 54, 55, 72, 74, 93, 100, 133, 134, 58, 83, 96, 135, 95, 115, 116, 117, 118, 119, 94, 131, 132, 73, 61, 99, 97, 98, 60, 85, 114, 87, 88))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_forum | ALL | PRIMARY | 123 | Using where | |||
SIMPLE | xf_node_Node_1 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_forum.node_id | 1 | |
SIMPLE | xf_user_LastPostUser_2 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_forum.last_post_user_id | 1 | |
SIMPLE | xf_thread_LastThread_3 | eq_ref | PRIMARY | PRIMARY | 4 | carder_admin_bd.xf_forum.last_thread_id | 1 |
SELECT content_id, cache_value FROM xf_permission_cache_content WHERE permission_combination_id = ? AND content_type = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 131 | Using where |
SELECT `xf_thread`.`thread_id` FROM `xf_thread` WHERE (xf_thread.title RLIKE 'Взгляды\\b') AND (xf_thread.title RLIKE 'ciso\\b') AND (xf_thread.title RLIKE 'на\\b') AND (`xf_thread`.`discussion_state` = 'visible') AND (`xf_thread`.`discussion_type` <> 'redirect') AND (`xf_thread`.`post_date` >= 0) AND (`xf_thread`.`thread_id` <> 144678) AND ((`xf_thread`.`node_id` = 1) OR (`xf_thread`.`node_id` = 2) OR (`xf_thread`.`node_id` = 5) OR (`xf_thread`.`node_id` = 6) OR (`xf_thread`.`node_id` = 7) OR (`xf_thread`.`node_id` = 8) OR (`xf_thread`.`node_id` = 9) OR (`xf_thread`.`node_id` = 104) OR (`xf_thread`.`node_id` = 82) OR (`xf_thread`.`node_id` = 109) OR (`xf_thread`.`node_id` = 108) OR (`xf_thread`.`node_id` = 120) OR (`xf_thread`.`node_id` = 121) OR (`xf_thread`.`node_id` = 3) OR (`xf_thread`.`node_id` = 10) OR (`xf_thread`.`node_id` = 63) OR (`xf_thread`.`node_id` = 24) OR (`xf_thread`.`node_id` = 76) OR (`xf_thread`.`node_id` = 25) OR (`xf_thread`.`node_id` = 13) OR (`xf_thread`.`node_id` = 14) OR (`xf_thread`.`node_id` = 70) OR (`xf_thread`.`node_id` = 77) OR (`xf_thread`.`node_id` = 71) OR (`xf_thread`.`node_id` = 78) OR (`xf_thread`.`node_id` = 15) OR (`xf_thread`.`node_id` = 16) OR (`xf_thread`.`node_id` = 19) OR (`xf_thread`.`node_id` = 20) OR (`xf_thread`.`node_id` = 69) OR (`xf_thread`.`node_id` = 91) OR (`xf_thread`.`node_id` = 81) OR (`xf_thread`.`node_id` = 90) OR (`xf_thread`.`node_id` = 17) OR (`xf_thread`.`node_id` = 18) OR (`xf_thread`.`node_id` = 27) OR (`xf_thread`.`node_id` = 29) OR (`xf_thread`.`node_id` = 11) OR (`xf_thread`.`node_id` = 12) OR (`xf_thread`.`node_id` = 52) OR (`xf_thread`.`node_id` = 53) OR (`xf_thread`.`node_id` = 22) OR (`xf_thread`.`node_id` = 23) OR (`xf_thread`.`node_id` = 26) OR (`xf_thread`.`node_id` = 84) OR (`xf_thread`.`node_id` = 59) OR (`xf_thread`.`node_id` = 62) OR (`xf_thread`.`node_id` = 101) OR (`xf_thread`.`node_id` = 125) OR (`xf_thread`.`node_id` = 46) OR (`xf_thread`.`node_id` = 21) OR (`xf_thread`.`node_id` = 47) OR (`xf_thread`.`node_id` = 56) OR (`xf_thread`.`node_id` = 57) OR (`xf_thread`.`node_id` = 105) OR (`xf_thread`.`node_id` = 106) OR (`xf_thread`.`node_id` = 107) OR (`xf_thread`.`node_id` = 48) OR (`xf_thread`.`node_id` = 28) OR (`xf_thread`.`node_id` = 80) OR (`xf_thread`.`node_id` = 51) OR (`xf_thread`.`node_id` = 79) OR (`xf_thread`.`node_id` = 122) OR (`xf_thread`.`node_id` = 123) OR (`xf_thread`.`node_id` = 124) OR (`xf_thread`.`node_id` = 127) OR (`xf_thread`.`node_id` = 128) OR (`xf_thread`.`node_id` = 4) OR (`xf_thread`.`node_id` = 67) OR (`xf_thread`.`node_id` = 64) OR (`xf_thread`.`node_id` = 30) OR (`xf_thread`.`node_id` = 32) OR (`xf_thread`.`node_id` = 31) OR (`xf_thread`.`node_id` = 34) OR (`xf_thread`.`node_id` = 33) OR (`xf_thread`.`node_id` = 35) OR (`xf_thread`.`node_id` = 36) OR (`xf_thread`.`node_id` = 37) OR (`xf_thread`.`node_id` = 38) OR (`xf_thread`.`node_id` = 39) OR (`xf_thread`.`node_id` = 40) OR (`xf_thread`.`node_id` = 41) OR (`xf_thread`.`node_id` = 42) OR (`xf_thread`.`node_id` = 43) OR (`xf_thread`.`node_id` = 68) OR (`xf_thread`.`node_id` = 89) OR (`xf_thread`.`node_id` = 44) OR (`xf_thread`.`node_id` = 45) OR (`xf_thread`.`node_id` = 110) OR (`xf_thread`.`node_id` = 111) OR (`xf_thread`.`node_id` = 112) OR (`xf_thread`.`node_id` = 113) OR (`xf_thread`.`node_id` = 66) OR (`xf_thread`.`node_id` = 75) OR (`xf_thread`.`node_id` = 49) OR (`xf_thread`.`node_id` = 50) OR (`xf_thread`.`node_id` = 102) OR (`xf_thread`.`node_id` = 103) OR (`xf_thread`.`node_id` = 54) OR (`xf_thread`.`node_id` = 55) OR (`xf_thread`.`node_id` = 72) OR (`xf_thread`.`node_id` = 74) OR (`xf_thread`.`node_id` = 93) OR (`xf_thread`.`node_id` = 100) OR (`xf_thread`.`node_id` = 133) OR (`xf_thread`.`node_id` = 134) OR (`xf_thread`.`node_id` = 58) OR (`xf_thread`.`node_id` = 83) OR (`xf_thread`.`node_id` = 96) OR (`xf_thread`.`node_id` = 135) OR (`xf_thread`.`node_id` = 95) OR (`xf_thread`.`node_id` = 115) OR (`xf_thread`.`node_id` = 116) OR (`xf_thread`.`node_id` = 117) OR (`xf_thread`.`node_id` = 118) OR (`xf_thread`.`node_id` = 119) OR (`xf_thread`.`node_id` = 94) OR (`xf_thread`.`node_id` = 131) OR (`xf_thread`.`node_id` = 132) OR (`xf_thread`.`node_id` = 73) OR (`xf_thread`.`node_id` = 61) OR (`xf_thread`.`node_id` = 99) OR (`xf_thread`.`node_id` = 97) OR (`xf_thread`.`node_id` = 98) OR (`xf_thread`.`node_id` = 60) OR (`xf_thread`.`node_id` = 85) OR (`xf_thread`.`node_id` = 114) OR (`xf_thread`.`node_id` = 86) OR (`xf_thread`.`node_id` = 88)) ORDER BY `xf_thread`.`post_date` DESC LIMIT 5
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | index | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,node_id_sticky_state_vote_score | post_date | 4 | 9 | Using where; Backward index scan |
SELECT `xf_thread`.`thread_id` FROM `xf_thread` WHERE (xf_thread.title RLIKE 'Взгляды\\b') AND (xf_thread.title RLIKE 'ciso\\b') AND (`xf_thread`.`discussion_state` = 'visible') AND (`xf_thread`.`discussion_type` <> 'redirect') AND (`xf_thread`.`post_date` >= 0) AND (`xf_thread`.`thread_id` <> 144678) AND ((`xf_thread`.`node_id` = 1) OR (`xf_thread`.`node_id` = 2) OR (`xf_thread`.`node_id` = 5) OR (`xf_thread`.`node_id` = 6) OR (`xf_thread`.`node_id` = 7) OR (`xf_thread`.`node_id` = 8) OR (`xf_thread`.`node_id` = 9) OR (`xf_thread`.`node_id` = 104) OR (`xf_thread`.`node_id` = 82) OR (`xf_thread`.`node_id` = 109) OR (`xf_thread`.`node_id` = 108) OR (`xf_thread`.`node_id` = 120) OR (`xf_thread`.`node_id` = 121) OR (`xf_thread`.`node_id` = 3) OR (`xf_thread`.`node_id` = 10) OR (`xf_thread`.`node_id` = 63) OR (`xf_thread`.`node_id` = 24) OR (`xf_thread`.`node_id` = 76) OR (`xf_thread`.`node_id` = 25) OR (`xf_thread`.`node_id` = 13) OR (`xf_thread`.`node_id` = 14) OR (`xf_thread`.`node_id` = 70) OR (`xf_thread`.`node_id` = 77) OR (`xf_thread`.`node_id` = 71) OR (`xf_thread`.`node_id` = 78) OR (`xf_thread`.`node_id` = 15) OR (`xf_thread`.`node_id` = 16) OR (`xf_thread`.`node_id` = 19) OR (`xf_thread`.`node_id` = 20) OR (`xf_thread`.`node_id` = 69) OR (`xf_thread`.`node_id` = 91) OR (`xf_thread`.`node_id` = 81) OR (`xf_thread`.`node_id` = 90) OR (`xf_thread`.`node_id` = 17) OR (`xf_thread`.`node_id` = 18) OR (`xf_thread`.`node_id` = 27) OR (`xf_thread`.`node_id` = 29) OR (`xf_thread`.`node_id` = 11) OR (`xf_thread`.`node_id` = 12) OR (`xf_thread`.`node_id` = 52) OR (`xf_thread`.`node_id` = 53) OR (`xf_thread`.`node_id` = 22) OR (`xf_thread`.`node_id` = 23) OR (`xf_thread`.`node_id` = 26) OR (`xf_thread`.`node_id` = 84) OR (`xf_thread`.`node_id` = 59) OR (`xf_thread`.`node_id` = 62) OR (`xf_thread`.`node_id` = 101) OR (`xf_thread`.`node_id` = 125) OR (`xf_thread`.`node_id` = 46) OR (`xf_thread`.`node_id` = 21) OR (`xf_thread`.`node_id` = 47) OR (`xf_thread`.`node_id` = 56) OR (`xf_thread`.`node_id` = 57) OR (`xf_thread`.`node_id` = 105) OR (`xf_thread`.`node_id` = 106) OR (`xf_thread`.`node_id` = 107) OR (`xf_thread`.`node_id` = 48) OR (`xf_thread`.`node_id` = 28) OR (`xf_thread`.`node_id` = 80) OR (`xf_thread`.`node_id` = 51) OR (`xf_thread`.`node_id` = 79) OR (`xf_thread`.`node_id` = 122) OR (`xf_thread`.`node_id` = 123) OR (`xf_thread`.`node_id` = 124) OR (`xf_thread`.`node_id` = 127) OR (`xf_thread`.`node_id` = 128) OR (`xf_thread`.`node_id` = 4) OR (`xf_thread`.`node_id` = 67) OR (`xf_thread`.`node_id` = 64) OR (`xf_thread`.`node_id` = 30) OR (`xf_thread`.`node_id` = 32) OR (`xf_thread`.`node_id` = 31) OR (`xf_thread`.`node_id` = 34) OR (`xf_thread`.`node_id` = 33) OR (`xf_thread`.`node_id` = 35) OR (`xf_thread`.`node_id` = 36) OR (`xf_thread`.`node_id` = 37) OR (`xf_thread`.`node_id` = 38) OR (`xf_thread`.`node_id` = 39) OR (`xf_thread`.`node_id` = 40) OR (`xf_thread`.`node_id` = 41) OR (`xf_thread`.`node_id` = 42) OR (`xf_thread`.`node_id` = 43) OR (`xf_thread`.`node_id` = 68) OR (`xf_thread`.`node_id` = 89) OR (`xf_thread`.`node_id` = 44) OR (`xf_thread`.`node_id` = 45) OR (`xf_thread`.`node_id` = 110) OR (`xf_thread`.`node_id` = 111) OR (`xf_thread`.`node_id` = 112) OR (`xf_thread`.`node_id` = 113) OR (`xf_thread`.`node_id` = 66) OR (`xf_thread`.`node_id` = 75) OR (`xf_thread`.`node_id` = 49) OR (`xf_thread`.`node_id` = 50) OR (`xf_thread`.`node_id` = 102) OR (`xf_thread`.`node_id` = 103) OR (`xf_thread`.`node_id` = 54) OR (`xf_thread`.`node_id` = 55) OR (`xf_thread`.`node_id` = 72) OR (`xf_thread`.`node_id` = 74) OR (`xf_thread`.`node_id` = 93) OR (`xf_thread`.`node_id` = 100) OR (`xf_thread`.`node_id` = 133) OR (`xf_thread`.`node_id` = 134) OR (`xf_thread`.`node_id` = 58) OR (`xf_thread`.`node_id` = 83) OR (`xf_thread`.`node_id` = 96) OR (`xf_thread`.`node_id` = 135) OR (`xf_thread`.`node_id` = 95) OR (`xf_thread`.`node_id` = 115) OR (`xf_thread`.`node_id` = 116) OR (`xf_thread`.`node_id` = 117) OR (`xf_thread`.`node_id` = 118) OR (`xf_thread`.`node_id` = 119) OR (`xf_thread`.`node_id` = 94) OR (`xf_thread`.`node_id` = 131) OR (`xf_thread`.`node_id` = 132) OR (`xf_thread`.`node_id` = 73) OR (`xf_thread`.`node_id` = 61) OR (`xf_thread`.`node_id` = 99) OR (`xf_thread`.`node_id` = 97) OR (`xf_thread`.`node_id` = 98) OR (`xf_thread`.`node_id` = 60) OR (`xf_thread`.`node_id` = 85) OR (`xf_thread`.`node_id` = 114) OR (`xf_thread`.`node_id` = 86) OR (`xf_thread`.`node_id` = 88)) AND (`xf_thread`.`thread_id` <> 142718) ORDER BY `xf_thread`.`post_date` DESC LIMIT 4
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | index | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,node_id_sticky_state_vote_score | post_date | 4 | 7 | Using where; Backward index scan |
SELECT `xf_thread`.`thread_id` FROM `xf_thread` WHERE (xf_thread.title RLIKE 'Взгляды\\b') AND (`xf_thread`.`discussion_state` = 'visible') AND (`xf_thread`.`discussion_type` <> 'redirect') AND (`xf_thread`.`post_date` >= 0) AND (`xf_thread`.`thread_id` <> 144678) AND ((`xf_thread`.`node_id` = 1) OR (`xf_thread`.`node_id` = 2) OR (`xf_thread`.`node_id` = 5) OR (`xf_thread`.`node_id` = 6) OR (`xf_thread`.`node_id` = 7) OR (`xf_thread`.`node_id` = 8) OR (`xf_thread`.`node_id` = 9) OR (`xf_thread`.`node_id` = 104) OR (`xf_thread`.`node_id` = 82) OR (`xf_thread`.`node_id` = 109) OR (`xf_thread`.`node_id` = 108) OR (`xf_thread`.`node_id` = 120) OR (`xf_thread`.`node_id` = 121) OR (`xf_thread`.`node_id` = 3) OR (`xf_thread`.`node_id` = 10) OR (`xf_thread`.`node_id` = 63) OR (`xf_thread`.`node_id` = 24) OR (`xf_thread`.`node_id` = 76) OR (`xf_thread`.`node_id` = 25) OR (`xf_thread`.`node_id` = 13) OR (`xf_thread`.`node_id` = 14) OR (`xf_thread`.`node_id` = 70) OR (`xf_thread`.`node_id` = 77) OR (`xf_thread`.`node_id` = 71) OR (`xf_thread`.`node_id` = 78) OR (`xf_thread`.`node_id` = 15) OR (`xf_thread`.`node_id` = 16) OR (`xf_thread`.`node_id` = 19) OR (`xf_thread`.`node_id` = 20) OR (`xf_thread`.`node_id` = 69) OR (`xf_thread`.`node_id` = 91) OR (`xf_thread`.`node_id` = 81) OR (`xf_thread`.`node_id` = 90) OR (`xf_thread`.`node_id` = 17) OR (`xf_thread`.`node_id` = 18) OR (`xf_thread`.`node_id` = 27) OR (`xf_thread`.`node_id` = 29) OR (`xf_thread`.`node_id` = 11) OR (`xf_thread`.`node_id` = 12) OR (`xf_thread`.`node_id` = 52) OR (`xf_thread`.`node_id` = 53) OR (`xf_thread`.`node_id` = 22) OR (`xf_thread`.`node_id` = 23) OR (`xf_thread`.`node_id` = 26) OR (`xf_thread`.`node_id` = 84) OR (`xf_thread`.`node_id` = 59) OR (`xf_thread`.`node_id` = 62) OR (`xf_thread`.`node_id` = 101) OR (`xf_thread`.`node_id` = 125) OR (`xf_thread`.`node_id` = 46) OR (`xf_thread`.`node_id` = 21) OR (`xf_thread`.`node_id` = 47) OR (`xf_thread`.`node_id` = 56) OR (`xf_thread`.`node_id` = 57) OR (`xf_thread`.`node_id` = 105) OR (`xf_thread`.`node_id` = 106) OR (`xf_thread`.`node_id` = 107) OR (`xf_thread`.`node_id` = 48) OR (`xf_thread`.`node_id` = 28) OR (`xf_thread`.`node_id` = 80) OR (`xf_thread`.`node_id` = 51) OR (`xf_thread`.`node_id` = 79) OR (`xf_thread`.`node_id` = 122) OR (`xf_thread`.`node_id` = 123) OR (`xf_thread`.`node_id` = 124) OR (`xf_thread`.`node_id` = 127) OR (`xf_thread`.`node_id` = 128) OR (`xf_thread`.`node_id` = 4) OR (`xf_thread`.`node_id` = 67) OR (`xf_thread`.`node_id` = 64) OR (`xf_thread`.`node_id` = 30) OR (`xf_thread`.`node_id` = 32) OR (`xf_thread`.`node_id` = 31) OR (`xf_thread`.`node_id` = 34) OR (`xf_thread`.`node_id` = 33) OR (`xf_thread`.`node_id` = 35) OR (`xf_thread`.`node_id` = 36) OR (`xf_thread`.`node_id` = 37) OR (`xf_thread`.`node_id` = 38) OR (`xf_thread`.`node_id` = 39) OR (`xf_thread`.`node_id` = 40) OR (`xf_thread`.`node_id` = 41) OR (`xf_thread`.`node_id` = 42) OR (`xf_thread`.`node_id` = 43) OR (`xf_thread`.`node_id` = 68) OR (`xf_thread`.`node_id` = 89) OR (`xf_thread`.`node_id` = 44) OR (`xf_thread`.`node_id` = 45) OR (`xf_thread`.`node_id` = 110) OR (`xf_thread`.`node_id` = 111) OR (`xf_thread`.`node_id` = 112) OR (`xf_thread`.`node_id` = 113) OR (`xf_thread`.`node_id` = 66) OR (`xf_thread`.`node_id` = 75) OR (`xf_thread`.`node_id` = 49) OR (`xf_thread`.`node_id` = 50) OR (`xf_thread`.`node_id` = 102) OR (`xf_thread`.`node_id` = 103) OR (`xf_thread`.`node_id` = 54) OR (`xf_thread`.`node_id` = 55) OR (`xf_thread`.`node_id` = 72) OR (`xf_thread`.`node_id` = 74) OR (`xf_thread`.`node_id` = 93) OR (`xf_thread`.`node_id` = 100) OR (`xf_thread`.`node_id` = 133) OR (`xf_thread`.`node_id` = 134) OR (`xf_thread`.`node_id` = 58) OR (`xf_thread`.`node_id` = 83) OR (`xf_thread`.`node_id` = 96) OR (`xf_thread`.`node_id` = 135) OR (`xf_thread`.`node_id` = 95) OR (`xf_thread`.`node_id` = 115) OR (`xf_thread`.`node_id` = 116) OR (`xf_thread`.`node_id` = 117) OR (`xf_thread`.`node_id` = 118) OR (`xf_thread`.`node_id` = 119) OR (`xf_thread`.`node_id` = 94) OR (`xf_thread`.`node_id` = 131) OR (`xf_thread`.`node_id` = 132) OR (`xf_thread`.`node_id` = 73) OR (`xf_thread`.`node_id` = 61) OR (`xf_thread`.`node_id` = 99) OR (`xf_thread`.`node_id` = 97) OR (`xf_thread`.`node_id` = 98) OR (`xf_thread`.`node_id` = 60) OR (`xf_thread`.`node_id` = 85) OR (`xf_thread`.`node_id` = 114) OR (`xf_thread`.`node_id` = 86) OR (`xf_thread`.`node_id` = 88)) AND (`xf_thread`.`thread_id` <> 142718) ORDER BY `xf_thread`.`post_date` DESC LIMIT 4
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | index | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,node_id_sticky_state_vote_score | post_date | 4 | 7 | Using where; Backward index scan |
SELECT `xf_thread`.`thread_id` FROM `xf_thread` WHERE (xf_thread.title RLIKE 'ciso\\b') AND (`xf_thread`.`discussion_state` = 'visible') AND (`xf_thread`.`discussion_type` <> 'redirect') AND (`xf_thread`.`post_date` >= 0) AND (`xf_thread`.`thread_id` <> 144678) AND ((`xf_thread`.`node_id` = 1) OR (`xf_thread`.`node_id` = 2) OR (`xf_thread`.`node_id` = 5) OR (`xf_thread`.`node_id` = 6) OR (`xf_thread`.`node_id` = 7) OR (`xf_thread`.`node_id` = 8) OR (`xf_thread`.`node_id` = 9) OR (`xf_thread`.`node_id` = 104) OR (`xf_thread`.`node_id` = 82) OR (`xf_thread`.`node_id` = 109) OR (`xf_thread`.`node_id` = 108) OR (`xf_thread`.`node_id` = 120) OR (`xf_thread`.`node_id` = 121) OR (`xf_thread`.`node_id` = 3) OR (`xf_thread`.`node_id` = 10) OR (`xf_thread`.`node_id` = 63) OR (`xf_thread`.`node_id` = 24) OR (`xf_thread`.`node_id` = 76) OR (`xf_thread`.`node_id` = 25) OR (`xf_thread`.`node_id` = 13) OR (`xf_thread`.`node_id` = 14) OR (`xf_thread`.`node_id` = 70) OR (`xf_thread`.`node_id` = 77) OR (`xf_thread`.`node_id` = 71) OR (`xf_thread`.`node_id` = 78) OR (`xf_thread`.`node_id` = 15) OR (`xf_thread`.`node_id` = 16) OR (`xf_thread`.`node_id` = 19) OR (`xf_thread`.`node_id` = 20) OR (`xf_thread`.`node_id` = 69) OR (`xf_thread`.`node_id` = 91) OR (`xf_thread`.`node_id` = 81) OR (`xf_thread`.`node_id` = 90) OR (`xf_thread`.`node_id` = 17) OR (`xf_thread`.`node_id` = 18) OR (`xf_thread`.`node_id` = 27) OR (`xf_thread`.`node_id` = 29) OR (`xf_thread`.`node_id` = 11) OR (`xf_thread`.`node_id` = 12) OR (`xf_thread`.`node_id` = 52) OR (`xf_thread`.`node_id` = 53) OR (`xf_thread`.`node_id` = 22) OR (`xf_thread`.`node_id` = 23) OR (`xf_thread`.`node_id` = 26) OR (`xf_thread`.`node_id` = 84) OR (`xf_thread`.`node_id` = 59) OR (`xf_thread`.`node_id` = 62) OR (`xf_thread`.`node_id` = 101) OR (`xf_thread`.`node_id` = 125) OR (`xf_thread`.`node_id` = 46) OR (`xf_thread`.`node_id` = 21) OR (`xf_thread`.`node_id` = 47) OR (`xf_thread`.`node_id` = 56) OR (`xf_thread`.`node_id` = 57) OR (`xf_thread`.`node_id` = 105) OR (`xf_thread`.`node_id` = 106) OR (`xf_thread`.`node_id` = 107) OR (`xf_thread`.`node_id` = 48) OR (`xf_thread`.`node_id` = 28) OR (`xf_thread`.`node_id` = 80) OR (`xf_thread`.`node_id` = 51) OR (`xf_thread`.`node_id` = 79) OR (`xf_thread`.`node_id` = 122) OR (`xf_thread`.`node_id` = 123) OR (`xf_thread`.`node_id` = 124) OR (`xf_thread`.`node_id` = 127) OR (`xf_thread`.`node_id` = 128) OR (`xf_thread`.`node_id` = 4) OR (`xf_thread`.`node_id` = 67) OR (`xf_thread`.`node_id` = 64) OR (`xf_thread`.`node_id` = 30) OR (`xf_thread`.`node_id` = 32) OR (`xf_thread`.`node_id` = 31) OR (`xf_thread`.`node_id` = 34) OR (`xf_thread`.`node_id` = 33) OR (`xf_thread`.`node_id` = 35) OR (`xf_thread`.`node_id` = 36) OR (`xf_thread`.`node_id` = 37) OR (`xf_thread`.`node_id` = 38) OR (`xf_thread`.`node_id` = 39) OR (`xf_thread`.`node_id` = 40) OR (`xf_thread`.`node_id` = 41) OR (`xf_thread`.`node_id` = 42) OR (`xf_thread`.`node_id` = 43) OR (`xf_thread`.`node_id` = 68) OR (`xf_thread`.`node_id` = 89) OR (`xf_thread`.`node_id` = 44) OR (`xf_thread`.`node_id` = 45) OR (`xf_thread`.`node_id` = 110) OR (`xf_thread`.`node_id` = 111) OR (`xf_thread`.`node_id` = 112) OR (`xf_thread`.`node_id` = 113) OR (`xf_thread`.`node_id` = 66) OR (`xf_thread`.`node_id` = 75) OR (`xf_thread`.`node_id` = 49) OR (`xf_thread`.`node_id` = 50) OR (`xf_thread`.`node_id` = 102) OR (`xf_thread`.`node_id` = 103) OR (`xf_thread`.`node_id` = 54) OR (`xf_thread`.`node_id` = 55) OR (`xf_thread`.`node_id` = 72) OR (`xf_thread`.`node_id` = 74) OR (`xf_thread`.`node_id` = 93) OR (`xf_thread`.`node_id` = 100) OR (`xf_thread`.`node_id` = 133) OR (`xf_thread`.`node_id` = 134) OR (`xf_thread`.`node_id` = 58) OR (`xf_thread`.`node_id` = 83) OR (`xf_thread`.`node_id` = 96) OR (`xf_thread`.`node_id` = 135) OR (`xf_thread`.`node_id` = 95) OR (`xf_thread`.`node_id` = 115) OR (`xf_thread`.`node_id` = 116) OR (`xf_thread`.`node_id` = 117) OR (`xf_thread`.`node_id` = 118) OR (`xf_thread`.`node_id` = 119) OR (`xf_thread`.`node_id` = 94) OR (`xf_thread`.`node_id` = 131) OR (`xf_thread`.`node_id` = 132) OR (`xf_thread`.`node_id` = 73) OR (`xf_thread`.`node_id` = 61) OR (`xf_thread`.`node_id` = 99) OR (`xf_thread`.`node_id` = 97) OR (`xf_thread`.`node_id` = 98) OR (`xf_thread`.`node_id` = 60) OR (`xf_thread`.`node_id` = 85) OR (`xf_thread`.`node_id` = 114) OR (`xf_thread`.`node_id` = 86) OR (`xf_thread`.`node_id` = 88)) AND (`xf_thread`.`thread_id` <> 142718) ORDER BY `xf_thread`.`post_date` DESC LIMIT 4
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | index | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,node_id_sticky_state_vote_score | post_date | 4 | 7 | Using where; Backward index scan |
SELECT `xf_thread`.* FROM `xf_thread` WHERE (`xf_thread`.`thread_id` IN (142718, 146068, 143209, 140693, 138707))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | range | PRIMARY | PRIMARY | 4 | 5 | Using where |
SELECT view_date FROM xf_session_activity WHERE user_id = ? AND unique_key = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_session_activity | const | PRIMARY | PRIMARY | 22 | const,const | 1 |
bytes_sent | 48179 |
bytes_received | 863777 |
packets_sent | 178 |
packets_received | 1653 |
protocol_overhead_in | 6612 |
protocol_overhead_out | 712 |
bytes_received_ok_packet | 0 |
bytes_received_eof_packet | 0 |
bytes_received_rset_header_packet | 441 |
bytes_received_rset_field_meta_packet | 0 |
bytes_received_rset_row_packet | 173 |
bytes_received_prepare_response_packet | 84779 |
bytes_received_change_user_packet | 777674 |
packets_sent_command | 88 |
packets_received_ok | 0 |
packets_received_eof | 0 |
packets_received_rset_header | 49 |
packets_received_rset_field_meta | 0 |
packets_received_rset_row | 31 |
packets_received_prepare_response | 1043 |
packets_received_change_user | 499 |
result_set_queries | 28 |
non_result_set_queries | 3 |
no_index_used | 4 |
bad_index_used | 0 |
slow_queries | 0 |
buffered_sets | 0 |
unbuffered_sets | 0 |
ps_buffered_sets | 28 |
ps_unbuffered_sets | 0 |
flushed_normal_sets | 0 |
flushed_ps_sets | 0 |
ps_prepared_never_executed | 0 |
ps_prepared_once_executed | 28 |
rows_fetched_from_server_normal | 0 |
rows_fetched_from_server_ps | 471 |
rows_buffered_from_client_normal | 0 |
rows_buffered_from_client_ps | 471 |
rows_fetched_from_client_normal_buffered | 0 |
rows_fetched_from_client_normal_unbuffered | 0 |
rows_fetched_from_client_ps_buffered | 0 |
rows_fetched_from_client_ps_unbuffered | 0 |
rows_fetched_from_client_ps_cursor | 0 |
rows_affected_normal | 0 |
rows_affected_ps | 0 |
rows_skipped_normal | 0 |
rows_skipped_ps | 471 |
copy_on_write_saved | 0 |
copy_on_write_performed | 0 |
command_buffer_too_small | 8 |
connect_success | 1 |
connect_failure | 0 |
connection_reused | 0 |
reconnect | 0 |
pconnect_success | 1 |
active_connections | 1 |
active_persistent_connections | 1 |
explicit_close | 0 |
implicit_close | 0 |
disconnect_close | 0 |
in_middle_of_command_close | 0 |
explicit_free_result | 0 |
implicit_free_result | 0 |
explicit_stmt_close | 0 |
implicit_stmt_close | 0 |
mem_emalloc_count | 0 |
mem_emalloc_amount | 0 |
mem_ecalloc_count | 0 |
mem_ecalloc_amount | 0 |
mem_erealloc_count | 0 |
mem_erealloc_amount | 0 |
mem_efree_count | 0 |
mem_efree_amount | 0 |
mem_malloc_count | 0 |
mem_malloc_amount | 0 |
mem_calloc_count | 0 |
mem_calloc_amount | 0 |
mem_realloc_count | 0 |
mem_realloc_amount | 0 |
mem_free_count | 0 |
mem_free_amount | 0 |
mem_estrndup_count | 0 |
mem_strndup_count | 0 |
mem_estrdup_count | 0 |
mem_strdup_count | 0 |
mem_edupl_count | 0 |
mem_dupl_count | 0 |
proto_text_fetched_null | 0 |
proto_text_fetched_bit | 0 |
proto_text_fetched_tinyint | 0 |
proto_text_fetched_short | 0 |
proto_text_fetched_int24 | 0 |
proto_text_fetched_int | 0 |
proto_text_fetched_bigint | 0 |
proto_text_fetched_decimal | 0 |
proto_text_fetched_float | 0 |
proto_text_fetched_double | 0 |
proto_text_fetched_date | 0 |
proto_text_fetched_year | 0 |
proto_text_fetched_time | 0 |
proto_text_fetched_datetime | 0 |
proto_text_fetched_timestamp | 0 |
proto_text_fetched_string | 0 |
proto_text_fetched_blob | 0 |
proto_text_fetched_enum | 0 |
proto_text_fetched_set | 0 |
proto_text_fetched_geometry | 0 |
proto_text_fetched_other | 0 |
proto_binary_fetched_null | 0 |
proto_binary_fetched_bit | 439 |
proto_binary_fetched_tinyint | 0 |
proto_binary_fetched_short | 2138 |
proto_binary_fetched_int24 | 868 |
proto_binary_fetched_int | 0 |
proto_binary_fetched_bigint | 8385 |
proto_binary_fetched_decimal | 56 |
proto_binary_fetched_float | 0 |
proto_binary_fetched_double | 0 |
proto_binary_fetched_date | 28 |
proto_binary_fetched_year | 0 |
proto_binary_fetched_time | 0 |
proto_binary_fetched_datetime | 0 |
proto_binary_fetched_timestamp | 0 |
proto_binary_fetched_string | 0 |
proto_binary_fetched_json | 3913 |
proto_binary_fetched_blob | 1837 |
proto_binary_fetched_enum | 0 |
proto_binary_fetched_set | 0 |
proto_binary_fetched_geometry | 0 |
proto_binary_fetched_other | 0 |
init_command_executed_count | 0 |
init_command_failed_count | 0 |
com_quit | 0 |
com_init_db | 0 |
com_query | 2 |
com_field_list | 0 |
com_create_db | 0 |
com_drop_db | 0 |
com_refresh | 0 |
com_shutdown | 0 |
com_statistics | 0 |
com_process_info | 0 |
com_connect | 0 |
com_process_kill | 0 |
com_debug | 0 |
com_ping | 0 |
com_time | 0 |
com_delayed_insert | 0 |
com_change_user | 0 |
com_binlog_dump | 0 |
com_table_dump | 0 |
com_connect_out | 0 |
com_register_slave | 0 |
com_stmt_prepare | 29 |
com_stmt_execute | 29 |
com_stmt_send_long_data | 0 |
com_stmt_close | 28 |
com_stmt_reset | 0 |
com_stmt_set_option | 0 |
com_stmt_fetch | 0 |
com_deamon | 0 |
bytes_received_real_data_normal | 0 |
bytes_received_real_data_ps | 766378 |