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.000576
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.000277
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.004972
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10935 | |
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: 21162
Run Time: 0.001081
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: 147
Run Time: 0.003327
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: 21162
Run Time: 0.006323
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 |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 21162
Run Time: 0.000200
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 21162, 0
Run Time: 0.424836
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25059 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1679512150)) AND (thread.thread_id <> 21162)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.006131
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11243 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 329
Run Time: 0.001029
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, 226
Run Time: 0.000996
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, 229
Run Time: 0.001828
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, 301
Run Time: 0.000390
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 > 1679512150)) AND (thread.thread_id <> 21162)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.001775
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 4006 | 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, 196
Run Time: 0.000298
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, 136
Run Time: 0.000901
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.000267
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 <> 21162)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000824
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, 361
Run Time: 0.000263
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, 296
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, 89
Run Time: 0.000255
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 = 21162 AND user_id = 0)
Params: 1714720330, a:3:{s:12:"olderThreads";a:5:{i:21161;a:22:{s:9:"thread_id";i:21161;s:7:"node_id";i:329;s:5:"title";s:72:"New Close-up B2 Teacher's Book, Kelly Sanabria, new close up 3rd edition";s:11:"reply_count";i:0;s:10:"view_count";i:572;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1679509765;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:24900;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679509765;s:12:"last_post_id";i:24900;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:476:"a:6:{i:17788;a:2:{s:3:"tag";s:8:"close up";s:7:"tag_url";s:8:"close-up";}i:19310;a:2:{s:3:"tag";s:14:"kelly sanabria";s:7:"tag_url";s:14:"kelly-sanabria";}i:17795;a:2:{s:3:"tag";s:12:"new close up";s:7:"tag_url";s:12:"new-close-up";}i:19634;a:2:{s:3:"tag";s:15:"new close up b2";s:7:"tag_url";s:17:"new-close-up-b2-2";}i:17796;a:2:{s:3:"tag";s:12:"new close-up";s:7:"tag_url";s:14:"new-close-up-2";}i:201;a:2:{s:3:"tag";s:12:"teacher book";s:7:"tag_url";s:12:"teacher-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21160;a:22:{s:9:"thread_id";i:21160;s:7:"node_id";i:329;s:5:"title";s:49:"New Close-up B1 Teacher's Book, Phillip McElmuray";s:11:"reply_count";i:0;s:10:"view_count";i:644;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1679509289;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:24899;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679509289;s:12:"last_post_id";i:24899;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:482:"a:6:{i:17788;a:2:{s:3:"tag";s:8:"close up";s:7:"tag_url";s:8:"close-up";}i:17795;a:2:{s:3:"tag";s:12:"new close up";s:7:"tag_url";s:12:"new-close-up";}i:19630;a:2:{s:3:"tag";s:15:"new close up b1";s:7:"tag_url";s:17:"new-close-up-b1-2";}i:17796;a:2:{s:3:"tag";s:12:"new close-up";s:7:"tag_url";s:14:"new-close-up-2";}i:17793;a:2:{s:3:"tag";s:17:"phillip mcelmuray";s:7:"tag_url";s:17:"phillip-mcelmuray";}i:201;a:2:{s:3:"tag";s:12:"teacher book";s:7:"tag_url";s:12:"teacher-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21159;a:22:{s:9:"thread_id";i:21159;s:7:"node_id";i:226;s:5:"title";s:100:"The Official Digital SAT Study Guide, Include 4 Real Tests, Official Answer Explanations, CollegeBoa";s:11:"reply_count";i:0;s:10:"view_count";i:679;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1679508526;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:24898;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679508526;s:12:"last_post_id";i:24898;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:426:"a:6:{i:4536;a:2:{s:3:"tag";s:12:"collegeboard";s:7:"tag_url";s:12:"collegeboard";}i:265;a:2:{s:3:"tag";s:8:"official";s:7:"tag_url";s:8:"official";}i:9981;a:2:{s:3:"tag";s:12:"official sat";s:7:"tag_url";s:12:"official-sat";}i:1098;a:2:{s:3:"tag";s:3:"sat";s:7:"tag_url";s:3:"sat";}i:16557;a:2:{s:3:"tag";s:8:"sat 2023";s:7:"tag_url";s:8:"sat-2023";}i:1512;a:2:{s:3:"tag";s:11:"study guide";s:7:"tag_url";s:11:"study-guide";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21158;a:22:{s:9:"thread_id";i:21158;s:7:"node_id";i:229;s:5:"title";s:80:"SAT Reading, Natural and Social Science, Advanced Practice Series, IES Test Prep";s:11:"reply_count";i:0;s:10:"view_count";i:592;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1679507817;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:24897;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679507817;s:12:"last_post_id";i:24897;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:641:"a:8:{i:19308;a:2:{s:3:"tag";s:24:"advanced practice series";s:7:"tag_url";s:24:"advanced-practice-series";}i:10139;a:2:{s:3:"tag";s:14:"arianna astuni";s:7:"tag_url";s:14:"arianna-astuni";}i:10140;a:2:{s:3:"tag";s:3:"ies";s:7:"tag_url";s:3:"ies";}i:8494;a:2:{s:3:"tag";s:13:"ies test prep";s:7:"tag_url";s:13:"ies-test-prep";}i:10138;a:2:{s:3:"tag";s:16:"khalid khashoggi";s:7:"tag_url";s:16:"khalid-khashoggi";}i:3178;a:2:{s:3:"tag";s:8:"passages";s:7:"tag_url";s:8:"passages";}i:19309;a:2:{s:3:"tag";s:16:"reading passages";s:7:"tag_url";s:16:"reading-passages";}i:5514;a:2:{s:3:"tag";s:11:"sat reading";s:7:"tag_url";s:11:"sat-reading";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21157;a:22:{s:9:"thread_id";i:21157;s:7:"node_id";i:301;s:5:"title";s:63:"CFA Level 1 2023 Secret Sauce, 2023 CFA Exam Prep (CFA level I)";s:11:"reply_count";i:0;s:10:"view_count";i:1192;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1679505713;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:24892;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679505713;s:12:"last_post_id";i:24892;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:507:"a:7:{i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:16742;a:2:{s:3:"tag";s:8:"cfa 2023";s:7:"tag_url";s:8:"cfa-2023";}i:16579;a:2:{s:3:"tag";s:13:"cfa exam prep";s:7:"tag_url";s:13:"cfa-exam-prep";}i:6672;a:2:{s:3:"tag";s:11:"cfa level 1";s:7:"tag_url";s:11:"cfa-level-1";}i:16740;a:2:{s:3:"tag";s:16:"cfa level 1 2023";s:7:"tag_url";s:16:"cfa-level-1-2023";}i:376;a:2:{s:3:"tag";s:12:"secret sauce";s:7:"tag_url";s:12:"secret-sauce";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:21163;a:22:{s:9:"thread_id";i:21163;s:7:"node_id";i:196;s:5:"title";s:125:"Hướng dẫn ôn tập luyện thi vào lớp 10 phổ thông và chuyên môn Tiếng Anh, Nguyễn Nam Nguyên, Võ Thanh";s:11:"reply_count";i:0;s:10:"view_count";i:306;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1679512556;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:24902;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679512556;s:12:"last_post_id";i:24902;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:400:"a:5:{i:15557;a:2:{s:3:"tag";s:17:"nguyen nam nguyen";s:7:"tag_url";s:17:"nguyen-nam-nguyen";}i:939;a:2:{s:3:"tag";s:6:"on tap";s:7:"tag_url";s:6:"on-tap";}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:6115;a:2:{s:3:"tag";s:11:"tieng anh 9";s:7:"tag_url";s:11:"tieng-anh-9";}i:19311;a:2:{s:3:"tag";s:14:"vo thanh phong";s:7:"tag_url";s:14:"vo-thanh-phong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21164;a:22:{s:9:"thread_id";i:21164;s:7:"node_id";i:136;s:5:"title";s:41:"Cultures of Asean Countries, VNU Textbook";s:11:"reply_count";i:0;s:10:"view_count";i:456;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1679512981;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:24903;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679512981;s:12:"last_post_id";i:24903;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:473:"a:7:{i:476;a:2:{s:3:"tag";s:5:"asean";s:7:"tag_url";s:5:"asean";}i:19313;a:2:{s:3:"tag";s:15:"asean countries";s:7:"tag_url";s:15:"asean-countries";}i:2798;a:2:{s:3:"tag";s:7:"college";s:7:"tag_url";s:7:"college";}i:1337;a:2:{s:3:"tag";s:7:"culture";s:7:"tag_url";s:7:"culture";}i:19312;a:2:{s:3:"tag";s:8:"cultures";s:7:"tag_url";s:8:"cultures";}i:1225;a:2:{s:3:"tag";s:8:"textbook";s:7:"tag_url";s:8:"textbook";}i:10512;a:2:{s:3:"tag";s:3:"vnu";s:7:"tag_url";s:3:"vnu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21165;a:22:{s:9:"thread_id";i:21165;s:7:"node_id";i:196;s:5:"title";s:111:"Tuyển chọn đề thi tuyển sinh vào lớp 10 chuyên môn Toán, Nguyễn Ngọc Đạm, Tạ Hữu Phơ";s:11:"reply_count";i:0;s:10:"view_count";i:404;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1679555674;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:24904;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679555674;s:12:"last_post_id";i:24904;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:706:"a:10:{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:9217;a:2:{s:3:"tag";s:3:"clc";s:7:"tag_url";s:3:"clc";}i:197;a:2:{s:3:"tag";s:6:"dap an";s:7:"tag_url";s:6:"dap-an";}i:378;a:2:{s:3:"tag";s:6:"de thi";s:7:"tag_url";s:6:"de-thi";}i:8847;a:2:{s:3:"tag";s:15:"nguyen ngoc dam";s:7:"tag_url";s:15:"nguyen-ngoc-dam";}i:7993;a:2:{s:3:"tag";s:9:"on thi 10";s:7:"tag_url";s:9:"on-thi-10";}i:8849;a:2:{s:3:"tag";s:10:"ta huu pho";s:7:"tag_url";s:10:"ta-huu-pho";}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:21166;a:22:{s:9:"thread_id";i:21166;s:7:"node_id";i:76;s:5:"title";s:100:"Qskills for success 3 Reading and Writing, second edition, Teacher's Handbook, Answer keys, 2nd edit";s:11:"reply_count";i:0;s:10:"view_count";i:291;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1679634882;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:24905;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679634882;s:12:"last_post_id";i:24905;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:586:"a:7:{i:15588;a:2:{s:3:"tag";s:11:"answer keys";s:7:"tag_url";s:11:"answer-keys";}i:10071;a:2:{s:3:"tag";s:8:"q skills";s:7:"tag_url";s:8:"q-skills";}i:15314;a:2:{s:3:"tag";s:20:"q skills for success";s:7:"tag_url";s:20:"q-skills-for-success";}i:15973;a:2:{s:3:"tag";s:7:"qskills";s:7:"tag_url";s:7:"qskills";}i:19314;a:2:{s:3:"tag";s:19:"qskills for success";s:7:"tag_url";s:21:"qskills-for-success-4";}i:19006;a:2:{s:3:"tag";s:21:"qskills for success 3";s:7:"tag_url";s:21:"qskills-for-success-3";}i:12140;a:2:{s:3:"tag";s:16:"teacher handbook";s:7:"tag_url";s:16:"teacher-handbook";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21167;a:22:{s:9:"thread_id";i:21167;s:7:"node_id";i:76;s:5:"title";s:100:"Qskills for success 2 Reading and Writing, 2nd edition, Teacher's Handbook, Answer keys, second edit";s:11:"reply_count";i:0;s:10:"view_count";i:476;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1679635844;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:24906;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1679635844;s:12:"last_post_id";i:24906;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:656:"a:8:{i:15314;a:2:{s:3:"tag";s:20:"q skills for success";s:7:"tag_url";s:20:"q-skills-for-success";}i:19316;a:2:{s:3:"tag";s:22:"q skills for success 2";s:7:"tag_url";s:22:"q-skills-for-success-2";}i:19315;a:2:{s:3:"tag";s:6:"qskill";s:7:"tag_url";s:6:"qskill";}i:19319;a:2:{s:3:"tag";s:8:"qskill 2";s:7:"tag_url";s:8:"qskill-2";}i:15973;a:2:{s:3:"tag";s:7:"qskills";s:7:"tag_url";s:7:"qskills";}i:19318;a:2:{s:3:"tag";s:9:"qskills 2";s:7:"tag_url";s:9:"qskills-2";}i:19314;a:2:{s:3:"tag";s:19:"qskills for success";s:7:"tag_url";s:21:"qskills-for-success-4";}i:19317;a:2:{s:3:"tag";s:21:"qskills for success 2";s:7:"tag_url";s:21:"qskills-for-success-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25531;a:22:{s:9:"thread_id";i:25531;s:7:"node_id";i:361;s:5:"title";s:90:"Collins Cambridge IGCSE English as Second Language Student Book (Collins) 2023 New Edition";s:11:"reply_count";i:0;s:10:"view_count";i:23;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652775;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:30522;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652775;s:12:"last_post_id";i:30522;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:376:"a:5:{i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:9940;a:2:{s:3:"tag";s:15:"cambridge igcse";s:7:"tag_url";s:15:"cambridge-igcse";}i:1591;a:2:{s:3:"tag";s:7:"collins";s:7:"tag_url";s:7:"collins";}i:22318;a:2:{s:3:"tag";s:26:"english as second language";s:7:"tag_url";s:26:"english-as-second-language";}i:729;a:2:{s:3:"tag";s:3:"esl";s:7:"tag_url";s:3:"esl";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25530;a:22:{s:9:"thread_id";i:25530;s:7:"node_id";i:296;s:5:"title";s:79:"Cambridge English Business Vantage 5 with answer (Business English Certificate)";s:11:"reply_count";i:0;s:10:"view_count";i:15;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652506;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:30521;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652506;s:12:"last_post_id";i:30521;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:260:"a:3:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:22317;a:2:{s:3:"tag";s:28:"business english certificate";s:7:"tag_url";s:28:"business-english-certificate";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25529;a:22:{s:9:"thread_id";i:25529;s:7:"node_id";i:296;s:5:"title";s:58:"Cambridge English Business Preliminary 5 with answer (BEC)";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652297;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:30520;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652297;s:12:"last_post_id";i:30520;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:28;s:4:"tags";s:150:"a:2:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25528;a:22:{s:9:"thread_id";i:25528;s:7:"node_id";i:89;s:5:"title";s:85:"Tuyển tập văn học dân gian Việt Nam tập II, quyển 1 Truyện cổ tích";s:11:"reply_count";i:1;s:10:"view_count";i:17;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714651047;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:30518;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714651316;s:12:"last_post_id";i:30519;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:391:"a:5:{i:1270;a:2:{s:3:"tag";s:7:"co tich";s:7:"tag_url";s:7:"co-tich";}i:22316;a:2:{s:3:"tag";s:14:"truyen co tich";s:7:"tag_url";s:14:"truyen-co-tich";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25527;a:22:{s:9:"thread_id";i:25527;s:7:"node_id";i:89;s:5:"title";s:86:"Tuyển tập văn học dân gian Việt Nam tập IV, quyển 1 Tục ngữ, cao dao";s:11:"reply_count";i:0;s:10:"view_count";i:17;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714650709;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:30517;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714650709;s:12:"last_post_id";i:30517;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:375:"a:5:{i:11962;a:2:{s:3:"tag";s:7:"cao dao";s:7:"tag_url";s:7:"cao-dao";}i:9144;a:2:{s:3:"tag";s:7:"tuc ngu";s:7:"tag_url";s:7:"tuc-ngu";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.859286
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Bài tập ôn luyện tiếng Anh 9, Nguyễn Thị Kim Oanh' 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 <> 21162)
AND MATCH(search_index.title) AGAINST ('Bài tập ôn luyện tiếng Anh 9, Nguyễn Thị Kim Oanh' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.818554
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, 34
Run Time: 0.000540
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, 36
Run Time: 0.000190
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, 10
Run Time: 0.000180
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, 39
Run Time: 0.000174
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.000181
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 <> 21162)
ORDER BY RAND()
LIMIT 5
Run Time: 0.084842
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22486 | 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 (7663, 2448, 6461, 22011, 7207))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.002236
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, 151
Run Time: 0.000294
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.000357
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, 131
Run Time: 0.000368
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.000315
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, 165
Run Time: 0.000377
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 = 21162)
Run Time: 0.195878
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25602 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 3f2cbdd6b08162e1642a666e7e826b8d, , 1714723930
Run Time: 0.000311
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=21162, 1714720330,
Run Time: 0.000273
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.005712
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.000268
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.000186
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.000269
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.000267
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |