SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000221
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 = 'khách sạn giá rẻ vũng tàu')
Run Time: 0.000477
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: 63898599
Run Time: 0.000293
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: 163
Run Time: 0.000558
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, 163
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 (9690185, 9668771, 9668581, 9658250, 9658239, 9658236, 9642265, 9639071, 9600808, 9590278, 9566638, 9552683, 9552682, 9548311, 9535547, 9516118, 9516116, 9516114, 9467057, 9467055, 9467054, 9457214, 9431277, 9424079, 9375821, 9325351, 9325350, 9325349, 9325348, 9321310, 9319245, 9283211, 9269390, 9254278, 9254277, 9252777, 9229721, 9218976, 9187767, 9177290, 9149572, 9147241, 9146121, 9144265, 9143503, 9142600, 9141720, 9141696, 9140843, 9126216, 9123722, 9119092, 9112965, 9112964, 9107285, 9090151, 9063933, 9063913, 9063911, 9046025, 9043823, 9035565, 9034973, 9023211, 9023210, 9004055, 8996687, 8994573, 8974490, 8966893, 8966892, 8960860, 8947186, 8947185, 8929101, 8870027, 8870026, 8862768, 8862760, 8860032, 8835506, 8830890, 8830889, 8823925, 8792267, 8782810, 8772299, 8772269, 8769120, 8754321, 8751967, 8750273, 8750272, 8748223, 8742784, 8739028, 8726782, 8693173, 8680099, 8486890, 8416169, 8358027, 8303391, 8301440, 8113805, 8091924, 8054208, 7738160, 7720423, 7593012, 7591311, 7584237, 7491802, 7377587, 7214432, 7175497, 6994649, 6702308, 6680660, 6046880, 6046782, 4929878)
Run Time: 0.003630
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 122 | 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: 163
Run Time: 0.000446
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",163],["thread",9668771],["thread",9658250],["thread",9658239],["thread",9600808],["thread",9552683],["thread",9548311],["thread",9457214],["thread",9283211],["thread",9269390],["thread",9254278],["thread",9252777],["thread",9218976],["thread",9187767],["thread",9149572],["thread",9146121],["thread",9126216],["thread",9123722],["thread",9119092],["thread",9112965],["thread",9107285],["thread",9090151],["thread",9063913],["thread",9043823],["thread",9035565],["thread",9004055],["thread",8994573],["thread",8947186],["thread",8862768],["thread",8862760],["thread",8830890],["thread",8823925],["thread",8772299],["thread",8750273],["thread",8748223],["thread",8739028],["thread",8726782],["thread",8680099],["thread",8486890],["thread",8416169],["thread",8358027],["thread",8303391],["thread",8301440],["thread",8113805],["thread",8091924],["thread",8054208],["thread",7738160],["thread",7720423],["thread",7593012],["thread",7591311],["thread",7584237],["thread",7491802],["thread",7377587],["thread",7214432],["thread",7175497],["thread",6994649],["thread",6702308],["thread",6680660],["thread",6046880],["thread",6046782],["thread",4929878]], 61, tinhte_xentag_tag, , {"tags":["kh\u00e1ch s\u1ea1n gi\u00e1 r\u1ebb v\u0169ng t\u00e0u"]}, date, 0, , [], 0, 1660642452, dae74bf20dcc6351264cb0372ec21d16
Run Time: 0.000443
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: 163
Run Time: 0.000602
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 (9668771, 9658250, 9658239, 9600808, 9552683, 9548311, 9457214, 9283211, 9269390, 9254278, 9252777, 9218976, 9187767, 9149572, 9146121, 9126216, 9123722, 9119092, 9112965)
Run Time: 0.001404
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: 692365
Run Time: 0.000268
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=kh%C3%A1ch+s%E1%BA%A1n+gi%C3%A1+r%E1%BA%BB+v%C5%A9ng+t%C3%A0u, 1660642452,
Run Time: 0.000425
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000225
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 > 1660641552)
ORDER BY session_activity.view_date DESC
Run Time: 0.004257
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2579 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |