SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000219
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 = 'laptop gaming')
Run Time: 0.000435
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 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 (9675460, 9660430, 9660290, 9660279, 9654839, 9615472, 9613665, 9613664, 9612857, 9606067, 9606066, 9597566, 9597565, 9597302, 9585305, 9580589, 9555558, 9551649, 9546208, 9545452, 9540668, 9535770, 9533255, 9526802, 9515629, 9505151, 9505147, 9499000, 9494057, 9492646, 9491686, 9485727, 9475794, 9475793, 9468158, 9463667, 9463161, 9459818, 9459196, 9458190, 9453518, 9452083, 9449322, 9447937, 9446407, 9446402, 9441282, 9439077, 9438515, 9434256, 9433426, 9433396, 9431962, 9427526, 9427525, 9425764, 9422714, 9418511, 9417520, 9416902, 9406375, 9406374, 9397892, 9392086, 9386400, 9385719, 9379454, 9375893, 9375886, 9364717, 9364716, 9363813, 9363401, 9362013, 9362012, 9357280, 9351649, 9347581, 9346159, 9341667, 9341656, 9341653, 9340322, 9339236, 9338752, 9336890, 9336519, 9328342, 9326758, 9326757, 9324423, 9324415, 9319775, 9312165, 9310828, 9306747, 9306157, 9306156, 9303293, 9303072, 9298623, 9298139, 9295799, 9295798, 9293280, 9293242, 9288647, 9287367, 9285517, 9282374, 9282373, 9272613, 9270476, 9264739, 9263713, 9262867, 9262866, 9262862, 9262859, 9262854, 9262841, 9262827, 9262820, 9262727, 9252509, 9252504, 9252503, 9250862, 9239193, 9231188, 9231050, 9229557, 9229556, 9228874, 9223104, 9222451, 9215487, 9215486, 9187094, 9184249, 9178089, 9159258, 9150744, 9140682, 9140681, 9122448, 9077413, 9077411, 9029818, 9029452, 9029449, 8976663, 8954493, 8934373, 8934342, 8930154, 8927892, 8923994, 8922193, 8917950, 8905781, 8905230, 8901917, 8900644, 8875139, 8868873, 8868872, 8868493, 8864896, 8857256, 8854313, 8839419, 8839418, 8839416, 8833201, 8829751, 8829750, 8826400, 8807671, 8801542, 8772659, 8772658, 8734412, 8643749, 8636744, 8629456, 8564151, 8520995, 8458510, 8365481, 8285103)
Run Time: 0.006694
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 191 | 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_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: [["thread",9675460],["thread",9654839],["thread",9613665],["thread",9580589],["thread",9555558],["thread",9551649],["thread",9546208],["thread",9540668],["thread",9526802],["thread",9515629],["thread",9499000],["thread",9449322],["thread",9446407],["thread",9439077],["thread",9433426],["thread",9433396],["thread",9427526],["thread",9417520],["thread",9397892],["thread",9364717],["thread",9363401],["thread",9362013],["thread",9357280],["thread",9338752],["thread",9310828],["thread",9306157],["thread",9298623],["thread",9288647],["thread",9287367],["thread",9285517],["thread",9262867],["thread",9262862],["thread",9262859],["thread",9262854],["thread",9262841],["thread",9262827],["thread",9262820],["thread",9239193],["thread",9215487],["thread",9159258],["thread",9150744],["thread",8976663],["thread",8954493],["thread",8905230],["thread",8901917],["thread",8900644],["thread",8875139],["thread",8826400],["thread",8629456],["thread",8564151],["thread",8520995],["thread",8365481]], 52, tinhte_xentag_tag, , {"tags":["laptop gaming"]}, date, 0, , [], 0, 1653362453, 1970186db6178800cfa4191cea99d860
Run Time: 0.000460
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 (9675460, 9654839, 9613665, 9580589, 9555558, 9551649, 9546208, 9540668, 9526802, 9515629, 9499000, 9449322, 9446407, 9439077, 9433426, 9433396, 9427526, 9417520, 9397892, 9364717)
Run Time: 0.001556
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: 511256
Run Time: 0.000308
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=laptop+gaming, 1653362453,
Run Time: 0.000362
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000224
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 > 1653361553)
ORDER BY session_activity.view_date DESC
Run Time: 0.005019
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2833 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |