SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000255
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 = 'smartphone giá rẻ')
Run Time: 0.000246
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 3 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 63898826
Run Time: 0.000335
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: 22
Run Time: 0.000851
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, 22
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 (9679858, 9678034, 9675455, 9673122, 9673121, 9669558, 9668883, 9668548, 9667962, 9666654, 9665679, 9664730, 9664727, 9664268, 9661983, 9660577, 9660551, 9660456, 9660305, 9656099, 9655030, 9653176, 9653175, 9651198, 9650349, 9650063, 9649634, 9649497, 9648987, 9613840, 9566999, 9562086, 9561673, 9561671, 9561649, 9554324, 9544208, 9522949, 9522905, 9496202, 9482419, 9482417, 9472730, 9447190, 9428597, 9424762, 9411207, 9402970, 9398207, 9390856, 9390846, 9368943, 9353344, 9329096, 9322453, 9313165, 9312254, 9311194, 9308493, 9306240, 9305760, 9305441, 9283039, 9281522, 9279336, 9278404, 9276987, 9276966, 9259127, 9256370, 9242491, 9235534, 9235533, 9223736, 9222819, 9222458, 9221592, 9221446, 9215101, 9208950, 9207081, 9204537, 9203185, 9200694, 9200693, 9200692, 9200029, 9190068, 9190067, 9188369, 9180398, 9172524, 9169369, 9166071, 9163727, 9147765, 9145901, 9140075, 9122286, 9113203, 9113193, 9113157, 9112430, 9085989, 9080726, 9077960, 9069911, 9065264, 9062526, 9061078, 9049305, 9046616, 9031276, 9020166, 9017170, 9008111, 8995159, 8995148, 8991207, 8986524, 8984697, 8975186, 8966423, 8959814, 8958239, 8942328, 8941429, 8937403, 8923351, 8916043, 8914917, 8914152, 8913187, 8912489, 8910501, 8905468, 8895390, 8893798, 8890737, 8890221, 8889545, 8889542, 8884264, 8862505, 8852347, 8851331, 8851017, 8850758, 8846984, 8846028, 8846027, 8836627, 8825388, 8822692, 8822691, 8816777, 8816776, 8816397, 8814193, 8802553, 8801596, 8800694, 8800692, 8796839, 8796320, 8792469, 8785128, 8782878, 8778125, 8765203, 8764214, 8763652, 8762518, 8760124, 8741364, 8741048, 8741047, 8739986, 8739985, 8731266, 8730743, 8729446, 8729334, 8728091, 8727977, 8727840, 8727653, 8727200, 8726500, 8725082, 8725081, 8724750, 8724482, 8723827, 8723585, 8723067, 8723066, 8723005, 8723004, 8723003, 8720358, 8719324, 8718064, 8717692, 8717201, 8715598, 8713488, 8711926, 8711486, 8708432, 8708431, 8705930, 8702428, 8702250, 8700812, 8699772, 8699771, 8692347, 8692346, 8692345, 8692343, 8687667, 8685101, 8684119, 8680708, 8680706, 8678211, 8668384, 8661061, 8657671, 8655592, 8655187, 8653182, 8652394, 8651115, 8642589, 8636246, 8635327, 8627093, 8621455, 8621036, 8618969, 8618607, 8617073, 8610389, 8610262, 8590512, 8588484, 8588322, 8588319, 8588318, 8587926, 8583866, 8580097, 8565828, 8564413, 8564412, 8564409, 8564408, 8564407, 8559630, 8558580, 8557749, 8549618, 8547175, 8547158, 8546168, 8542321, 8541538, 8541256, 8538348, 8537770, 8537768, 8537766, 8537664, 8536924, 8536772, 8535790, 8534900, 8531728, 8531659, 8530664, 8530464, 8529992, 8529204, 8528325, 8527823, 8526176, 8525633, 8525623, 8525570, 8524277, 8524037, 8523269, 8519138, 8518992, 8518284, 8515727, 8512086, 8512010, 8510425, 8508836, 8508810, 8503975, 8503529, 8498579, 8498010, 8496678, 8493794, 8488843, 8470702, 8454228, 8454206, 8444368, 8420113, 8413276, 8395661, 8364391, 8363880, 8363825, 8321108, 8301315, 8282934, 8193626, 8177483, 8153225, 8038700, 7722666, 7566658, 7548834, 7529363, 7518066, 7336549, 7261349, 6552670)
Run Time: 0.008746
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 335 | 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: 22
Run Time: 0.000639
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",22],["thread",9673122],["thread",9673121],["thread",9669558],["thread",9668883],["thread",9667962],["thread",9666654],["thread",9665679],["thread",9664730],["thread",9664727],["thread",9664268],["thread",9661983],["thread",9660577],["thread",9660551],["thread",9660456],["thread",9656099],["thread",9649497],["thread",9648987],["thread",9562086],["thread",9561671],["thread",9496202],["thread",9482419],["thread",9482417],["thread",9472730],["thread",9428597],["thread",9424762],["thread",9390856],["thread",9329096],["thread",9312254],["thread",9308493],["thread",9281522],["thread",9279336],["thread",9278404],["thread",9276966],["thread",9256370],["thread",9242491],["thread",9235534],["thread",9222458],["thread",9221446],["thread",9215101],["thread",9200694],["thread",9180398],["thread",9172524],["thread",9166071],["thread",9163727],["thread",9140075],["thread",9113193],["thread",9112430],["thread",9077960],["thread",9062526],["thread",9046616],["thread",9031276],["thread",9020166],["thread",9008111],["thread",8995159],["thread",8991207],["thread",8986524],["thread",8984697],["thread",8959814],["thread",8942328],["thread",8923351],["thread",8916043],["thread",8914917],["thread",8914152],["thread",8913187],["thread",8905468],["thread",8895390],["thread",8850758],["thread",8836627],["thread",8825388],["thread",8814193],["thread",8801596],["thread",8796839],["thread",8796320],["thread",8792469],["thread",8765203],["thread",8764214],["thread",8763652],["thread",8762518],["thread",8760124],["thread",8741364],["thread",8731266],["thread",8730743],["thread",8729446],["thread",8723827],["thread",8723067],["thread",8711926],["thread",8711486],["thread",8705930],["thread",8702428],["thread",8700812],["thread",8699772],["thread",8692347],["thread",8685101],["thread",8668384],["thread",8652394],["thread",8642589],["thread",8635327],["thread",8627093],["thread",8621036],["thread",8618969],["thread",8610389],["thread",8610262],["thread",8590512],["thread",8588484],["thread",8587926],["thread",8583866],["thread",8580097],["thread",8565828],["thread",8559630],["thread",8549618],["thread",8547175],["thread",8546168],["thread",8541538],["thread",8541256],["thread",8538348],["thread",8537770],["thread",8536924],["thread",8536772],["thread",8535790],["thread",8534900],["thread",8530664],["thread",8530464],["thread",8528325],["thread",8527823],["thread",8526176],["thread",8525633],["thread",8525623],["thread",8525570],["thread",8524277],["thread",8523269],["thread",8519138],["thread",8518992],["thread",8518284],["thread",8515727],["thread",8512086],["thread",8510425],["thread",8508836],["thread",8508810],["thread",8503975],["thread",8503529],["thread",8498579],["thread",8498010],["thread",8496678],["thread",8488843],["thread",8454228],["thread",8454206],["thread",8444368],["thread",8420113],["thread",8413276],["thread",8395661],["thread",8364391],["thread",8321108],["thread",8301315],["thread",8193626],["thread",8177483],["thread",8038700],["thread",7722666],["thread",7566658],["thread",7548834],["thread",7529363],["thread",7518066],["thread",7336549],["thread",7261349],["thread",6552670]], 165, tinhte_xentag_tag, , {"tags":["smartphone gi\u00e1 r\u1ebb"]}, date, 0, , [], 0, 1660193784, eb6714d289dcc428dd3cd83645a2809f
Run Time: 0.000502
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 (7529363, 7518066, 7336549, 7261349, 6552670)
Run Time: 0.001330
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 5 | 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: 523483
Run Time: 0.000280
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=smartphone+gi%C3%A1+r%E1%BA%BB&page=9, 1660193784,
Run Time: 0.000371
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000236
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 > 1660192884)
ORDER BY session_activity.view_date DESC
Run Time: 0.008449
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2817 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |