SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000433
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 = 'cho thuĂȘ server')
Run Time: 0.000431
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 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: 158
Run Time: 0.000877
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, 158
Run Time: 0.000307
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 (9670539, 9667782, 9659671, 9659670, 9659669, 9659668, 9659667, 9658590, 9657661, 9655183, 9649686, 9643677, 9642923, 9616235, 9608212, 9596437, 9596309, 9579683, 9579682, 9577654, 9577638, 9577630, 9577620, 9567722, 9566781, 9562303, 9562261, 9561816, 9543317, 9543316, 9536614, 9522941, 9520194, 9489415, 9489414, 9489413, 9465293, 9456928, 9456927, 9454676, 9412029, 9407773, 9407772, 9365963, 9365680, 9365480, 9365479, 9357393, 9339206, 9339205, 9254666, 9220976, 9193165, 9193155, 9153690, 9153687, 9150863, 9150862, 9150781, 9145631, 9145630, 9145557, 9127588, 9112741, 9112738, 9095758, 9095152, 9095150, 9093996, 9092984, 9067083, 9042553, 9038753, 9034645, 9034644, 9024010, 9011068, 8975283, 8906817, 8906816, 8906301, 8906275, 8896686, 8890236, 8890033, 8887787, 8883601, 8883598, 8861278, 8856644, 8828782, 8806217, 8793953, 8793950, 8793949, 8793948, 8793941, 8784131, 8776883, 8758587, 8758585, 8758583, 8757408, 8747264, 8707319, 8680166, 8665571, 8665557, 8665549, 8650642, 8565901, 8510858, 8495576, 8484424, 8474922, 8443118, 8441053, 8430400, 8402682, 8380713, 8339117, 8327362, 8243391, 8212682, 8199089, 8172898, 8172307, 8139757, 8029869, 8029822, 8029807, 7797254, 7723655, 7501261, 7493230, 7261744, 7162668, 4313233)
Run Time: 0.004873
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 138 | 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: 158
Run Time: 0.000461
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",158],["thread",9667782],["thread",9658590],["thread",9657661],["thread",9655183],["thread",9649686],["thread",9643677],["thread",9608212],["thread",9596309],["thread",9579683],["thread",9577654],["thread",9577638],["thread",9577630],["thread",9577620],["thread",9567722],["thread",9566781],["thread",9562261],["thread",9561816],["thread",9543317],["thread",9543316],["thread",9520194],["thread",9489415],["thread",9465293],["thread",9456928],["thread",9454676],["thread",9412029],["thread",9407773],["thread",9365963],["thread",9365680],["thread",9365480],["thread",9339206],["thread",9254666],["thread",9193165],["thread",9193155],["thread",9153690],["thread",9150863],["thread",9150781],["thread",9145631],["thread",9145557],["thread",9127588],["thread",9092984],["thread",9067083],["thread",8975283],["thread",8890236],["thread",8887787],["thread",8883601],["thread",8883598],["thread",8861278],["thread",8856644],["thread",8828782],["thread",8806217],["thread",8776883],["thread",8758587],["thread",8757408],["thread",8747264],["thread",8707319],["thread",8680166],["thread",8665571],["thread",8665557],["thread",8665549],["thread",8650642],["thread",8565901],["thread",8510858],["thread",8484424],["thread",8474922],["thread",8441053],["thread",8430400],["thread",8402682],["thread",8380713],["thread",8339117],["thread",8327362],["thread",8212682],["thread",8199089],["thread",8172898],["thread",8172307],["thread",8139757],["thread",8029869],["thread",8029822],["thread",8029807],["thread",7797254],["thread",7723655],["thread",7493230],["thread",7261744],["thread",4313233]], 84, tinhte_xentag_tag, , {"tags":["cho thu\u00ea server"]}, date, 0, , [], 0, 1656969792, 3aca1d2166095c1241b9453e16db35aa
Run Time: 0.000560
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: 158
Run Time: 0.000467
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 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 (9667782, 9658590, 9657661, 9655183, 9649686, 9643677, 9608212, 9596309, 9579683, 9577654, 9577638, 9577630, 9577620, 9567722, 9566781, 9562261, 9561816, 9543317, 9543316)
Run Time: 0.001524
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 19 | 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: 700743
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=cho+thu%C3%AA+server, 1656969792,
Run Time: 0.000384
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000236
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 > 1656968892)
ORDER BY session_activity.view_date DESC
Run Time: 0.003315
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1222 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |