SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000265
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 = 'shark 125')
Run Time: 0.000647
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: 49213764
Run Time: 0.000401
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: 43
Run Time: 0.000552
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, 43
Run Time: 0.000179
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 (9602437, 9602433, 9602428, 9561372, 9464536, 9460171, 9451171, 9451170, 9448481, 9404304, 9388546, 9388545, 9388544, 9388543, 9370936, 9361873, 9361872, 9329920, 9319735, 9276527, 9266695, 9241260, 9224974, 9220931, 9220588, 9220087, 9216250, 9215520, 9215517, 9215515, 9215514, 9211401, 9177119, 9169433, 9090833, 9090832, 9074963, 9060766, 9054190, 9018748, 9012390, 9009663, 8971547, 8971130, 8950527, 8934640, 8925009, 8901485, 8898604, 8894395, 8893697, 8885031, 8884641, 8879417, 8876045, 8864106, 8856747, 8856744, 8856743, 8855523, 8855147, 8853439, 8853430, 8852332, 8852330, 8847454, 8845377, 8837088, 8834288, 8833324, 8832789, 8832785, 8832784, 8832783, 8830922, 8824640, 8823733, 8819189, 8814019, 8811191, 8811188, 8808962, 8808960, 8808954, 8808953, 8808951, 8808950, 8806965, 8806964, 8796902, 8787719, 8787718, 8783991, 8780312, 8780311, 8775907, 8775189, 8775187, 8771236, 8771235, 8768207, 8768206, 8752246, 8747526, 8747518, 8747069, 8732985, 8731796, 8731795, 8731793, 8715471, 8712288, 8712287, 8710422, 8707150, 8706035, 8706034, 8690838, 8685025, 8678439, 8678438, 8668506, 8659972, 8657666, 8641546, 8639749, 8639747, 8639745, 8631854, 8631853, 8631821, 8631820, 8631819, 8631178, 8618476, 8614135, 8613510, 8612182, 8612181, 8612087, 8606716, 8602219, 8602218, 8602216, 8598656, 8590992, 8575881, 8575880, 8575416, 8567236, 8565481, 8562265, 8555977, 8554112, 8548920, 8534376, 8534375, 8534374, 8533861, 8533859, 8533858, 8521973, 8521971, 8521391, 8466705, 8417807, 8350957, 8343007, 8307096, 8304275, 8300671, 8260029, 8258184, 8240489, 8218296, 8207189, 8204948, 8183252, 8162984, 8064137, 8054520, 8052090, 8041911, 7890222, 7843707, 7729669, 7645855, 7628057, 7562557, 7556926, 7552958, 7500939, 7487256, 7473133, 7469912, 7463432, 7408487, 7398288, 7360836, 7350035, 7320831, 7309895, 5525583, 6774717, 6751234, 5848751, 5579669, 3255256)
Run Time: 0.006580
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 208 | 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: 43
Run Time: 0.000507
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",43],["thread",9602437],["thread",9602433],["thread",9602428],["thread",9404304],["thread",9329920],["thread",9241260],["thread",9224974],["thread",9220087],["thread",9074963],["thread",8971547],["thread",8971130],["thread",8884641],["thread",8879417],["thread",8847454],["thread",8780312],["thread",8768206],["thread",8747526],["thread",8706035],["thread",8678439],["thread",8659972],["thread",8612087],["thread",8606716],["thread",8575881],["thread",8575416],["thread",8554112],["thread",8534376],["thread",8466705],["thread",8350957],["thread",8307096],["thread",8304275],["thread",8260029],["thread",8258184],["thread",8218296],["thread",8204948],["thread",8162984],["thread",8064137],["thread",8054520],["thread",8041911],["thread",7890222],["thread",7843707],["thread",7729669],["thread",7552958],["thread",7500939],["thread",7487256],["thread",7473133],["thread",7469912],["thread",7463432],["thread",7408487],["thread",7398288],["thread",7360836],["thread",7350035],["thread",5848751]], 53, tinhte_xentag_tag, , {"tags":["shark 125"]}, date, 0, , [], 0, 1656396333, a60ec5e647b037e051625e8979cdca37
Run Time: 0.000531
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 (7843707, 7729669, 7552958, 7500939, 7487256, 7473133, 7469912, 7463432, 7408487, 7398288, 7360836, 7350035, 5848751)
Run Time: 0.001730
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 13 | 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: 324965
Run Time: 0.000484
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=shark+125&page=3, 1656396333,
Run Time: 0.000444
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000268
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 > 1656395433)
ORDER BY session_activity.view_date DESC
Run Time: 0.001005
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2934 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |