SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000207
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 = 'đồ chơi xếp hình')
Run Time: 0.002000
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: 48909355
Run Time: 0.000311
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: 28
Run Time: 0.000706
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, 28
Run Time: 0.000295
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 (9680240, 9668218, 9668134, 9668133, 9661709, 9622926, 9594180, 9547823, 9536549, 9488841, 9483725, 9474114, 9460493, 9460492, 9459663, 9456184, 9456180, 9445476, 9440654, 9426799, 9425036, 9401682, 9401681, 9389171, 9357711, 9349676, 9348523, 9348522, 9336313, 9335202, 9314930, 9314929, 9300128, 9299903, 9293428, 9292900, 9292851, 9292850, 9283566, 9278710, 9275738, 9255972, 9255971, 9249729, 9239365, 9236997, 9236706, 9228742, 9190434, 9190431, 9188764, 9188762, 9184998, 9184990, 9169778, 9169744, 9162896, 9137095, 9099359, 9091450, 9087259, 9081701, 9078991, 9077729, 9076815, 9074728, 9067461, 9056016, 9052285, 9049922, 9047068, 9046159, 9043364, 9040182, 9039602, 9034360, 9029598, 9017405, 9016128, 9006036, 8981325, 8969836, 8969831, 8969827, 8969813, 8968159, 8967333, 8967332, 8965388, 8946983, 8946967, 8946955, 8946931, 8942774, 8925498, 8911690, 8911689, 8911688, 8911687, 8902994, 8902380, 8901606, 8901604, 8901520, 8898923, 8898922, 8893772, 8891239, 8884176, 8869753, 8869752, 8866794, 8860342, 8859312, 8857515, 8857509, 8856267, 8856266, 8856260, 8854480, 8848411, 8848008, 8846422, 8845500, 8843888, 8837259, 8833230, 8831116, 8823502, 8822877, 8821365, 8821364, 8818171, 8818170, 8814433, 8800268, 8794248, 8785515, 8770310, 8757101, 8752155, 8751305, 8746477, 8740184, 8732564, 8732561, 8725354, 8716062, 8716061, 8715710, 8715709, 8715708, 8709060, 8709059, 8704266, 8696437, 8695004, 8690615, 8688322, 8679970, 8674490, 8672173, 8562660, 8555889, 8516461, 8400093, 8398596, 8393236, 8360750, 8334663, 8323092, 8301673, 8274963, 8264903, 8252886, 8207922, 8160817, 8102732, 8076349, 8027861, 7940709, 7795136, 7629945, 7594190, 7569062, 7561380, 7535555, 7527989, 7516997, 7350617, 7323532, 7126297, 7091054, 6852699, 6825158, 6752763, 6261958, 5087009, 4808076, 3598584, 3422038, 1946894, 1125036)
Run Time: 0.007958
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 203 | 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: 28
Run Time: 0.000530
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",28],["thread",9680240],["thread",9668218],["thread",9668134],["thread",9661709],["thread",9622926],["thread",9594180],["thread",9547823],["thread",9536549],["thread",9483725],["thread",9460493],["thread",9440654],["thread",9389171],["thread",9357711],["thread",9314930],["thread",9278710],["thread",9275738],["thread",9255972],["thread",9249729],["thread",9236706],["thread",9228742],["thread",9190434],["thread",9184998],["thread",9184990],["thread",9169778],["thread",9162896],["thread",9099359],["thread",9091450],["thread",9074728],["thread",9067461],["thread",9056016],["thread",9049922],["thread",9040182],["thread",9017405],["thread",9006036],["thread",8967333],["thread",8942774],["thread",8911690],["thread",8902994],["thread",8898923],["thread",8891239],["thread",8884176],["thread",8857515],["thread",8857509],["thread",8854480],["thread",8846422],["thread",8837259],["thread",8833230],["thread",8831116],["thread",8822877],["thread",8821365],["thread",8818171],["thread",8814433],["thread",8800268],["thread",8785515],["thread",8757101],["thread",8752155],["thread",8751305],["thread",8746477],["thread",8725354],["thread",8716062],["thread",8704266],["thread",8695004],["thread",8690615],["thread",8688322],["thread",8674490],["thread",8672173],["thread",8562660],["thread",8555889],["thread",8516461],["thread",8400093],["thread",8393236],["thread",8334663],["thread",8323092],["thread",8301673],["thread",8207922],["thread",8160817],["thread",8102732],["thread",8076349],["thread",8027861],["thread",7795136],["thread",7629945],["thread",7594190],["thread",7561380],["thread",7535555],["thread",7527989],["thread",7516997],["thread",7350617],["thread",7323532],["thread",7126297],["thread",7091054],["thread",6852699],["thread",6752763],["thread",6261958],["thread",5087009],["thread",4808076],["thread",3598584],["thread",3422038],["thread",1946894],["thread",1125036]], 100, tinhte_xentag_tag, , {"tags":["\u0111\u1ed3 ch\u01a1i x\u1ebfp h\u00ecnh"]}, date, 0, , [], 0, 1656299626, f9d5582917d806ca191b6e539bc9c959
Run Time: 0.000569
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 (8891239, 8884176, 8857515, 8857509, 8854480, 8846422, 8837259, 8833230, 8831116, 8822877, 8821365, 8818171, 8814433, 8800268, 8785515, 8757101, 8752155, 8751305, 8746477, 8725354)
Run Time: 0.001757
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: 549212
Run Time: 0.000273
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=%C4%91%E1%BB%93+ch%C6%A1i+x%E1%BA%BFp+h%C3%ACnh&page=3, 1656299626,
Run Time: 0.000443
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000243
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 > 1656298726)
ORDER BY session_activity.view_date DESC
Run Time: 0.004043
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2042 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |