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.000836
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.000202
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.004767
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: 4585
Run Time: 0.000605
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: 18
Run Time: 0.002076
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: 4585
Run Time: 0.004389
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: 4585
Run Time: 0.000164
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 4585, 0
Run Time: 0.379023
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24903 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1539447398)) AND (thread.thread_id <> 4585)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000375
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 4356 | Using where |
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.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, 48
Run Time: 0.000146
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, 51
Run Time: 0.000138
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 > 1539447398)) AND (thread.thread_id <> 4585)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.004486
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11845 | 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, 76
Run Time: 0.000193
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.000202
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 <> 4585)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000342
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, 216
Run Time: 0.000613
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 = 4585 AND user_id = 0)
Params: 1713455145, a:3:{s:12:"olderThreads";a:5:{i:4584;a:22:{s:9:"thread_id";i:4584;s:7:"node_id";i:7;s:5:"title";s:54:"Focus on Vocabulary 1: Bridging Vocabulary-2nd edition";s:11:"reply_count";i:0;s:10:"view_count";i:720;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539447317;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:5059;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539447317;s:12:"last_post_id";i:5059;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:13;s:4:"tags";s:161:"a:2:{i:4519;a:2:{s:3:"tag";s:19:"focus on vocabulary";s:7:"tag_url";s:19:"focus-on-vocabulary";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4583;a:22:{s:9:"thread_id";i:4583;s:7:"node_id";i:7;s:5:"title";s:69:"Focus on Vocabulary 2: Mastering the Academic Word List {2nd edition}";s:11:"reply_count";i:0;s:10:"view_count";i:747;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539447266;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:5058;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539447266;s:12:"last_post_id";i:5058;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:13;s:4:"tags";s:97:"a:1:{i:4519;a:2:{s:3:"tag";s:19:"focus on vocabulary";s:7:"tag_url";s:19:"focus-on-vocabulary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4582;a:22:{s:9:"thread_id";i:4582;s:7:"node_id";i:7;s:5:"title";s:41:"Business Partner B1 Plus Coursebook Audio";s:11:"reply_count";i:0;s:10:"view_count";i:2385;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539447143;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:5057;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539447143;s:12:"last_post_id";i:5057;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:13;s:4:"tags";s:552:"a:7:{i:10179;a:2:{s:3:"tag";s:10:"bob dignen";s:7:"tag_url";s:10:"bob-dignen";}i:4518;a:2:{s:3:"tag";s:16:"business partner";s:7:"tag_url";s:16:"business-partner";}i:10177;a:2:{s:3:"tag";s:14:"iwonna dubicka";s:7:"tag_url";s:14:"iwonna-dubicka";}i:10181;a:2:{s:3:"tag";s:13:"lizzie wright";s:7:"tag_url";s:13:"lizzie-wright";}i:10178;a:2:{s:3:"tag";s:17:"margaret o'keeffe";s:7:"tag_url";s:16:"margaret-okeeffe";}i:10180;a:2:{s:3:"tag";s:10:"mike hogan";s:7:"tag_url";s:10:"mike-hogan";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4581;a:22:{s:9:"thread_id";i:4581;s:7:"node_id";i:48;s:5:"title";s:45:"The Criminal Alphabet: An A-Z of Prison Slang";s:11:"reply_count";i:0;s:10:"view_count";i:843;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539447014;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:5056;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539447014;s:12:"last_post_id";i:5056;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:67:"a:1:{i:2600;a:2:{s:3:"tag";s:5:"slang";s:7:"tag_url";s:5:"slang";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4580;a:22:{s:9:"thread_id";i:4580;s:7:"node_id";i:51;s:5:"title";s:50:"Japanese Foundation Course by Michel Thomas method";s:11:"reply_count";i:0;s:10:"view_count";i:856;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539446919;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:5055;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539446919;s:12:"last_post_id";i:5055;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:13;s:4:"tags";s:217:"a:3:{i:4517;a:2:{s:3:"tag";s:10:"foundation";s:7:"tag_url";s:10:"foundation";}i:370;a:2:{s:3:"tag";s:8:"japanese";s:7:"tag_url";s:8:"japanese";}i:371;a:2:{s:3:"tag";s:10:"tieng nhat";s:7:"tag_url";s:10:"tieng-nhat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:4586;a:22:{s:9:"thread_id";i:4586;s:7:"node_id";i:7;s:5:"title";s:23:"Reading Comprehension 6";s:11:"reply_count";i:0;s:10:"view_count";i:870;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539447492;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:5061;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539447492;s:12:"last_post_id";i:5061;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:170:"a:2:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4587;a:22:{s:9:"thread_id";i:4587;s:7:"node_id";i:76;s:5:"title";s:48:"Reading Comprehension Teacher's Book (Books 1-2)";s:11:"reply_count";i:0;s:10:"view_count";i:951;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539447545;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:5062;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539447545;s:12:"last_post_id";i:5062;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:170:"a:2:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4588;a:22:{s:9:"thread_id";i:4588;s:7:"node_id";i:7;s:5:"title";s:23:"Reading Comprehension 2";s:11:"reply_count";i:0;s:10:"view_count";i:871;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539447586;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:5063;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539447586;s:12:"last_post_id";i:5063;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:170:"a:2:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4589;a:22:{s:9:"thread_id";i:4589;s:7:"node_id";i:26;s:5:"title";s:30:"Ba Miền Mười Khuôn Mặt";s:11:"reply_count";i:0;s:10:"view_count";i:834;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539449456;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:5064;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539449456;s:12:"last_post_id";i:5064;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:4590;a:22:{s:9:"thread_id";i:4590;s:7:"node_id";i:26;s:5:"title";s:22:"Thông Lệ Hỏi Ngã";s:11:"reply_count";i:0;s:10:"view_count";i:846;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1539449520;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:5065;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1539449520;s:12:"last_post_id";i:5065;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:129:"a:2:{i:3430;a:2:{s:3:"tag";s:4:"1949";s:7:"tag_url";s:4:"1949";}i:871;a:2:{s:3:"tag";s:7:"sai gon";s:7:"tag_url";s:7:"sai-gon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25375;a:22:{s:9:"thread_id";i:25375;s:7:"node_id";i:76;s:5:"title";s:87:"Ready to write 2, fourth edition, Perfecting Paragraph, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713455079;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:30311;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713455079;s:12:"last_post_id";i:30311;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:508:"a:6:{i:11261;a:2:{s:3:"tag";s:10:"answer key";s:7:"tag_url";s:10:"answer-key";}i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:22056;a:2:{s:3:"tag";s:20:"perfecting paragraph";s:7:"tag_url";s:20:"perfecting-paragraph";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:22055;a:2:{s:3:"tag";s:16:"ready to write 2";s:7:"tag_url";s:16:"ready-to-write-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25374;a:22:{s:9:"thread_id";i:25374;s:7:"node_id";i:216;s:5:"title";s:90:"Ready to write 3, fourth edition, From Paragraph to Essay, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713454922;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:30310;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713454922;s:12:"last_post_id";i:30310;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:534:"a:7:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:1229;a:2:{s:3:"tag";s:5:"essay";s:7:"tag_url";s:5:"essay";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:1327;a:2:{s:3:"tag";s:9:"paragraph";s:7:"tag_url";s:9:"paragraph";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:21727;a:2:{s:3:"tag";s:16:"ready to write 3";s:7:"tag_url";s:16:"ready-to-write-3";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25373;a:22:{s:9:"thread_id";i:25373;s:7:"node_id";i:216;s:5:"title";s:88:"Ready to write second edition, A first composition text, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713454706;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:30309;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713454706;s:12:"last_post_id";i:30309;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:318:"a:4:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25372;a:22:{s:9:"thread_id";i:25372;s:7:"node_id";i:76;s:5:"title";s:43:"Ready to write more Answer key, 1st edition";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713454588;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:30308;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713454588;s:12:"last_post_id";i:30308;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:162:"a:2:{i:11261;a:2:{s:3:"tag";s:10:"answer key";s:7:"tag_url";s:10:"answer-key";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25371;a:22:{s:9:"thread_id";i:25371;s:7:"node_id";i:76;s:5:"title";s:61:"Listening Advantage 1 Teacher's Guide, Tom Kenny, Tamami Wada";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713454320;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:30307;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713454320;s:12:"last_post_id";i:30307;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:423:"a:5:{i:22053;a:2:{s:3:"tag";s:19:"listening advantage";s:7:"tag_url";s:19:"listening-advantage";}i:22054;a:2:{s:3:"tag";s:21:"listening advantage 1";s:7:"tag_url";s:21:"listening-advantage-1";}i:22052;a:2:{s:3:"tag";s:11:"tamami wada";s:7:"tag_url";s:11:"tamami-wada";}i:10009;a:2:{s:3:"tag";s:15:"teacher's guide";s:7:"tag_url";s:14:"teachers-guide";}i:22051;a:2:{s:3:"tag";s:9:"tom kenny";s:7:"tag_url";s:9:"tom-kenny";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.738417
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Barron\'s AP Statistics 9th' 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 <> 4585)
AND MATCH(search_index.title) AGAINST ('Barron\'s AP Statistics 9th' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.183158
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, 56
Run Time: 0.000274
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, 61
Run Time: 0.000204
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, 58
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, 59
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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 4585)
ORDER BY RAND()
LIMIT 5
Run Time: 0.262432
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23691 | 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 (23289, 1553, 12788, 12637, 11157))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001908
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, 369
Run Time: 0.000284
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, 203
Run Time: 0.000283
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, 211
Run Time: 0.000242
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, 179
Run Time: 0.000818
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.000270
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 = 4585)
Run Time: 0.177902
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25452 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: b3060892dd24b7514f4abe5bc2498f4c, , 1713458745
Run Time: 0.000206
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=4585, 1713455145,
Run Time: 0.000141
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.006952
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.000263
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.000174
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.000185
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.000262
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |