SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.000587
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | ALL | PRIMARY | | | | 34 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000204
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user_point.*
FROM xf_user_point AS user_point
WHERE 1=1
Run Time: 0.005046
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10778 | |
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar,
NULL AS thread_read_date,
0 AS thread_reply_banned,
0 AS thread_is_watched,
'' AS draft_message, NULL AS draft_extra
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE thread.thread_id = ?
Params: 14313
Run Time: 0.000426
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = forum.node_id)
WHERE node.node_id = ?
Params: 231
Run Time: 0.000501
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 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT post.*
,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
user_profile.*,
user_privacy.*,
session_activity.view_date AS last_view_date,
0 AS like_date
FROM xf_post AS post
LEFT JOIN xf_user AS user ON
(user.user_id = post.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = post.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = post.user_id)
LEFT JOIN xf_session_activity AS session_activity ON
(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
WHERE post.thread_id = ?
AND (post.position >= 0 AND post.position < 20)
AND (post.message_state IN ('visible'))
ORDER BY post.position ASC, post.post_date ASC
Params: 14313
Run Time: 0.007457
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | ref | thread_id_post_date,thread_id_position | thread_id_post_date | 4 | const | 1 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | dien7104_tailieu.post.user_id,func | 1 | Using where |
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xf_attachment AS attachment
INNER JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE attachment.content_type = ?
AND attachment.content_id IN (15845)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.002785
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 31 | const,const | 1 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.attachment.data_id | 1 | |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 14313
Run Time: 0.000176
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 14313, 0
Run Time: 0.350927
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24912 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1627358507)) AND (thread.thread_id <> 14313)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000572
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11850 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 56
Run Time: 0.000241
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 171
Run Time: 0.000178
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 93
Run Time: 0.000197
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.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1627358507)) AND (thread.thread_id <> 14313)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.002525
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11850 | Using index condition; Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 216
Run Time: 0.000188
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 218
Run Time: 0.000173
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 57
Run Time: 0.000175
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.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 14313)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000353
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | PRIMARY | post_date | 4 | | 5 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 196
Run Time: 0.000217
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 28
Run Time: 0.000183
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 210
Run Time: 0.000173
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 217
Run Time: 0.000170
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 19
Run Time: 0.000175
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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 14313 AND user_id = 0)
Params: 1713476123, a:3:{s:12:"olderThreads";a:5:{i:14312;a:22:{s:9:"thread_id";i:14312;s:7:"node_id";i:231;s:5:"title";s:95:"2nd Grade Basic Skills, Reading Comprehension and Reading Skills, teacher's friend publications";s:11:"reply_count";i:0;s:10:"view_count";i:1176;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1627358401;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15844;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627358401;s:12:"last_post_id";i:15844;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:365:"a:4:{i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}i:5422;a:2:{s:3:"tag";s:14:"reading skills";s:7:"tag_url";s:14:"reading-skills";}i:274;a:2:{s:3:"tag";s:10:"scholastic";s:7:"tag_url";s:10:"scholastic";}i:12624;a:2:{s:3:"tag";s:29:"teacher's friend publications";s:7:"tag_url";s:28:"teachers-friend-publications";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14311;a:22:{s:9:"thread_id";i:14311;s:7:"node_id";i:231;s:5:"title";s:97:"First Grade Basic Skills, Reading Comprehension and Reading Skills, teacher's friend publications";s:11:"reply_count";i:0;s:10:"view_count";i:739;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1627358236;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15843;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627358236;s:12:"last_post_id";i:15843;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:365:"a:4:{i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}i:5422;a:2:{s:3:"tag";s:14:"reading skills";s:7:"tag_url";s:14:"reading-skills";}i:274;a:2:{s:3:"tag";s:10:"scholastic";s:7:"tag_url";s:10:"scholastic";}i:12624;a:2:{s:3:"tag";s:29:"teacher's friend publications";s:7:"tag_url";s:28:"teachers-friend-publications";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14310;a:22:{s:9:"thread_id";i:14310;s:7:"node_id";i:56;s:5:"title";s:66:"Boost your vocabulary _ The official Cambridge guide to IELTS 2021";s:11:"reply_count";i:0;s:10:"view_count";i:1258;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1627355844;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15842;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627355844;s:12:"last_post_id";i:15842;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:441:"a:6:{i:8078;a:2:{s:3:"tag";s:4:"2021";s:7:"tag_url";s:4:"2021";}i:1971;a:2:{s:3:"tag";s:5:"boost";s:7:"tag_url";s:5:"boost";}i:12623;a:2:{s:3:"tag";s:21:"boost your vocabulary";s:7:"tag_url";s:21:"boost-your-vocabulary";}i:90;a:2:{s:3:"tag";s:5:"ielts";s:7:"tag_url";s:5:"ielts";}i:10822;a:2:{s:3:"tag";s:10:"ielts 2021";s:7:"tag_url";s:10:"ielts-2021";}i:10273;a:2:{s:3:"tag";s:16:"ielts vocabulary";s:7:"tag_url";s:16:"ielts-vocabulary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14309;a:22:{s:9:"thread_id";i:14309;s:7:"node_id";i:171;s:5:"title";s:62:"Luyện thi Vstep B1 4 kỹ năng, chinh phục kỳ thi Vstep";s:11:"reply_count";i:0;s:10:"view_count";i:3008;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1627355601;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15841;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627355601;s:12:"last_post_id";i:15841;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:28;s:4:"tags";s:292:"a:4:{i:12622;a:2:{s:3:"tag";s:15:"luyen thi vstep";s:7:"tag_url";s:15:"luyen-thi-vstep";}i:3791;a:2:{s:3:"tag";s:5:"vstep";s:7:"tag_url";s:5:"vstep";}i:10368;a:2:{s:3:"tag";s:10:"vstep 2021";s:7:"tag_url";s:10:"vstep-2021";}i:6648;a:2:{s:3:"tag";s:8:"vstep b1";s:7:"tag_url";s:8:"vstep-b1";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14308;a:22:{s:9:"thread_id";i:14308;s:7:"node_id";i:93;s:5:"title";s:68:"TOÀN CẦU BIẾT ƠN NGƯỜI PHỤ NỮ HUNGARIE - Kariko Katalin";s:11:"reply_count";i:0;s:10:"view_count";i:703;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1627354053;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15840;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627354053;s:12:"last_post_id";i:15840;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:10;s:4:"tags";s:219:"a:3:{i:12621;a:2:{s:3:"tag";s:8:"covid-19";s:7:"tag_url";s:10:"covid-19-2";}i:12619;a:2:{s:3:"tag";s:14:"kariko katalin";s:7:"tag_url";s:14:"kariko-katalin";}i:12620;a:2:{s:3:"tag";s:4:"mrna";s:7:"tag_url";s:4:"mrna";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:14314;a:22:{s:9:"thread_id";i:14314;s:7:"node_id";i:231;s:5:"title";s:95:"4th Grade Basic Skills, Reading Comprehension and Reading Skills, teacher's friend publications";s:11:"reply_count";i:0;s:10:"view_count";i:774;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1627358593;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15846;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627358593;s:12:"last_post_id";i:15846;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:365:"a:4:{i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}i:5422;a:2:{s:3:"tag";s:14:"reading skills";s:7:"tag_url";s:14:"reading-skills";}i:274;a:2:{s:3:"tag";s:10:"scholastic";s:7:"tag_url";s:10:"scholastic";}i:12624;a:2:{s:3:"tag";s:29:"teacher's friend publications";s:7:"tag_url";s:28:"teachers-friend-publications";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14315;a:22:{s:9:"thread_id";i:14315;s:7:"node_id";i:231;s:5:"title";s:95:"5th Grade Basic Skills, Reading Comprehension and Reading Skills, teacher's friend publications";s:11:"reply_count";i:0;s:10:"view_count";i:614;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1627358741;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15847;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627358741;s:12:"last_post_id";i:15847;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:365:"a:4:{i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}i:5422;a:2:{s:3:"tag";s:14:"reading skills";s:7:"tag_url";s:14:"reading-skills";}i:274;a:2:{s:3:"tag";s:10:"scholastic";s:7:"tag_url";s:10:"scholastic";}i:12624;a:2:{s:3:"tag";s:29:"teacher's friend publications";s:7:"tag_url";s:28:"teachers-friend-publications";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14316;a:22:{s:9:"thread_id";i:14316;s:7:"node_id";i:216;s:5:"title";s:48:"Bài tập luyện viết Tiếng Anh, Xuân Bá";s:11:"reply_count";i:0;s:10:"view_count";i:2254;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1627397701;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15849;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627397701;s:12:"last_post_id";i:15849;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:2;s:4:"tags";s:339:"a:5:{i:182;a:2:{s:3:"tag";s:7:"bai tap";s:7:"tag_url";s:7:"bai-tap";}i:9383;a:2:{s:3:"tag";s:10:"luyen viet";s:7:"tag_url";s:10:"luyen-viet";}i:2317;a:2:{s:3:"tag";s:8:"with key";s:7:"tag_url";s:8:"with-key";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}i:5004;a:2:{s:3:"tag";s:7:"xuan ba";s:7:"tag_url";s:7:"xuan-ba";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14317;a:22:{s:9:"thread_id";i:14317;s:7:"node_id";i:218;s:5:"title";s:53:"Từ vựng tiếng Anh theo chủ điểm, Xuân Bá";s:11:"reply_count";i:0;s:10:"view_count";i:1140;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1627397913;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15850;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627397913;s:12:"last_post_id";i:15850;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:2;s:4:"tags";s:370:"a:5:{i:10596;a:2:{s:3:"tag";s:11:"theo chu de";s:7:"tag_url";s:11:"theo-chu-de";}i:819;a:2:{s:3:"tag";s:7:"tu vung";s:7:"tag_url";s:7:"tu-vung";}i:12705;a:2:{s:3:"tag";s:17:"tu vung tieng anh";s:7:"tag_url";s:17:"tu-vung-tieng-anh";}i:89;a:2:{s:3:"tag";s:10:"vocabulary";s:7:"tag_url";s:10:"vocabulary";}i:5004;a:2:{s:3:"tag";s:7:"xuan ba";s:7:"tag_url";s:7:"xuan-ba";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14318;a:22:{s:9:"thread_id";i:14318;s:7:"node_id";i:57;s:5:"title";s:59:"1200 Câu giao tiếp Hoa - Việt, Gia Linh (biên soạn)";s:11:"reply_count";i:0;s:10:"view_count";i:555;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1627532201;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:15851;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1627532201;s:12:"last_post_id";i:15851;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:2;s:4:"tags";s:347:"a:5:{i:359;a:2:{s:3:"tag";s:7:"chinese";s:7:"tag_url";s:7:"chinese";}i:9087;a:2:{s:3:"tag";s:8:"gia linh";s:7:"tag_url";s:8:"gia-linh";}i:2649;a:2:{s:3:"tag";s:9:"giao tiep";s:7:"tag_url";s:9:"giao-tiep";}i:8047;a:2:{s:3:"tag";s:8:"hoa viet";s:7:"tag_url";s:8:"hoa-viet";}i:231;a:2:{s:3:"tag";s:11:"tieng trung";s:7:"tag_url";s:11:"tieng-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25384;a:22:{s:9:"thread_id";i:25384;s:7:"node_id";i:196;s:5:"title";s:133:"Tuyển chọn đề thi toán vào lớp 10 của một số trường chuyên và chất lượng cao, có đáp án chi tiết, Ng";s:11:"reply_count";i:0;s:10:"view_count";i:13;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713460724;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30322;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460724;s:12:"last_post_id";i:30322;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:752:"a:9:{i:8869;a:2:{s:3:"tag";s:14:"chat luong cao";s:7:"tag_url";s:14:"chat-luong-cao";}i:11260;a:2:{s:3:"tag";s:11:"chuyen toan";s:7:"tag_url";s:11:"chuyen-toan";}i:22070;a:2:{s:3:"tag";s:20:"nguyen thi quynh mai";s:7:"tag_url";s:20:"nguyen-thi-quynh-mai";}i:11597;a:2:{s:3:"tag";s:16:"nguyen van thanh";s:7:"tag_url";s:16:"nguyen-van-thanh";}i:22068;a:2:{s:3:"tag";s:18:"nguyen xuan nguyen";s:7:"tag_url";s:18:"nguyen-xuan-nguyen";}i:8813;a:2:{s:3:"tag";s:17:"on thi vao lop 10";s:7:"tag_url";s:17:"on-thi-vao-lop-10";}i:22069;a:2:{s:3:"tag";s:21:"phung thi thuy nguyen";s:7:"tag_url";s:21:"phung-thi-thuy-nguyen";}i:8512;a:2:{s:3:"tag";s:6:"toan 9";s:7:"tag_url";s:6:"toan-9";}i:8079;a:2:{s:3:"tag";s:10:"tuyen chon";s:7:"tag_url";s:10:"tuyen-chon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25383;a:22:{s:9:"thread_id";i:25383;s:7:"node_id";i:28;s:5:"title";s:104:"Phương pháp rèn luyện bộ não tập trung tức thì, Kenichiro Mogi, Hoàng Thị Hồng dịch";s:11:"reply_count";i:1;s:10:"view_count";i:10;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713460381;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30320;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460389;s:12:"last_post_id";i:30321;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:379:"a:5:{i:22067;a:2:{s:3:"tag";s:14:"hoang thi hong";s:7:"tag_url";s:14:"hoang-thi-hong";}i:22065;a:2:{s:3:"tag";s:14:"kenichiro mogi";s:7:"tag_url";s:14:"kenichiro-mogi";}i:11042;a:2:{s:3:"tag";s:6:"nao bo";s:7:"tag_url";s:6:"nao-bo";}i:2063;a:2:{s:3:"tag";s:11:"phuong phap";s:7:"tag_url";s:11:"phuong-phap";}i:22066;a:2:{s:3:"tag";s:9:"tap trung";s:7:"tag_url";s:9:"tap-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25382;a:22:{s:9:"thread_id";i:25382;s:7:"node_id";i:210;s:5:"title";s:87:"Những vấn đề ngữ pháp tiếng Việt hiện đại, Giáo Sư Lưu Vân Lăng";s:11:"reply_count";i:1;s:10:"view_count";i:10;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459938;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30318;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460048;s:12:"last_post_id";i:30319;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:415:"a:5:{i:22064;a:2:{s:3:"tag";s:12:"luu van lang";s:7:"tag_url";s:12:"luu-van-lang";}i:7900;a:2:{s:3:"tag";s:12:"ngon ngu hoc";s:7:"tag_url";s:12:"ngon-ngu-hoc";}i:12220;a:2:{s:3:"tag";s:19:"ngu phap tieng viet";s:7:"tag_url";s:19:"ngu-phap-tieng-viet";}i:572;a:2:{s:3:"tag";s:10:"tieng viet";s:7:"tag_url";s:10:"tieng-viet";}i:13887;a:2:{s:3:"tag";s:18:"vietnamese grammar";s:7:"tag_url";s:18:"vietnamese-grammar";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25381;a:22:{s:9:"thread_id";i:25381;s:7:"node_id";i:217;s:5:"title";s:117:"Các lỗi thường gặp trong ngữ pháp tiếng Anh, Ngô Quốc Ân, Common mistakes in English Grammar and how";s:11:"reply_count";i:0;s:10:"view_count";i:11;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459495;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30317;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713459495;s:12:"last_post_id";i:30317;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:313:"a:4:{i:4020;a:2:{s:3:"tag";s:15:"common mistakes";s:7:"tag_url";s:15:"common-mistakes";}i:3849;a:2:{s:3:"tag";s:15:"english grammar";s:7:"tag_url";s:15:"english-grammar";}i:1516;a:2:{s:3:"tag";s:7:"mistake";s:7:"tag_url";s:7:"mistake";}i:22063;a:2:{s:3:"tag";s:11:"ngo quoc an";s:7:"tag_url";s:11:"ngo-quoc-an";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25380;a:22:{s:9:"thread_id";i:25380;s:7:"node_id";i:19;s:5:"title";s:60:"Chiêu bài quản lý vàng của Bill Gates, Thương Mỗ";s:11:"reply_count";i:0;s:10:"view_count";i:11;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459046;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30316;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713459046;s:12:"last_post_id";i:30316;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:424:"a:6:{i:1202;a:2:{s:3:"tag";s:8:"bi quyet";s:7:"tag_url";s:8:"bi-quyet";}i:22060;a:2:{s:3:"tag";s:10:"bill gates";s:7:"tag_url";s:10:"bill-gates";}i:22061;a:2:{s:3:"tag";s:9:"billgates";s:7:"tag_url";s:9:"billgates";}i:2169;a:2:{s:3:"tag";s:10:"kinh doanh";s:7:"tag_url";s:10:"kinh-doanh";}i:649;a:2:{s:3:"tag";s:7:"quan ly";s:7:"tag_url";s:7:"quan-ly";}i:22062;a:2:{s:3:"tag";s:9:"thuong mo";s:7:"tag_url";s:9:"thuong-mo";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.699669
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('3rd Grade Basic Skills, Reading Comprehension and Reading Skills, teacher\'s friend publications' IN BOOLEAN MODE) AS similar_score
FROM xf_search_index AS search_index
LEFT JOIN xf_thread AS thread ON (thread.thread_id=search_index.content_id)
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 14313)
AND MATCH(search_index.title) AGAINST ('3rd Grade Basic Skills, Reading Comprehension and Reading Skills, teacher\'s friend publications' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.203070
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 497 | Using index condition; Using where; Using temporary; Using filesort |
SIMPLE | thread | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.search_index.content_id | 1 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 15
Run Time: 0.000269
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 7
Run Time: 0.000184
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 43
Run Time: 0.000179
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.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 14313)
ORDER BY RAND()
LIMIT 5
Run Time: 0.015036
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23700 | Using where; Using temporary; Using filesort |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id IN (6949, 2034, 22154, 14226, 16017))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000819
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 5 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.thread.user_id | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 127
Run Time: 0.000212
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 45
Run Time: 0.000179
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 76
Run Time: 0.000176
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 26
Run Time: 0.000172
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 14313)
Run Time: 0.020430
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25461 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 7790bc58424751a1c8cc0e6e9459406f, , 1713479723
Run Time: 0.000234
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, , , XenForo_ControllerPublic_Thread, Index, valid, thread_id=14313, 1713476123,
Run Time: 0.000139
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'BRETI_message_below', 'thread_view', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 3, 2
Run Time: 0.000514
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 10 | Using where |
SELECT adv.*
FROM xf_advertisement AS adv
WHERE (adv.active = 1) AND (adv.positive = 1)
Run Time: 0.000260
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 5 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('tailieu_advertisement_top')
AND style_id = ?
AND language_id = ?
Params: 3, 2
Run Time: 0.000146
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |
SELECT adv.*
FROM xf_advertisement AS adv
WHERE (adv.active = 1) AND (adv.positive = 3)
Run Time: 0.000158
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 5 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('tailieu_advertisement_bottom')
AND style_id = ?
AND language_id = ?
Params: 3, 2
Run Time: 0.000127
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |