SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000239
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 = 'xe mazda cx5')
Run Time: 0.000450
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: 63898504
Run Time: 0.000306
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: 139
Run Time: 0.000670
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, 139
Run Time: 0.000342
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 (9684711, 9684710, 9655684, 9655683, 9632765, 9632764, 9607514, 9553657, 9525746, 9522503, 9522502, 9480121, 9480119, 9480118, 9465135, 9435129, 9349172, 9346257, 9343256, 9342689, 9336679, 9336616, 9332778, 9332777, 9328064, 9321598, 9321597, 9320174, 9312580, 9292333, 9292330, 9263985, 9263984, 9263983, 9255884, 9254825, 9200018, 9200016, 9200014, 9192169, 9192168, 9171601, 9168665, 9168664, 9136986, 9119075, 9118549, 9118450, 9108284, 9108281, 9104694, 9092680, 9088203, 9080925, 9079942, 8987021, 8987020, 8959025, 8939857, 8939856, 8926752, 8921986, 8918013, 8903070, 8899073, 8899072, 8897483, 8897482, 8897476, 8897454, 8897451, 8897450, 8878333, 8869440, 8868940, 8868932, 8868931, 8845185, 8841896, 8841481, 8840864, 8840598, 8838374, 8838373, 8833195, 8831321, 8828722, 8823332, 8821509, 8821375, 8821059, 8820933, 8820878, 8815159, 8815158, 8814968, 8807665, 8807664, 8804036, 8804034, 8803109, 8803108, 8802618, 8799697, 8798863, 8794442, 8793169, 8786313, 8786312, 8783979, 8783704, 8783062, 8783060, 8781111, 8778940, 8778512, 8777226, 8777070, 8777068, 8774487, 8773270, 8770095, 8767302, 8766403, 8766339, 8766338, 8763197, 8763019, 8758417, 8752928, 8748322, 8748320, 8747921, 8747748, 8745828, 8739275, 8728816, 8725121, 8725120, 8724904, 8724806, 8723135, 8720029, 8719457, 8717851, 8717040, 8715155, 8714002, 8712281, 8712145, 8712144, 8709381, 8702657, 8691209, 8685294, 8672235, 8671980, 8653887, 8653568, 8637872, 8637681, 8627452, 8624811, 8624767, 8624746, 8624734, 8624726, 8619157, 8618730, 8618711, 8617786, 8607253, 8562564, 8538503, 8521646, 8505133, 8476159, 8456885, 8183388)
Run Time: 0.004168
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 179 | 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: 139
Run Time: 0.000661
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",139],["thread",9632765],["thread",9525746],["thread",9480121],["thread",9480119],["thread",9435129],["thread",9336616],["thread",9332778],["thread",9328064],["thread",9321598],["thread",9320174],["thread",9292333],["thread",9263985],["thread",9254825],["thread",9104694],["thread",8845185],["thread",8841896],["thread",8841481],["thread",8840598],["thread",8838374],["thread",8833195],["thread",8823332],["thread",8821375],["thread",8807665],["thread",8803109],["thread",8799697],["thread",8794442],["thread",8793169],["thread",8783979],["thread",8783704],["thread",8783062],["thread",8781111],["thread",8778512],["thread",8774487],["thread",8745828],["thread",8725121],["thread",8724904],["thread",8712281],["thread",8702657],["thread",8691209],["thread",8685294],["thread",8672235],["thread",8671980],["thread",8653887],["thread",8653568],["thread",8637872],["thread",8637681],["thread",8627452],["thread",8624811],["thread",8624767],["thread",8624746],["thread",8624734],["thread",8624726],["thread",8619157],["thread",8618730],["thread",8618711],["thread",8617786],["thread",8607253],["thread",8562564],["thread",8521646],["thread",8476159],["thread",8456885]], 62, tinhte_xentag_tag, , {"tags":["xe mazda cx5"]}, date, 0, , [], 0, 1660707749, 68242a58b16e26cd6aa46e94986da19f
Run Time: 0.000448
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 (8476159, 8456885)
Run Time: 0.001199
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 2 | 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: 671613
Run Time: 0.000300
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=xe+mazda+cx5&page=4, 1660707749,
Run Time: 0.000406
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000232
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 > 1660706849)
ORDER BY session_activity.view_date DESC
Run Time: 0.010193
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2646 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |