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', 'notices', 'noticesLastReset', 'routeFilters', 'routesPublic', 'styles', 'userFieldsInfo', 'threadFieldsInfo', 'threadPrefixes')
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | 36 | 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` = '35098') 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_session_activity_Activity_5`.* 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_session_activity` AS `xf_session_activity_Activity_5` ON (`xf_session_activity_Activity_5`.`user_id` = `xf_user_User_1`.`user_id` AND `xf_session_activity_Activity_5`.`unique_key` = CONCAT(`xf_user_User_1`.`user_id`, '')) WHERE (`xf_post`.`thread_id` = 35098) 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 | range | thread_id_post_date,thread_id_position | thread_id_position | 8 | 1 | Using index condition; Using where; Using filesort | |
SIMPLE | xf_user_User_1 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_post.user_id | 1 | |
SIMPLE | xf_user_option_Option_2 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_user_User_1.user_id | 1 | Using where |
SIMPLE | xf_user_profile_Profile_3 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_user_User_1.user_id | 1 | Using where |
SIMPLE | xf_user_privacy_Privacy_4 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_user_User_1.user_id | 1 | Using where |
SIMPLE | xf_session_activity_Activity_5 | eq_ref | PRIMARY | PRIMARY | 22 | nailclub_xfdb.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
-- XFDB=noForceAllWrite INSERT INTO xf_session_activity (`user_id`, `unique_key`, `ip`, `controller_name`, `controller_action`, `view_state`, `params`, `view_date`, `robot_key`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE ip = VALUES(ip), controller_name = VALUES(controller_name), controller_action = VALUES(controller_action), view_state = VALUES(view_state), params = VALUES(params), view_date = VALUES(view_date), robot_key = VALUES(robot_key)
SELECT `xf_siropu_ads_manager_ad`.*, `xf_siropu_ads_manager_package_Package_1`.*, `xf_template_MasterTemplate_2`.* FROM `xf_siropu_ads_manager_ad` LEFT JOIN `xf_siropu_ads_manager_package` AS `xf_siropu_ads_manager_package_Package_1` ON (`xf_siropu_ads_manager_package_Package_1`.`package_id` = `xf_siropu_ads_manager_ad`.`package_id`) LEFT JOIN `xf_template` AS `xf_template_MasterTemplate_2` ON (`xf_template_MasterTemplate_2`.`style_id` = 0 AND `xf_template_MasterTemplate_2`.`type` = 'public' AND `xf_template_MasterTemplate_2`.`title` = CONCAT('_siropu_ads_manager_ad_code.', `xf_siropu_ads_manager_ad`.`ad_id`)) WHERE (`xf_siropu_ads_manager_ad`.`type` IN ('code', 'banner', 'text', 'link', 'popup', 'background')) AND (`xf_siropu_ads_manager_ad`.`status` = 'active') ORDER BY `xf_siropu_ads_manager_ad`.`display_order` ASC
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_siropu_ads_manager_ad | ALL | type,status,status_display_order | 13 | Using where; Using filesort | |||
SIMPLE | xf_siropu_ads_manager_package_Package_1 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_siropu_ads_manager_ad.package_id | 1 | |
SIMPLE | xf_template_MasterTemplate_2 | eq_ref | type_title_style_id | type_title_style_id | 128 | const,func,const | 1 | Using where |
SELECT `xf_siropu_ads_manager_ad`.*, `xf_siropu_ads_manager_package_Package_1`.* FROM `xf_siropu_ads_manager_ad` LEFT JOIN `xf_siropu_ads_manager_package` AS `xf_siropu_ads_manager_package_Package_1` ON (`xf_siropu_ads_manager_package_Package_1`.`package_id` = `xf_siropu_ads_manager_ad`.`package_id`) WHERE (`xf_siropu_ads_manager_ad`.`type` IN ('keyword', 'affiliate')) AND (`xf_siropu_ads_manager_ad`.`status` = 'active') ORDER BY RAND() ASC
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_siropu_ads_manager_ad | ref | type,status,status_display_order | status | 102 | const | 8 | Using index condition; Using where; Using temporary; Using filesort |
SIMPLE | xf_siropu_ads_manager_package_Package_1 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_siropu_ads_manager_ad.package_id | 1 |
SELECT `xf_session_activity`.* FROM `xf_session_activity` WHERE (`xf_session_activity`.`user_id` = 72679) AND (`xf_session_activity`.`unique_key` = '72679') LIMIT 1
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | Impossible WHERE noticed after reading const tables |
CREATE TEMPORARY TABLE xf_search_index_temp ( hit_position int unsigned not null PRIMARY KEY, content_type varbinary(25) not null, content_id int unsigned not null, user_id int unsigned not null, item_date int unsigned not null, discussion_id int unsigned not null )
INSERT INTO xf_search_index_temp (hit_position, content_type, content_id, user_id, item_date, discussion_id) VALUES (1, 'post', 1143357, 35414, 1564864054, 35533),(2, 'thread', 38227, 94033, 1580927043, 38227),(3, 'thread', 37916, 92800, 1538312563, 37916),(4, 'post', 1136150, 90674, 1516842442, 1915),(5, 'thread', 37551, 91627, 1503325261, 37551),(6, 'post', 1125722, 24185, 1489185971, 36641),(7, 'profile_post', 27543, 85379, 1427211345, 27543),(8, 'post', 1106127, 63920, 1467114030, 24296),(9, 'post', 1106133, 20344, 1467115999, 24296),(10, 'thread', 36841, 90310, 1478097336, 36841),(11, 'thread', 36840, 90310, 1478096774, 36840),(12, 'thread', 36838, 90310, 1478092602, 36838),(13, 'thread', 35463, 69799, 1442925095, 35463),(14, 'post', 1100050, 24185, 1460234260, 36031),(15, 'post', 1131555, 72244, 1503168126, 35931),(16, 'thread', 36208, 89038, 1458742158, 36208),(17, 'thread', 36433, 89524, 1464877000, 36433),(18, 'thread', 35074, 86599, 1436790155, 35074),(19, 'post', 1080781, 40830, 1447873299, 34792),(20, 'thread', 35336, 87011, 1440862106, 35336),(21, 'thread', 34723, 42977, 1429339667, 34723),(22, 'post', 1098461, 88566, 1458727450, 10063),(23, 'post', 1069349, 30246, 1441486847, 21160),(24, 'thread', 34179, 84737, 1423093703, 34179),(25, 'post', 1099841, 89132, 1460051247, 36031),(26, 'thread', 29673, 73606, 1367680542, 29673),(27, 'post', 1106180, 86470, 1467176484, 24296),(28, 'post', 979546, 30842, 1393233698, 31671),(29, 'thread', 33064, 81697, 1407423509, 33064),(30, 'thread', 34275, 84744, 1424343925, 34275),(31, 'post', 1100052, 88566, 1460236881, 36031),(32, 'post', 1009205, 81697, 1407423614, 8485),(33, 'thread', 33254, 62557, 1410360378, 33254),(34, 'post', 1063358, 29416, 1436212437, 34792),(35, 'thread', 33063, 81697, 1407421272, 33063),(36, 'post', 1106123, 75262, 1467112356, 24296),(37, 'thread', 34084, 84423, 1421871784, 34084),(38, 'post', 1073895, 29416, 1444063476, 35444),(39, 'post', 960529, 77634, 1386776630, 29673),(40, 'post', 1103205, 81164, 1463520268, 24296),(41, 'post', 1069914, 67385, 1441779005, 17026),(42, 'thread', 33693, 82624, 1416490206, 33693),(43, 'post', 919505, 65211, 1371317471, 29138),(44, 'post', 999868, 36654, 1402094092, 31864),(45, 'thread', 31660, 62557, 1389268153, 31660),(46, 'thread', 32961, 81340, 1405095881, 32961),(47, 'post', 962264, 54501, 1387387798, 871),(48, 'post', 1002590, 34311, 1403489265, 32691),(49, 'thread', 33067, 27679, 1407476533, 33067),(50, 'post', 1045784, 10168, 1426141127, 32704),(51, 'post', 848604, 49021, 1353337724, 25259),(52, 'thread', 26902, 59007, 1344418821, 26902),(53, 'post', 950570, 4555, 1383311902, 29730),(54, 'thread', 29746, 73813, 1368448783, 29746),(55, 'post', 848800, 65309, 1353378736, 25259),(56, 'post', 840035, 49021, 1351319535, 25259),(57, 'post', 983670, 30246, 1395070806, 31671),(58, 'post', 884316, 67386, 1361253273, 28945),(59, 'post', 848801, 49021, 1353379034, 25259),(60, 'post', 1021526, 83096, 1415187978, 3229),(61, 'post', 904222, 6570, 1366403557, 13563),(62, 'post', 958395, 35414, 1386085689, 26343),(63, 'thread', 28216, 21468, 1355300647, 28216),(64, 'post', 857540, 21468, 1355299504, 14196),(65, 'post', 921067, 54501, 1371788113, 8734),(66, 'post', 904400, 73244, 1366468465, 13563),(67, 'post', 830370, 66387, 1348847836, 25259),(68, 'post', 751381, 45844, 1329205255, 24416),(69, 'post', 793127, 33916, 1338198421, 16061),(70, 'post', 896196, 4412, 1364286523, 25259),(71, 'post', 701018, 9427, 1318494937, 16061),(72, 'post', 943384, 28945, 1380774313, 24012),(73, 'thread', 30486, 20794, 1376379877, 30486),(74, 'post', 669416, 53388, 1311019261, 16061),(75, 'post', 873498, 33916, 1358971982, 16061),(76, 'post', 909097, 9638, 1368010822, 29673),(77, 'thread', 28729, 27677, 1358927655, 28729),(78, 'thread', 28611, 33916, 1358171587, 28611),(79, 'post', 818236, 51917, 1345275893, 20707),(80, 'thread', 28728, 27677, 1358927492, 28728),(81, 'thread', 28730, 27677, 1358928010, 28730),(82, 'post', 905996, 6570, 1366900726, 13563),(83, 'post', 650596, 33916, 1305146264, 16061),(84, 'post', 648878, 35326, 1304676649, 16061),(85, 'thread', 28613, 32415, 1358175221, 28613),(86, 'thread', 28612, 32415, 1358174834, 28612),(87, 'post', 905378, 5329, 1366743243, 24186),(88, 'post', 1061474, 17420, 1434352746, 28583),(89, 'post', 768509, 57905, 1332191630, 24879),(90, 'thread', 27330, 8012, 1348580896, 27330),(91, 'post', 826097, 27427, 1347566067, 15842),(92, 'post', 919871, 54501, 1371472150, 8734),(93, 'post', 1050301, 76565, 1428137438, 30961),(94, 'thread', 26651, 5657, 1341915422, 26651),(95, 'thread', 21433, 51469, 1305288408, 21433),(96, 'post', 854143, 61447, 1354612052, 24296),(97, 'post', 796416, 8940, 1339054226, 24012),(98, 'post', 963917, 8002, 1387998564, 31564),(99, 'post', 846285, 46865, 1352852699, 27803),(100, 'post', 646509, 21998, 1304059745, 21293),(101, 'thread', 20093, 5933, 1295465480, 20093),(102, 'post', 848626, 41613, 1353340592, 25259),(103, 'post', 558926, 22498, 1285156400, 18512),(104, 'post', 612692, 38637, 1296411592, 20247),(105, 'post', 827205, 29416, 1347906771, 26934),(106, 'post', 782674, 53529, 1335214978, 23289),(107, 'post', 672058, 51398, 1311751354, 3690),(108, 'post', 872345, 70431, 1358717544, 1521),(109, 'thread', 24047, 33916, 1323713425, 24047),(110, 'post', 622585, 33916, 1298383569, 16061),(111, 'thread', 23689, 33916, 1321606544, 23689),(112, 'post', 586147, 14104, 1290544080, 19363),(113, 'post', 558919, 22498, 1285155319, 18512),(114, 'post', 742862, 30587, 1327428006, 24012),(115, 'post', 686248, 48528, 1315049027, 10446),(116, 'thread', 20301, 4245, 1296735868, 20301),(117, 'post', 750288, 54842, 1328984640, 24012),(118, 'post', 571481, 43621, 1287905382, 18839),(119, 'post', 571482, 43621, 1287905478, 18941),(120, 'post', 860422, 10037, 1355846227, 28292),(121, 'thread', 16312, 37225, 1277359304, 16312),(122, 'xfmg_comment', 232523, 18005, 1264447591, 28016),(123, 'post', 547920, 34048, 1282548967, 5397),(124, 'post', 646236, 17267, 1303975442, 2395),(125, 'thread', 20247, 38637, 1296409416, 20247),(126, 'thread', 20845, 49350, 1300807023, 20845),(127, 'post', 543703, 19245, 1281462183, 781),(128, 'thread', 21716, 27680, 1307351543, 21716),(129, 'thread', 21429, 27680, 1305269428, 21429),(130, 'post', 584215, 11080, 1290192404, 3985),(131, 'post', 720542, 42977, 1322498098, 23170),(132, 'post', 454536, 15907, 1265220281, 13365),(133, 'post', 711263, 57435, 1320742216, 9883),(134, 'post', 546823, 17656, 1282238774, 18012),(135, 'thread', 23852, 37875, 1322696678, 23852),(136, 'post', 652786, 12074, 1305795434, 1266),(137, 'post', 461442, 5507, 1266006867, 13365),(138, 'post', 630729, 5329, 1300378682, 20761),(139, 'post', 484922, 25345, 1269689330, 10639),(140, 'post', 631098, 5329, 1300450774, 1579),(141, 'post', 815525, 52811, 1344441659, 25259),(142, 'post', 495001, 17643, 1271309823, 14120),(143, 'thread', 21618, 51891, 1306490866, 21618),(144, 'post', 642718, 19364, 1302980271, 20851),(145, 'post', 640097, 9427, 1302371256, 16061),(146, 'post', 652665, 17643, 1305750749, 1266),(147, 'post', 418514, 10741, 1258982976, 10278),(148, 'post', 589906, 43125, 1291158841, 19522),(149, 'post', 306076, 17327, 1239398446, 10760),(150, 'thread', 29730, 55813, 1368257048, 29730),(151, 'post', 475803, 19364, 1268176869, 14309),(152, 'post', 741760, 6895, 1327124680, 24012),(153, 'post', 349644, 9635, 1248799303, 11961),(154, 'post', 517775, 28491, 1275165945, 9092),(155, 'post', 418520, 23766, 1258983620, 10278),(156, 'post', 485117, 17267, 1269724113, 15133),(157, 'post', 494372, 27813, 1271239266, 12853),(158, 'post', 406792, 17267, 1257486252, 2465),(159, 'post', 666317, 53030, 1309957376, 1915),(160, 'post', 294359, 17267, 1237566297, 2395),(161, 'post', 407059, 21586, 1257515838, 10446),(162, 'post', 323753, 15922, 1242674441, 5223),(163, 'post', 310249, 13997, 1240289170, 10278),(164, 'thread', 17956, 35943, 1282050178, 17956),(165, 'post', 284917, 8669, 1235894168, 4353),(166, 'post', 167164, 9836, 1206969451, 14080),(167, 'post', 298091, 6853, 1238224766, 10584),(168, 'post', 152059, 9187, 1202924500, 5211),(169, 'post', 70667, 6645, 1172439014, 2004),(170, 'thread', 5223, 9759, 1203008120, 5223),(171, 'post', 119435, 7539, 1190889187, 2661),(172, 'post', 35551, 4992, 1152245168, 813),(173, 'post', 35553, 6123, 1152245765, 813),(174, 'post', 220910, 4620, 1223237815, 5337),(175, 'post', 115382, 8669, 1188998020, 3810),(176, 'post', 158390, 9759, 1204746609, 5223),(177, 'post', 60994, 7484, 1168624196, 1579),(178, 'post', 282870, 9815, 1235567912, 3229),(179, 'post', 34886, 4294, 1151666006, 1281),(180, 'thread', 9450, 13819, 1234289448, 9450),(181, 'post', 34875, 5329, 1151660881, 1281),(182, 'post', 30165, 5329, 1147946452, 1064)
SELECT search_index.content_type, search_index.content_id FROM xf_search_index_temp AS search_index WHERE search_index.content_type = 'thread' ORDER BY search_index.hit_position ASC LIMIT 200
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | search_index | index | PRIMARY | 4 | 182 | Using where |
SELECT `xf_thread`.*, `xf_forum_Forum_1`.*, `xf_node_Node_2`.*, `xf_post_FirstPost_3`.*, `xf_user_User_4`.*, `xf_permission_cache_content_Permissions_5`.* FROM `xf_thread` LEFT JOIN `xf_forum` AS `xf_forum_Forum_1` ON (`xf_forum_Forum_1`.`node_id` = `xf_thread`.`node_id`) LEFT JOIN `xf_node` AS `xf_node_Node_2` ON (`xf_node_Node_2`.`node_id` = `xf_forum_Forum_1`.`node_id`) LEFT JOIN `xf_post` AS `xf_post_FirstPost_3` ON (`xf_post_FirstPost_3`.`post_id` = `xf_thread`.`first_post_id`) LEFT JOIN `xf_user` AS `xf_user_User_4` ON (`xf_user_User_4`.`user_id` = `xf_thread`.`user_id`) LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_5` ON (`xf_permission_cache_content_Permissions_5`.`content_type` = 'node' AND `xf_permission_cache_content_Permissions_5`.`content_id` = `xf_node_Node_2`.`node_id` AND `xf_permission_cache_content_Permissions_5`.`permission_combination_id` = '1') WHERE (`xf_thread`.`thread_id` IN (38227, 37916, 37551, 36841, 36840, 36838, 35463, 36208, 36433, 35074, 35336, 34723, 34179, 29673, 33064, 34275, 33254, 33063, 34084, 33693, 31660, 32961, 33067, 26902, 29746, 28216, 30486, 28729, 28611, 28728, 28730, 28613, 28612, 27330, 26651, 21433, 20093, 24047, 23689, 20301, 16312, 20247, 20845, 21716, 21429, 23852, 21618, 29730, 17956, 5223, 9450))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | range | PRIMARY | PRIMARY | 4 | 51 | Using where | |
SIMPLE | xf_forum_Forum_1 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_thread.node_id | 1 | |
SIMPLE | xf_node_Node_2 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_forum_Forum_1.node_id | 1 | Using where |
SIMPLE | xf_post_FirstPost_3 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_thread.first_post_id | 1 | |
SIMPLE | xf_user_User_4 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_thread.user_id | 1 | |
SIMPLE | xf_permission_cache_content_Permissions_5 | eq_ref | PRIMARY | PRIMARY | 35 | const,const,nailclub_xfdb.xf_node_Node_2.node_id | 1 | Using where |
BEGIN
INSERT INTO `xf_search` (`search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `warnings`, `query_hash`, `user_id`, `result_count`, `search_results`, `search_id`, `user_results`, `search_date`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
COMMIT
SELECT `xf_thread`.*, `xf_forum_Forum_1`.*, `xf_node_Node_2`.*, `xf_post_FirstPost_3`.*, `xf_user_User_4`.*, `xf_permission_cache_content_Permissions_5`.* FROM `xf_thread` LEFT JOIN `xf_forum` AS `xf_forum_Forum_1` ON (`xf_forum_Forum_1`.`node_id` = `xf_thread`.`node_id`) LEFT JOIN `xf_node` AS `xf_node_Node_2` ON (`xf_node_Node_2`.`node_id` = `xf_forum_Forum_1`.`node_id`) LEFT JOIN `xf_post` AS `xf_post_FirstPost_3` ON (`xf_post_FirstPost_3`.`post_id` = `xf_thread`.`first_post_id`) LEFT JOIN `xf_user` AS `xf_user_User_4` ON (`xf_user_User_4`.`user_id` = `xf_thread`.`user_id`) LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_5` ON (`xf_permission_cache_content_Permissions_5`.`content_type` = 'node' AND `xf_permission_cache_content_Permissions_5`.`content_id` = `xf_node_Node_2`.`node_id` AND `xf_permission_cache_content_Permissions_5`.`permission_combination_id` = '1') WHERE (`xf_thread`.`thread_id` IN (38227, 37916, 37551, 36841, 36840, 36838, 35463, 36208, 36433, 35074, 35336, 34723, 34179, 29673, 33064, 34275, 33254, 33063, 34084, 33693, 31660, 32961, 33067, 26902, 29746, 28216, 30486, 28729, 28611, 28728, 28730, 28613, 28612, 27330, 26651, 21433, 20093, 24047, 23689, 20301, 16312, 20247, 20845, 21716, 21429, 23852, 21618, 29730, 5223, 9450))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | range | PRIMARY | PRIMARY | 4 | 50 | Using where | |
SIMPLE | xf_forum_Forum_1 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_thread.node_id | 1 | |
SIMPLE | xf_node_Node_2 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_forum_Forum_1.node_id | 1 | Using where |
SIMPLE | xf_post_FirstPost_3 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_thread.first_post_id | 1 | |
SIMPLE | xf_user_User_4 | eq_ref | PRIMARY | PRIMARY | 4 | nailclub_xfdb.xf_thread.user_id | 1 | |
SIMPLE | xf_permission_cache_content_Permissions_5 | eq_ref | PRIMARY | PRIMARY | 35 | const,const,nailclub_xfdb.xf_node_Node_2.node_id | 1 | Using where |
SELECT `xf_user`.* FROM `xf_user` WHERE (`xf_user`.`siropu_chat_last_activity` >= 1615038732)
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_user | range | siropu_chat_last_activity | siropu_chat_last_activity | 4 | 1 | Using index condition |
bytes_sent | 28137 |
bytes_received | 891331 |
packets_sent | 170 |
packets_received | 1890 |
protocol_overhead_in | 7560 |
protocol_overhead_out | 680 |
bytes_received_ok_packet | 0 |
bytes_received_eof_packet | 0 |
bytes_received_rset_header_packet | 342 |
bytes_received_rset_field_meta_packet | 0 |
bytes_received_rset_row_packet | 253 |
bytes_received_prepare_response_packet | 137212 |
bytes_received_change_user_packet | 752869 |
packets_sent_command | 84 |
packets_received_ok | 0 |
packets_received_eof | 0 |
packets_received_rset_header | 38 |
packets_received_rset_field_meta | 0 |
packets_received_rset_row | 31 |
packets_received_prepare_response | 1537 |
packets_received_change_user | 255 |
result_set_queries | 22 |
non_result_set_queries | 9 |
no_index_used | 2 |
bad_index_used | 0 |
slow_queries | 0 |
buffered_sets | 0 |
unbuffered_sets | 0 |
ps_buffered_sets | 22 |
ps_unbuffered_sets | 0 |
flushed_normal_sets | 0 |
flushed_ps_sets | 0 |
ps_prepared_never_executed | 0 |
ps_prepared_once_executed | 26 |
rows_fetched_from_server_normal | 0 |
rows_fetched_from_server_ps | 233 |
rows_buffered_from_client_normal | 0 |
rows_buffered_from_client_ps | 233 |
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 | 233 |
copy_on_write_saved | 0 |
copy_on_write_performed | 0 |
command_buffer_too_small | 1 |
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 | 1083 |
proto_binary_fetched_tinyint | 0 |
proto_binary_fetched_short | 1982 |
proto_binary_fetched_int24 | 725 |
proto_binary_fetched_int | 0 |
proto_binary_fetched_bigint | 6860 |
proto_binary_fetched_decimal | 65 |
proto_binary_fetched_float | 8 |
proto_binary_fetched_double | 0 |
proto_binary_fetched_date | 0 |
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 | 3174 |
proto_binary_fetched_blob | 1201 |
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 | 4 |
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 | 27 |
com_stmt_execute | 27 |
com_stmt_send_long_data | 0 |
com_stmt_close | 26 |
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 | 744480 |