SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000254
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 = 'hp envy 13')
Run Time: 0.000524
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: 49212436
Run Time: 0.000304
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: 27
Run Time: 0.000697
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, 27
Run Time: 0.000172
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 (9630775, 9568515, 9542362, 9514653, 9480423, 9470867, 9460641, 9448175, 9448171, 9442596, 9437741, 9437716, 9404002, 9396912, 9395241, 9392083, 9391315, 9388257, 9385070, 9384148, 9380534, 9376964, 9375741, 9373771, 9373763, 9373749, 9372734, 9372586, 9366920, 9364058, 9364053, 9364036, 9360337, 9360335, 9356739, 9350933, 9350926, 9342216, 9323018, 9323015, 9301668, 9269976, 9269975, 9252848, 9249215, 9249213, 9249188, 9244804, 9244788, 9244734, 9240126, 9240118, 9239508, 9233728, 9233685, 9233680, 9231873, 9231862, 9222080, 9222062, 9211340, 9190194, 9185986, 9175098, 9068421, 9058315, 9043355, 8999582, 8999581, 8966705, 8939477, 8927233, 8918823, 8918816, 8904530, 8904529, 8893496, 8886256, 8886252, 8886249, 8885506, 8884674, 8884672, 8884467, 8882522, 8882516, 8881631, 8880741, 8877910, 8815148, 8799301, 8796290, 8796289, 8783849, 8783848, 8775550, 8774650, 8773962, 8772722, 8759885, 8745852, 8745517, 8743392, 8740691, 8740259, 8739179, 8738085, 8729003, 8723608, 8723252, 8718991, 8717803, 8707500, 8671637, 8664064, 8661440, 8654819, 8652988, 8652987, 8635130, 8625670, 8625669, 8625668, 8620756, 8620325, 8606523, 8572306, 8572305, 8572304, 8572011, 8493174, 8489890, 8453600, 8428255, 8428250, 8396739, 8371114, 8354814, 8340950, 8335808, 8334752, 8333165, 8314285, 8292739, 8290600, 8268562, 8226444, 8215842, 8203444, 8202232, 8198409, 8171304, 8140293, 8132801, 8129572, 8013627, 7992021, 7959591, 7565083, 7547990, 7502290, 7436651, 7396471, 7386643, 7368450, 7365307, 7329454, 7269851, 7237950, 6849521)
Run Time: 0.007205
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 170 | 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: 27
Run Time: 0.000533
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",27],["thread",9514653],["thread",9190194],["thread",9058315],["thread",8927233],["thread",8886252],["thread",8886249],["thread",8877910],["thread",8729003],["thread",8625670],["thread",8572011],["thread",8493174],["thread",8489890],["thread",8453600],["thread",8428255],["thread",8428250],["thread",8396739],["thread",8371114],["thread",8354814],["thread",8340950],["thread",8335808],["thread",8334752],["thread",8314285],["thread",8292739],["thread",8290600],["thread",8268562],["thread",8226444],["thread",8215842],["thread",8203444],["thread",8202232],["thread",8198409],["thread",8171304],["thread",8140293],["thread",8132801],["thread",8129572],["thread",8013627],["thread",7992021],["thread",7959591],["thread",7565083],["thread",7547990],["thread",7502290],["thread",7396471],["thread",7386643],["thread",7368450],["thread",7365307],["thread",7329454],["thread",7269851],["thread",7237950],["thread",6849521]], 49, tinhte_xentag_tag, , {"tags":["hp envy 13"]}, date, 0, , [], 0, 1656651930, 854eb78d3a952acf8cd413e36b803684
Run Time: 0.000655
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: 27
Run Time: 0.000436
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 (9514653, 9190194, 9058315, 8927233, 8886252, 8886249, 8877910, 8729003, 8625670, 8572011, 8493174, 8489890, 8453600, 8428255, 8428250, 8396739, 8371114, 8354814, 8340950)
Run Time: 0.001654
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: 537142
Run Time: 0.000413
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=hp+envy+13, 1656651930,
Run Time: 0.000399
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000254
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 > 1656651030)
ORDER BY session_activity.view_date DESC
Run Time: 0.004967
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 3311 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |