SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000244
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 = 'áo thun tay dài')
Run Time: 0.000476
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: 45111234
Run Time: 0.000306
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: 87
Run Time: 0.001135
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, 87
Run Time: 0.000276
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 (9675861, 9661867, 9656234, 9654524, 9649206, 9649200, 9647633, 9645710, 9643400, 9642757, 9638613, 9636344, 9636015, 9634141, 9634015, 9629467, 9625137, 9609892, 9609890, 9605409, 9604637, 9588456, 9588434, 9588432, 9588429, 9584000, 9582359, 9576347, 9575327, 9570858, 9565590, 9565383, 9550943, 9550942, 9550941, 9548733, 9545951, 9537848, 9531934, 9525608, 9525607, 9525606, 9523154, 9516496, 9506677, 9482014, 9482013, 9482012, 9482011, 9477709, 9473027, 9460915, 9460914, 9459585, 9455200, 9453671, 9453670, 9453669, 9452438, 9452437, 9450603, 9446329, 9443577, 9442091, 9442090, 9441505, 9441427, 9436268, 9430967, 9427831, 9427830, 9424860, 9424859, 9414955, 9408614, 9406458, 9403223, 9391511, 9377304, 9373882, 9373880, 9373877, 9360923, 9360922, 9359050, 9359049, 9359048, 9355649, 9352878, 9339507, 9336072, 9319175, 9314561, 9313242, 9309728, 9309727, 9309726, 9306388, 9301517, 9301516, 9287046, 9285250, 9279441, 9279440, 9278728, 9267710, 9262018, 9257213, 9256571, 9255301, 9255239, 9248998, 9243693, 9242073, 9241432, 9222797, 9222795, 9222794, 9220666, 9219169, 9219008, 9219007, 9218867, 9217583, 9217576, 9208433, 9203412, 9203399, 9202799, 9200254, 9196100, 9191624, 9190013, 9190010, 9189186, 9189184, 9189183, 9188547, 9179361, 9179350, 9179346, 9179338, 9179328, 9178730, 9178718, 9178707, 9178698, 9178483, 9178467, 9158187, 9158186, 9150320, 9150319, 9146647, 9145455, 9137821, 9133083, 9133070, 9133069, 9131362, 9131361, 9131161, 9127505, 9121903, 9121897, 9121896, 9104282, 9100787, 9100786, 9100785, 9099078, 9097285, 9097284, 9096887, 9083363, 9074188, 9068463, 9050822, 9044607, 9041287, 9026933, 9003580, 9003548, 8996984, 8992590, 8992589, 8988770, 8988769, 8988213, 8983850, 8983849, 8980325, 8972710, 8970617, 8962941, 8962935, 8962934, 8960217, 8954421, 8944616, 8942732, 8940905, 8939337, 8939336, 8932167, 8905866, 8890272, 8888714, 8880789, 8880788, 8880787, 8880786, 8877785, 8877782, 8877303, 8871616, 8871613, 8863423, 8860909, 8860907, 8857845, 8851191, 8851189, 8851188, 8851186, 8851185, 8849715, 8846911, 8842029, 8836526, 8833879, 8833878, 8833226, 8832341, 8832023, 8827212, 8826216, 8821373, 8820949, 8820947, 8815244, 8815197, 8809331, 8808254, 8807063, 8806260, 8803330, 8799960, 8799959, 8799955, 8799954, 8799230, 8782956, 8778414, 8772852, 8772101, 8771870, 8771452, 8770153, 8769171, 8766324, 8765464, 8764703, 8764538, 8763325, 8755976, 8754548, 8754547, 8754407, 8754336, 8754332, 8754331, 8754329, 8754328, 8754326, 8751701, 8749078, 8748991, 8744897, 8743987, 8726350, 8723021, 8722083, 8719834, 8701767, 8701385, 8699155, 8697704, 8697701, 8696386, 8696384, 8684151, 8670462, 8656139, 8654458, 8653623, 8651526, 8648160, 8636093, 8630187, 8629808, 8629023, 8627231, 8626174, 8626173, 8626165, 8626162, 8625835, 8625834, 8625833, 8625831, 8625830, 8623853, 8623786, 8623319, 8621204, 8621203, 8621201, 8620552, 8620195, 8620192, 8620188, 8620186, 8620180, 8615937, 8615875, 8610896, 8607108, 8606191, 8604739, 8604738, 8604378, 8603601, 8603457, 8601648, 8598689, 8598521, 8597644, 8597626, 8597340, 8597191, 8597190, 8591492, 8590560, 8588954, 8588953, 8584842, 8583231, 8583180, 8583178, 8580633, 8580632, 8580630, 8580483, 8568052, 8565388, 8563626, 8562425, 8560538, 8560537, 8558616, 8558614, 8558613, 8557716, 8555655, 8553278, 8553277, 8552025, 8550272, 8548103, 8541774, 8540787, 8540786, 8540785, 8537825, 8532582, 8532529, 8528658, 8528403, 8526525, 8455157, 8449247, 8449228, 8448946, 8447664, 8239086)
Run Time: 0.024744
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 386 | 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: 87
Run Time: 0.000935
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",87],["thread",9656234],["thread",9654524],["thread",9649206],["thread",9649200],["thread",9647633],["thread",9643400],["thread",9642757],["thread",9636344],["thread",9636015],["thread",9634141],["thread",9634015],["thread",9629467],["thread",9588456],["thread",9584000],["thread",9582359],["thread",9576347],["thread",9575327],["thread",9565590],["thread",9565383],["thread",9550943],["thread",9548733],["thread",9537848],["thread",9531934],["thread",9523154],["thread",9516496],["thread",9506677],["thread",9482014],["thread",9477709],["thread",9450603],["thread",9446329],["thread",9443577],["thread",9442091],["thread",9441505],["thread",9436268],["thread",9427831],["thread",9424860],["thread",9414955],["thread",9408614],["thread",9403223],["thread",9391511],["thread",9377304],["thread",9319175],["thread",9309728],["thread",9285250],["thread",9257213],["thread",9256571],["thread",9241432],["thread",9222797],["thread",9219008],["thread",9203412],["thread",9191624],["thread",9189186],["thread",9146647],["thread",9145455],["thread",9131362],["thread",9131161],["thread",9127505],["thread",9100787],["thread",9099078],["thread",9074188],["thread",9026933],["thread",8980325],["thread",8962941],["thread",8960217],["thread",8944616],["thread",8905866],["thread",8890272],["thread",8888714],["thread",8877785],["thread",8860909],["thread",8821373],["thread",8809331],["thread",8808254],["thread",8782956],["thread",8771870],["thread",8755976],["thread",8754407],["thread",8754336],["thread",8748991],["thread",8719834],["thread",8701767],["thread",8697704],["thread",8696386],["thread",8684151],["thread",8670462],["thread",8656139],["thread",8654458],["thread",8653623],["thread",8651526],["thread",8648160],["thread",8636093],["thread",8630187],["thread",8629808],["thread",8626174],["thread",8626165],["thread",8623786],["thread",8623319],["thread",8621204],["thread",8621203],["thread",8621201],["thread",8615937],["thread",8610896],["thread",8607108],["thread",8606191],["thread",8604378],["thread",8603457],["thread",8601648],["thread",8598689],["thread",8598521],["thread",8597644],["thread",8597340],["thread",8597191],["thread",8591492],["thread",8588954],["thread",8584842],["thread",8583231],["thread",8583180],["thread",8580483],["thread",8568052],["thread",8563626],["thread",8562425],["thread",8560538],["thread",8558616],["thread",8555655],["thread",8550272],["thread",8537825],["thread",8526525],["thread",8455157],["thread",8449247],["thread",8449228],["thread",8448946],["thread",8447664]], 133, tinhte_xentag_tag, , {"tags":["\u00e1o thun tay d\u00e0i"]}, date, 0, , [], 0, 1652868181, 87007293d032fdf916fe98857c2e963e
Run Time: 0.000807
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 (8621201, 8615937, 8610896, 8607108, 8606191, 8604378, 8603457, 8601648, 8598689, 8598521, 8597644, 8597340, 8597191, 8591492, 8588954, 8584842, 8583231, 8583180, 8580483, 8568052)
Run Time: 0.002221
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: 520078
Run Time: 0.000544
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=%C3%A1o+thun+tay+d%C3%A0i&page=6, 1652868181,
Run Time: 0.000494
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.002880
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 > 1652867281)
ORDER BY session_activity.view_date DESC
Run Time: 0.004515
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 3266 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |