SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000218
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 toyota vios')
Run Time: 0.000525
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 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.000816
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.000182
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 (9684710, 9657796, 9655684, 9655683, 9637029, 9637028, 9632764, 9601017, 9576506, 9571697, 9561205, 9537473, 9529980, 9529979, 9522502, 9499333, 9495516, 9486930, 9474259, 9460927, 9459928, 9459927, 9459926, 9447813, 9447812, 9431413, 9431301, 9425770, 9424102, 9421188, 9421187, 9421186, 9421185, 9407585, 9407584, 9407581, 9406935, 9405191, 9402703, 9392319, 9350872, 9344953, 9344951, 9332778, 9332777, 9332041, 9330699, 9328770, 9316533, 9306798, 9301419, 9301418, 9292333, 9292330, 9262249, 9245595, 9229656, 9227413, 9226845, 9224258, 9224251, 9221444, 9221060, 9216241, 9214516, 9214024, 9214023, 9212897, 9205487, 9205186, 9203680, 9201893, 9201773, 9201772, 9201264, 9200016, 9200014, 9197488, 9192170, 9192169, 9192168, 9190286, 9188328, 9182837, 9177858, 9177822, 9175661, 9175653, 9173441, 9173438, 9168666, 9168665, 9168664, 9168599, 9168470, 9166868, 9159403, 9157533, 9154340, 9153641, 9152399, 9149763, 9149761, 9149665, 9127934, 9127426, 9123187, 9123186, 9121597, 9119854, 9119077, 9119076, 9119075, 9118549, 9117757, 9102370, 9098674, 9098629, 9091676, 9080303, 9069937, 9061761, 9052935, 9040751, 8991142, 8991140, 8987021, 8987020, 8983191, 8983190, 8980674, 8974013, 8968841, 8965817, 8955130, 8949433, 8947005, 8942828, 8939857, 8939856, 8934135, 8931812, 8926687, 8922691, 8920434, 8918013, 8904843, 8903157, 8903087, 8902017, 8902015, 8899091, 8897464, 8891979, 8886812, 8882810, 8879248, 8868349, 8862900, 8862899, 8854212, 8852925, 8840865, 8840864, 8839782, 8837469, 8836748, 8834884, 8833268, 8832698, 8832697, 8832170, 8832169, 8825761, 8825760, 8824696, 8822982, 8822174, 8821575, 8820882, 8818801, 8818800, 8818282, 8817008, 8816583, 8815990, 8807665, 8807664, 8807610, 8805979, 8805977, 8803109, 8803108, 8803105, 8802618, 8801799, 8799216, 8799076, 8798926, 8795847, 8790493, 8790492, 8789017, 8788004, 8788003, 8786081, 8783169, 8783062, 8783060, 8779909, 8779908, 8777068, 8775769, 8775766, 8773271, 8773270, 8772143, 8772141, 8770095, 8768173, 8767296, 8766443, 8766407, 8766107, 8766076, 8766075, 8763177, 8763175, 8763174, 8763019, 8762061, 8761525, 8761524, 8760149, 8758409, 8758382, 8758380, 8756274, 8753082, 8752928, 8752892, 8752891, 8748248, 8747921, 8747902, 8747900, 8747709, 8746160, 8746159, 8746157, 8745554, 8745553, 8744584, 8743285, 8743283, 8743282, 8743280, 8743277, 8743272, 8741075, 8740024, 8737774, 8737773, 8731897, 8730455, 8730454, 8730453, 8728818, 8728816, 8727762, 8725121, 8725120, 8723143, 8722021, 8719151, 8718039, 8718037, 8717851, 8715157, 8715155, 8713910, 8712144, 8710545, 8708880, 8708705, 8708552, 8703577, 8702405, 8697182, 8692042, 8685641, 8685325, 8682105, 8672258, 8663905, 8661868, 8661561, 8659509, 8658381, 8654829, 8645485, 8629477, 8629348, 8612612, 8608954, 8540959, 8494304, 8422917, 8298497, 7986580, 7618542, 7428424, 7346726, 7054688)
Run Time: 0.007180
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 314 | 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.000522
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",9537473],["thread",9529980],["thread",9499333],["thread",9474259],["thread",9460927],["thread",9459928],["thread",9447813],["thread",9407585],["thread",9407581],["thread",9406935],["thread",9402703],["thread",9350872],["thread",9344953],["thread",9332778],["thread",9332041],["thread",9330699],["thread",9316533],["thread",9301419],["thread",9292333],["thread",9262249],["thread",9229656],["thread",9227413],["thread",9224258],["thread",9221444],["thread",9221060],["thread",9216241],["thread",9214024],["thread",9205487],["thread",9203680],["thread",9201893],["thread",9201773],["thread",9201264],["thread",9192170],["thread",9177858],["thread",9177822],["thread",9173441],["thread",9173438],["thread",9168666],["thread",9168470],["thread",9159403],["thread",9153641],["thread",9152399],["thread",9149763],["thread",9117757],["thread",9102370],["thread",9098629],["thread",9052935],["thread",8991142],["thread",8991140],["thread",8968841],["thread",8949433],["thread",8920434],["thread",8903157],["thread",8902017],["thread",8891979],["thread",8882810],["thread",8854212],["thread",8852925],["thread",8840865],["thread",8839782],["thread",8832698],["thread",8832170],["thread",8825761],["thread",8822982],["thread",8821575],["thread",8817008],["thread",8815990],["thread",8807665],["thread",8803109],["thread",8801799],["thread",8790493],["thread",8789017],["thread",8783169],["thread",8783062],["thread",8775769],["thread",8773271],["thread",8772143],["thread",8768173],["thread",8763177],["thread",8762061],["thread",8761525],["thread",8760149],["thread",8753082],["thread",8747902],["thread",8737774],["thread",8730455],["thread",8728818],["thread",8725121],["thread",8723143],["thread",8722021],["thread",8713910],["thread",8710545],["thread",8708705],["thread",8703577],["thread",8702405],["thread",8697182],["thread",8692042],["thread",8685641],["thread",8685325],["thread",8682105],["thread",8672258],["thread",8663905],["thread",8661868],["thread",8659509],["thread",8658381],["thread",8654829],["thread",8645485],["thread",8629477],["thread",8629348],["thread",8612612],["thread",8608954],["thread",8540959],["thread",8494304],["thread",8422917],["thread",8298497],["thread",7986580],["thread",7618542],["thread",7428424],["thread",7346726]], 120, tinhte_xentag_tag, , {"tags":["xe toyota vios"]}, date, 0, , [], 0, 1656305280, 3dc4015274aec75fa9b42a031fcc57d2
Run Time: 0.000527
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.000584
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 (9537473, 9529980, 9499333, 9474259, 9460927, 9459928, 9447813, 9407585, 9407581, 9406935, 9402703, 9350872, 9344953, 9332778, 9332041, 9330699, 9316533, 9301419, 9292333)
Run Time: 0.001660
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: 678969
Run Time: 0.000309
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+toyota+vios, 1656305280,
Run Time: 0.000396
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000218
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 > 1656304380)
ORDER BY session_activity.view_date DESC
Run Time: 0.004466
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2656 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |