SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000222
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 = 'thuĂȘ xe')
Run Time: 0.000471
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 2 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 45466168
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 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 (9643024, 9551186, 9456616, 9358914, 9358912, 9345710, 9184887, 9113243, 9113237, 9113236, 9113230, 9113223, 9111841, 9110854, 9110690, 9093100, 9057080, 8987110, 8940799, 8940786, 8917784, 8845336, 8816032, 8816030, 8816028, 8815177, 8815173, 8788926, 8746248, 8737773, 8726732, 8724827, 8700439, 8698923, 8691846, 8689171, 8689168, 8689088, 8689087, 8685895, 8683520, 8680805, 8675269, 8675235, 8673211, 8669702, 8669700, 8661664, 8655366, 8653286, 8653285, 8653282, 8651415, 8651412, 8646921, 8646917, 8642511, 8641161, 8641159, 8640051, 8638645, 8638644, 8638166, 8637565, 8633590, 8633043, 8627162, 8625190, 8625189, 8624491, 8616211, 8614200, 8614199, 8613792, 8613731, 8611154, 8606729, 8604216, 8603342, 8600691, 8600689, 8600687, 8596901, 8592801, 8591455, 8589356, 8588286, 8587004, 8587001, 8585805, 8584466, 8583139, 8574606, 8571233, 8569783, 8569779, 8569775, 8569773, 8569772, 8569771, 8569105, 8565872, 8565871, 8552068, 8546303, 8544202, 8543431, 8543420, 8543409, 8543403, 8541257, 8540585, 8538493, 8537435, 8529478, 8529477, 8529476, 8521022, 8515687, 8515133, 8514992, 8512680, 8512305, 8508784, 8507761, 8507760, 8507754, 8507753, 8507355, 8506158, 8504063, 8501776, 8501470, 8500124, 8497708, 8497662, 8495697, 8494422, 8490234, 8486921, 8485651, 8484164, 8484063, 8482672, 8480985, 8476612, 8474976, 8474225, 8467253, 8466763, 8465460, 8463904, 8463087, 8453051, 8452796, 8451929, 8451879, 8447280, 8441806, 8439813, 8439109, 8437568, 8431692, 8431331, 8429772, 8425796, 8424257, 8416169, 8415647, 8413497, 8413168, 8410115, 8408567, 8408000, 8407927, 8407925, 8407718, 8404513, 8404511, 8404510, 8404400, 8402047, 8401806, 8401475, 8395750, 8395749, 8393181, 8387006, 8376337, 8368888, 8368887, 8358027, 8353553, 8350963, 8347620, 8345332, 8342600, 8342341, 8342064, 8339428, 8336908, 8336407, 8335903, 8335686, 8325663, 8315093, 8314802, 8312393, 8311935, 8310058, 8302874, 8302841, 8300819, 8299595, 8298207, 8296692, 8291581, 8291164, 8290887, 8290101, 8289208, 8285419, 8284840, 8283972, 8281619, 8280430, 8280248, 8280223, 8279332, 8275123, 8268148, 8264915, 8263152, 8261697, 8257851, 8255044, 8252930, 8252338, 8249977, 8249076, 8246292, 8245459, 8245385, 8244282, 8242650, 8240311, 8239543, 8232630, 8232629, 8230018, 8225443, 8223670, 8223668, 8222602, 8222437, 8222292, 8219833, 8218571, 8217236, 8216288, 8213919, 8212382, 8209978, 8202643, 8196241, 8190092, 8186601, 8183919, 8181332, 8181331, 8179388, 8169059, 8168565, 8164956, 8164955, 8161856, 8159196, 8153504, 8153273, 8152180, 8111963, 8090087, 8071470, 7973358, 7112185, 6484508, 5195113, 5097162)
Run Time: 0.011848
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 288 | 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",9456616],["thread",9345710],["thread",9184887],["thread",9057080],["thread",8987110],["thread",8816032],["thread",8815177],["thread",8746248],["thread",8724827],["thread",8698923],["thread",8689171],["thread",8689088],["thread",8685895],["thread",8680805],["thread",8675235],["thread",8673211],["thread",8661664],["thread",8655366],["thread",8653286],["thread",8651415],["thread",8642511],["thread",8641161],["thread",8638166],["thread",8633590],["thread",8627162],["thread",8624491],["thread",8616211],["thread",8614200],["thread",8613792],["thread",8613731],["thread",8606729],["thread",8604216],["thread",8603342],["thread",8596901],["thread",8589356],["thread",8587004],["thread",8574606],["thread",8571233],["thread",8569783],["thread",8569105],["thread",8565872],["thread",8552068],["thread",8546303],["thread",8541257],["thread",8540585],["thread",8537435],["thread",8515133],["thread",8512680],["thread",8507761],["thread",8507754],["thread",8507753],["thread",8497662],["thread",8485651],["thread",8484164],["thread",8474976],["thread",8467253],["thread",8463087],["thread",8453051],["thread",8452796],["thread",8451929],["thread",8451879],["thread",8447280],["thread",8441806],["thread",8439813],["thread",8439109],["thread",8437568],["thread",8431692],["thread",8431331],["thread",8429772],["thread",8424257],["thread",8416169],["thread",8415647],["thread",8413497],["thread",8410115],["thread",8408567],["thread",8408000],["thread",8407927],["thread",8404400],["thread",8402047],["thread",8401806],["thread",8401475],["thread",8393181],["thread",8387006],["thread",8376337],["thread",8368888],["thread",8358027],["thread",8353553],["thread",8350963],["thread",8347620],["thread",8345332],["thread",8342600],["thread",8342341],["thread",8342064],["thread",8339428],["thread",8336908],["thread",8336407],["thread",8335903],["thread",8335686],["thread",8325663],["thread",8315093],["thread",8314802],["thread",8312393],["thread",8310058],["thread",8302874],["thread",8302841],["thread",8300819],["thread",8299595],["thread",8298207],["thread",8296692],["thread",8291581],["thread",8291164],["thread",8290887],["thread",8290101],["thread",8289208],["thread",8285419],["thread",8284840],["thread",8283972],["thread",8281619],["thread",8280430],["thread",8280248],["thread",8280223],["thread",8279332],["thread",8275123],["thread",8268148],["thread",8263152],["thread",8261697],["thread",8257851],["thread",8252930],["thread",8252338],["thread",8249977],["thread",8249076],["thread",8246292],["thread",8245459],["thread",8244282],["thread",8242650],["thread",8240311],["thread",8230018],["thread",8225443],["thread",8223670],["thread",8222602],["thread",8219833],["thread",8218571],["thread",8217236],["thread",8213919],["thread",8212382],["thread",8190092],["thread",8186601],["thread",8183919],["thread",8181332],["thread",8179388],["thread",8169059],["thread",8168565],["thread",8161856],["thread",8159196],["thread",8153504],["thread",8153273],["thread",8152180],["thread",8111963],["thread",8090087],["thread",8071470],["thread",7973358],["thread",7112185],["thread",6484508],["thread",5195113],["thread",5097162]], 165, tinhte_xentag_tag, , {"tags":["thu\u00ea xe"]}, date, 0, , [], 0, 1652914723, e6225668fa2afcdbfa885dafaef89fbb
Run Time: 0.000953
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 (8314802, 8312393, 8310058, 8302874, 8302841, 8300819, 8299595, 8298207, 8296692, 8291581, 8291164, 8290887, 8290101, 8289208, 8285419, 8284840, 8283972, 8281619, 8280430, 8280248)
Run Time: 0.001744
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: 6159
Run Time: 0.003429
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=thu%C3%AA+xe&page=6, 1652914723,
Run Time: 0.000583
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.001095
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 > 1652913823)
ORDER BY session_activity.view_date DESC
Run Time: 0.000973
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2055 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |