SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000301
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 = 'xe toyota camry')
Run Time: 0.000414
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 1 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 63898516
Run Time: 0.000339
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: 139
Run Time: 0.000695
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, 139
Run Time: 0.000265
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 (9696639, 9689213, 9663634, 9659263, 9655684, 9655683, 9638152, 9638151, 9637029, 9637028, 9611605, 9610430, 9606488, 9529980, 9529979, 9522502, 9515654, 9505817, 9495103, 9486930, 9459926, 9452510, 9447847, 9447813, 9447812, 9446849, 9431236, 9425639, 9421188, 9421187, 9421186, 9421185, 9400921, 9396697, 9386848, 9380517, 9380515, 9362652, 9352825, 9347191, 9344953, 9344951, 9344312, 9342899, 9326236, 9326220, 9326219, 9321598, 9321597, 9320174, 9302893, 9302456, 9301791, 9301419, 9301418, 9300472, 9300471, 9295865, 9294834, 9294819, 9294764, 9294466, 9292330, 9276423, 9270447, 9266603, 9266373, 9246747, 9246746, 9245595, 9241499, 9223454, 9214514, 9205164, 9201893, 9201773, 9201772, 9200427, 9200374, 9199003, 9197662, 9197661, 9192169, 9192168, 9189887, 9187463, 9181281, 9176171, 9166868, 9166500, 9160103, 9159785, 9154974, 9154342, 9154340, 9149800, 9145730, 9144712, 9135559, 9131192, 9129837, 9121597, 9119077, 9119076, 9119075, 9117796, 9112483, 9110711, 9108281, 9103836, 9102370, 9101637, 9101635, 9101624, 9101615, 9101612, 9101609, 9096388, 9091676, 9080303, 9052935, 9050538, 9038342, 9037512, 9030115, 9030114, 9026154, 9014134, 9013426, 9006388, 8999554, 8996085, 8987022, 8987021, 8987020, 8983191, 8983190, 8981975, 8978227, 8977156, 8977139, 8967820, 8960007, 8956672, 8956343, 8940569, 8940568, 8940438, 8931812, 8931783, 8927303, 8926754, 8926752, 8922846, 8918693, 8918013, 8905424, 8904843, 8903157, 8903070, 8902015, 8899091, 8897454, 8897451, 8897450, 8895147, 8886730, 8880064, 8870511, 8868932, 8868931, 8862899, 8856257, 8851942, 8842883, 8841481, 8840864, 8840598, 8840137, 8840003, 8837453, 8833268, 8832169, 8830704, 8830702, 8824308, 8821605, 8820882, 8818398, 8816583, 8815990, 8815669, 8815160, 8815159, 8815158, 8814969, 8814968, 8807664, 8806213, 8805049, 8802618, 8794593, 8792230, 8789017, 8788810, 8783419, 8783169, 8777830, 8775919, 8775766, 8772143, 8772141, 8771491, 8770095, 8769591, 8769466, 8769465, 8768506, 8768504, 8768472, 8767305, 8767302, 8767296, 8766433, 8766399, 8766397, 8766075, 8766064, 8764838, 8764462, 8763420, 8763177, 8763175, 8763174, 8763019, 8762600, 8761525, 8761524, 8753038, 8752928, 8748248, 8748136, 8746160, 8746159, 8746157, 8743865, 8743290, 8743285, 8743283, 8743282, 8743280, 8743277, 8743272, 8739809, 8739638, 8739630, 8738066, 8737896, 8734226, 8730453, 8723135, 8722542, 8718039, 8718037, 8717851, 8717040, 8716771, 8716770, 8716677, 8715287, 8715157, 8715155, 8712145, 8712144, 8613446, 8541546, 8481231, 8475236, 8367123, 8327613, 8315266, 8291402, 8243325, 8197074, 8182585, 8161235, 8115241, 8107767, 8101015, 8089056, 7888914, 7706171, 7673850, 7653078, 7587084, 7574087, 7571751, 7565440, 7520410, 7516455, 7484820, 7481240, 7461057, 7459334, 7450940, 7441409, 7238449, 7209148, 6764667, 6154886, 6037428, 5794313, 5793973, 5793800, 5793664)
Run Time: 0.008018
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 315 | 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: 139
Run Time: 0.000563
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",139],["thread",9696639],["thread",9689213],["thread",9611605],["thread",9529980],["thread",9505817],["thread",9495103],["thread",9447847],["thread",9447813],["thread",9352825],["thread",9344953],["thread",9326220],["thread",9321598],["thread",9320174],["thread",9301791],["thread",9301419],["thread",9300472],["thread",9294834],["thread",9294819],["thread",9294764],["thread",9294466],["thread",9276423],["thread",9266603],["thread",9266373],["thread",9246747],["thread",9241499],["thread",9205164],["thread",9201893],["thread",9201773],["thread",9197662],["thread",9197661],["thread",9189887],["thread",9187463],["thread",9166500],["thread",9154342],["thread",9149800],["thread",9135559],["thread",9102370],["thread",9096388],["thread",9052935],["thread",9037512],["thread",9013426],["thread",8999554],["thread",8981975],["thread",8978227],["thread",8977156],["thread",8977139],["thread",8956343],["thread",8927303],["thread",8926754],["thread",8905424],["thread",8903157],["thread",8886730],["thread",8870511],["thread",8841481],["thread",8840598],["thread",8840137],["thread",8840003],["thread",8830704],["thread",8818398],["thread",8815990],["thread",8806213],["thread",8805049],["thread",8794593],["thread",8792230],["thread",8789017],["thread",8788810],["thread",8783169],["thread",8777830],["thread",8772143],["thread",8769591],["thread",8766064],["thread",8764838],["thread",8763177],["thread",8761525],["thread",8748136],["thread",8739638],["thread",8716771],["thread",8716677],["thread",8715287],["thread",8613446],["thread",8541546],["thread",8481231],["thread",8475236],["thread",8367123],["thread",8327613],["thread",8315266],["thread",8291402],["thread",8243325],["thread",8197074],["thread",8182585],["thread",8115241],["thread",8107767],["thread",8101015],["thread",8089056],["thread",7888914],["thread",7706171],["thread",7673850],["thread",7653078],["thread",7587084],["thread",7574087],["thread",7571751],["thread",7565440],["thread",7520410],["thread",7516455],["thread",7484820],["thread",7481240],["thread",7461057],["thread",7459334],["thread",7450940],["thread",7441409],["thread",7238449],["thread",7209148],["thread",6764667],["thread",6154886],["thread",6037428],["thread",5794313],["thread",5793973],["thread",5793800],["thread",5793664]], 120, tinhte_xentag_tag, , {"tags":["xe toyota camry"]}, date, 0, , [], 0, 1660774176, b1658d99d2698949b53c0e7b9b2cca8f
Run Time: 0.000562
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 (8613446, 8541546, 8481231, 8475236, 8367123, 8327613, 8315266, 8291402, 8243325, 8197074, 8182585, 8115241, 8107767, 8101015, 8089056, 7888914, 7706171, 7673850, 7653078, 7587084)
Run Time: 0.001890
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 20 | 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: 703689
Run Time: 0.000312
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=xe+toyota+camry&page=5, 1660774176,
Run Time: 0.000394
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000260
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 > 1660773276)
ORDER BY session_activity.view_date DESC
Run Time: 0.005202
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1767 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |