SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000345
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT tag.*
,
0 AS tag_is_watched
FROM `xf_tinhte_xentag_tag` AS tag
WHERE (tag.tag_text = 'chó pug')
Run Time: 0.000548
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 2 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 48265459
Run Time: 0.000334
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id = ?
Params: 41
Run Time: 0.000777
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 41
Run Time: 0.000175
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (9658797, 9658789, 9658788, 9658787, 9658249, 9658248, 9658246, 9640952, 9631019, 9628805, 9628804, 9613862, 9613861, 9613859, 9613851, 9613841, 9608258, 9606914, 9605660, 9594993, 9592816, 9592815, 9550285, 9550282, 9550281, 9550277, 9550276, 9535408, 9535407, 9535405, 9535404, 9535402, 9535401, 9535400, 9535398, 9535397, 9516723, 9508035, 9508032, 9493356, 9493355, 9493336, 9493334, 9493331, 9493317, 9451348, 9451345, 9451332, 9451329, 9451033, 9450463, 9439831, 9433666, 9430340, 9430339, 9430337, 9430334, 9419256, 9371507, 9371506, 9364617, 9362591, 9356544, 9356542, 9353330, 9348415, 9338995, 9338994, 9338993, 9338992, 9338991, 9337973, 9337969, 9331693, 9331187, 9322245, 9309904, 9303863, 9302172, 9296985, 9290162, 9290158, 9290155, 9284959, 9284958, 9284957, 9282969, 9281662, 9281661, 9279823, 9279822, 9279143, 9267932, 9267931, 9264995, 9264994, 9264991, 9262401, 9260083, 9249296, 9249294, 9249293, 9249292, 9249291, 9249286, 9249283, 9249279, 9249276, 9232960, 9231937, 9231910, 9231001, 9230399, 9228243, 9227237, 9224994, 9223366, 9221974, 9219257, 9214069, 9213838, 9213837, 9213835, 9212279, 9205693, 9205591, 9200830, 9200240, 9199022, 9198507, 9196950, 9196945, 9196944, 9196936, 9196935, 9195883, 9188731, 9169142, 9169141, 9169140, 9167142, 9165794, 9160797, 9159577, 9159554, 9158990, 9158462, 9156587, 9146941, 9146124, 9146099, 9141588, 9141583, 9141581, 9141374, 9141373, 9140650, 9140648, 9136898, 9134696, 9132536, 9132534, 9132533, 9132531, 9132530, 9119262, 9115837, 9110125, 9110123, 9104819, 9104642, 9104639, 9095741, 9095740, 9093091, 9093090, 9093089, 9092444, 9085926, 9085897, 9084580, 9083966, 9080894, 9078341, 9077877, 9075483, 9074856, 9069758, 9060756, 9056459, 9056452, 9054892, 9041713, 9041712, 9041372, 9024150, 9014015, 9011905, 9011402, 9009438, 9009093, 9009071, 9008338, 9008337, 9001003, 9001002, 8999175, 8998101, 8997470, 8996441, 8987699, 8978433, 8974665, 8974664, 8974354, 8973696, 8971317, 8969768, 8968088, 8967602, 8966762, 8964051, 8963988, 8960067, 8960066, 8958899, 8953663, 8952595, 8950496, 8946364, 8946113, 8946112, 8945071, 8941653, 8941651, 8941649, 8941648, 8941647, 8941212, 8940967, 8940316, 8936198, 8929947, 8929849, 8923728, 8923107, 8920517, 8915170, 8909746, 8905999, 8905997, 8905139, 8900108, 8900098, 8899844, 8895928, 8892819, 8891826, 8891825, 8890337, 8890336, 8883862, 8883726, 8882155, 8882154, 8882152, 8881681, 8881680, 8875921, 8873198, 8871911, 8866521, 8866520, 8865341, 8863188, 8861401, 8861400, 8860371, 8860178, 8860057, 8860055, 8859974, 8859552, 8856967, 8853308, 8849954, 8849952, 8848520, 8847776, 8847467, 8847385, 8846651, 8845889, 8845886, 8844907, 8843940, 8843939, 8843938, 8843937, 8843936, 8843702, 8843701, 8842185, 8841560, 8838141, 8835043, 8832550, 8831471, 8831470, 8830070, 8828847, 8827728, 8827623, 8825122, 8820952, 8820187, 8817841, 8817839, 8817307, 8816919, 8816918, 8815026, 8813953, 8812263, 8811980, 8811978, 8810267, 8807748, 8804676, 8803797, 8803221, 8802790, 8802650, 8801789, 8801471, 8801392, 8801253, 8800654, 8797676, 8796191, 8795365, 8794870, 8793732, 8792897, 8792521, 8792520, 8791128, 8789539, 8789538, 8789224, 8788207, 8788184, 8785763, 8785719, 8785717, 8785715, 8785714, 8785713, 8783198, 8781952, 8780412, 8777763, 8774554, 8774553, 8769555, 8768228, 8766331, 8766330, 8766329, 8763208, 8761084, 8760586, 8758845, 8758844, 8758843, 8756248, 8756246, 8756244, 8747998, 8745505, 8745164, 8745116, 8743985, 8743085, 8742930, 8741283, 8740391, 8740390, 8739146, 8733811, 8733810, 8730975, 8729253, 8729251, 8727999, 8727998, 8712131, 8712129, 8712128, 8710020, 8703148, 8698876, 8600684, 8579013, 8571352, 8562864, 8557810, 8511742, 8467018, 8462263, 8455806, 8429377, 8427674, 8423355, 8389251, 8387587, 8384589, 8367977, 8361383, 8356175, 8341050, 8326670, 8301362, 8299863, 8291460, 8285489, 8285488, 8276147, 8273312, 8269536, 8217759, 8209761, 8199035, 8199034, 8115456, 8115284, 8110707, 8093182, 8089681, 8072276, 8056980, 8025319, 7998144, 7975725, 7972507, 7970422, 7961229, 7690933, 7412869, 7379985, 7309103, 7191019, 7002341)
Run Time: 0.010619
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 453 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id = ?
Params: 41
Run Time: 0.000557
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Params: [["tinhte_xentag_forum",41],["thread",9658797],["thread",9658789],["thread",9658249],["thread",9658246],["thread",9631019],["thread",9628805],["thread",9613862],["thread",9613851],["thread",9613841],["thread",9594993],["thread",9592816],["thread",9550285],["thread",9550282],["thread",9550281],["thread",9550277],["thread",9550276],["thread",9516723],["thread",9508035],["thread",9508032],["thread",9493356],["thread",9493355],["thread",9493336],["thread",9493334],["thread",9493331],["thread",9493317],["thread",9451345],["thread",9451332],["thread",9451329],["thread",9451033],["thread",9450463],["thread",9430340],["thread",9430339],["thread",9430337],["thread",9430334],["thread",9419256],["thread",9371507],["thread",9364617],["thread",9362591],["thread",9356544],["thread",9353330],["thread",9338995],["thread",9337973],["thread",9337969],["thread",9331693],["thread",9331187],["thread",9322245],["thread",9309904],["thread",9302172],["thread",9296985],["thread",9290162],["thread",9290158],["thread",9290155],["thread",9284959],["thread",9282969],["thread",9281662],["thread",9279143],["thread",9264995],["thread",9264994],["thread",9264991],["thread",9262401],["thread",9260083],["thread",9232960],["thread",9231937],["thread",9231910],["thread",9228243],["thread",9221974],["thread",9214069],["thread",9213838],["thread",9213837],["thread",9213835],["thread",9212279],["thread",9205693],["thread",9205591],["thread",9200830],["thread",9200240],["thread",9196950],["thread",9196945],["thread",9196944],["thread",9188731],["thread",9165794],["thread",9159577],["thread",9159554],["thread",9158462],["thread",9156587],["thread",9146941],["thread",9146099],["thread",9141588],["thread",9141583],["thread",9141581],["thread",9140650],["thread",9132536],["thread",9132534],["thread",9132531],["thread",9132530],["thread",9110125],["thread",9110123],["thread",9104819],["thread",9104639],["thread",9085926],["thread",9080894],["thread",9078341],["thread",9077877],["thread",9075483],["thread",9060756],["thread",9054892],["thread",9041713],["thread",9041372],["thread",9024150],["thread",9011905],["thread",9009438],["thread",9008338],["thread",8999175],["thread",8998101],["thread",8997470],["thread",8996441],["thread",8974665],["thread",8974354],["thread",8973696],["thread",8971317],["thread",8969768],["thread",8968088],["thread",8967602],["thread",8966762],["thread",8963988],["thread",8960067],["thread",8958899],["thread",8953663],["thread",8946364],["thread",8945071],["thread",8941212],["thread",8929947],["thread",8920517],["thread",8900108],["thread",8899844],["thread",8892819],["thread",8891826],["thread",8883726],["thread",8875921],["thread",8866521],["thread",8865341],["thread",8861401],["thread",8860371],["thread",8859552],["thread",8856967],["thread",8853308],["thread",8849954],["thread",8848520],["thread",8847776],["thread",8847467],["thread",8847385],["thread",8845889],["thread",8844907],["thread",8843940],["thread",8843702],["thread",8842185],["thread",8841560],["thread",8838141],["thread",8832550],["thread",8827623],["thread",8820187],["thread",8816919],["thread",8802650],["thread",8801253],["thread",8800654],["thread",8797676],["thread",8796191],["thread",8794870],["thread",8792521],["thread",8783198],["thread",8780412],["thread",8769555],["thread",8768228],["thread",8763208],["thread",8758845],["thread",8745116],["thread",8741283],["thread",8740391],["thread",8729253],["thread",8703148],["thread",8600684],["thread",8579013],["thread",8562864],["thread",8557810],["thread",8462263],["thread",8455806],["thread",8427674],["thread",8423355],["thread",8389251],["thread",8387587],["thread",8384589],["thread",8367977],["thread",8301362],["thread",8299863],["thread",8291460],["thread",8273312],["thread",8269536],["thread",8217759],["thread",8209761],["thread",8115456],["thread",8115284],["thread",8110707],["thread",8093182],["thread",8089681],["thread",8072276],["thread",8056980],["thread",8025319],["thread",7998144],["thread",7975725],["thread",7972507],["thread",7970422],["thread",7961229],["thread",7690933],["thread",7412869],["thread",7379985],["thread",7309103],["thread",7191019],["thread",7002341]], 218, tinhte_xentag_tag, , {"tags":["ch\u00f3 pug"]}, date, 0, , [], 0, 1656399665, b1acdda044300a0a558703a654f988c3
Run Time: 0.000779
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (8115284, 8110707, 8093182, 8089681, 8072276, 8056980, 8025319, 7998144, 7975725, 7972507, 7970422, 7961229, 7690933, 7412869, 7379985, 7309103, 7191019, 7002341)
Run Time: 0.001706
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 18 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
INSERT INTO xf_tinhte_xentag_tag_view
(tag_id)
VALUES
(?)
Params: 15211
Run Time: 0.000401
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)
Params: 0, , , Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=ch%C3%B3+pug&page=11, 1656399665,
Run Time: 0.000396
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000246
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 17 | Using where; Using filesort |
SELECT session_activity.*
,
user.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
WHERE (session_activity.view_date > 1656398765)
ORDER BY session_activity.view_date DESC
Run Time: 0.000920
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2832 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |