SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000208
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 = 'quần tây nam')
Run Time: 0.000473
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 3 | Using index condition |
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.000757
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.000164
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 (9675710, 9645915, 9645710, 9643432, 9642625, 9642624, 9640049, 9630180, 9626110, 9625651, 9624497, 9620037, 9609352, 9607140, 9601770, 9600957, 9600956, 9600638, 9600070, 9600069, 9600067, 9582720, 9574753, 9574752, 9573588, 9573587, 9573287, 9573286, 9568425, 9565203, 9545951, 9507928, 9506672, 9482551, 9481101, 9471521, 9452437, 9441432, 9440444, 9436219, 9436218, 9427357, 9399607, 9389033, 9377135, 9373880, 9373877, 9367853, 9359048, 9358181, 9357499, 9357498, 9357341, 9331675, 9320019, 9317583, 9316373, 9315776, 9313242, 9311496, 9306890, 9303492, 9302903, 9299012, 9298485, 9282097, 9276052, 9257112, 9255239, 9246700, 9246699, 9243944, 9243693, 9242201, 9232449, 9219731, 9218145, 9210880, 9210878, 9210546, 9198146, 9196100, 9192803, 9188547, 9183189, 9177263, 9175229, 9175174, 9175036, 9167771, 9140385, 9137821, 9136502, 9128446, 9107582, 9107581, 9100786, 9100785, 9097286, 9097285, 9097284, 9090204, 9090203, 9090202, 9086746, 9083364, 9083363, 9077617, 9076103, 9071880, 9071879, 9064152, 9059481, 9058021, 9053654, 9043773, 9041287, 9025051, 8999251, 8997361, 8994751, 8992590, 8992589, 8987561, 8986387, 8986386, 8983421, 8980945, 8970486, 8967174, 8946393, 8945540, 8942732, 8938868, 8935181, 8934166, 8933325, 8933324, 8932166, 8931641, 8931640, 8907365, 8897571, 8897570, 8897423, 8897422, 8896108, 8882908, 8882906, 8880789, 8880788, 8880787, 8880786, 8878495, 8877782, 8876429, 8868909, 8868908, 8868076, 8865333, 8865332, 8864949, 8864948, 8862971, 8862970, 8860907, 8850154, 8850043, 8850026, 8845401, 8837565, 8837564, 8835342, 8829013, 8827162, 8826884, 8826216, 8824111, 8824110, 8812618, 8808798, 8807061, 8802322, 8791798, 8791792, 8790905, 8788205, 8788204, 8785523, 8785521, 8780103, 8778415, 8778414, 8772102, 8766324, 8765817, 8762736, 8760598, 8759040, 8759039, 8755692, 8755062, 8754419, 8754418, 8749078, 8748370, 8748368, 8748367, 8738376, 8738375, 8738374, 8738373, 8738372, 8738371, 8736792, 8735088, 8729893, 8729892, 8729891, 8726350, 8723021, 8722083, 8720893, 8720588, 8691777, 8682883, 8630801, 8617609, 8595330, 8591969, 8581730, 8581299, 8580587, 8580553, 8564844, 8559390, 8552027, 8546748, 8541622, 8491802, 8474695, 8474498, 8455157, 8415179, 8412141, 8403878, 8386089, 8383781, 8377527, 8330563, 8227577, 8225096, 8194634, 8136881, 8083557, 8066067, 7807065, 7564776, 7519224, 7443317, 5539042)
Run Time: 0.005904
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 261 | 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.000465
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",9643432],["thread",9640049],["thread",9630180],["thread",9626110],["thread",9625651],["thread",9624497],["thread",9620037],["thread",9609352],["thread",9607140],["thread",9601770],["thread",9600957],["thread",9600638],["thread",9582720],["thread",9574753],["thread",9573588],["thread",9573287],["thread",9568425],["thread",9507928],["thread",9482551],["thread",9471521],["thread",9440444],["thread",9436219],["thread",9389033],["thread",9306890],["thread",9299012],["thread",9298485],["thread",9257112],["thread",9246700],["thread",9218145],["thread",9210546],["thread",9183189],["thread",9175036],["thread",9167771],["thread",9140385],["thread",9136502],["thread",9097286],["thread",9090204],["thread",9086746],["thread",9064152],["thread",9053654],["thread",8980945],["thread",8938868],["thread",8932166],["thread",8931641],["thread",8907365],["thread",8896108],["thread",8882908],["thread",8878495],["thread",8876429],["thread",8868909],["thread",8868076],["thread",8865333],["thread",8862971],["thread",8850043],["thread",8850026],["thread",8807061],["thread",8788205],["thread",8785523],["thread",8780103],["thread",8778415],["thread",8759040],["thread",8755062],["thread",8736792],["thread",8729893],["thread",8720893],["thread",8691777],["thread",8682883],["thread",8630801],["thread",8595330],["thread",8591969],["thread",8581730],["thread",8581299],["thread",8580587],["thread",8580553],["thread",8564844],["thread",8559390],["thread",8552027],["thread",8541622],["thread",8491802],["thread",8474695],["thread",8474498],["thread",8455157],["thread",8415179],["thread",8412141],["thread",8403878],["thread",8386089],["thread",8383781],["thread",8377527],["thread",8330563],["thread",8227577],["thread",8225096],["thread",8194634],["thread",8136881],["thread",8083557],["thread",8066067],["thread",7807065],["thread",7564776],["thread",7519224],["thread",7443317],["thread",5539042]], 101, tinhte_xentag_tag, , {"tags":["qu\u1ea7n t\u00e2y nam"]}, date, 0, , [], 0, 1656111486, 93130bd446b9cece37e1794ef12bea6c
Run Time: 0.000485
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 (8778415, 8759040, 8755062, 8736792, 8729893, 8720893, 8691777, 8682883, 8630801, 8595330, 8591969, 8581730, 8581299, 8580587, 8580553, 8564844, 8559390, 8552027, 8541622, 8491802)
Run Time: 0.001659
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: 512972
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=qu%E1%BA%A7n+t%C3%A2y+nam&page=4, 1656111486,
Run Time: 0.000379
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000221
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 > 1656110586)
ORDER BY session_activity.view_date DESC
Run Time: 0.000783
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1733 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |