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.000615
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.000331
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.009615
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10928 | |
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: 21068
Run Time: 0.070462
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: 230
Run Time: 0.000766
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: 21068
Run Time: 0.039478
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: 21068
Run Time: 0.000691
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 21068, 0
Run Time: 0.411939
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 < 1678520024)) AND (thread.thread_id <> 21068)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.007587
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, 266
Run Time: 0.000328
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 > 1678520024)) AND (thread.thread_id <> 21068)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.002382
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 4099 | 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, 276
Run Time: 0.000301
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 <> 21068)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000537
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.000258
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.000233
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.000248
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 = 21068 AND user_id = 0)
Params: 1714655161, a:3:{s:12:"olderThreads";a:5:{i:21067;a:22:{s:9:"thread_id";i:21067;s:7:"node_id";i:230;s:5:"title";s:53:"Building Spelling Skills Grade 4, Evan-Moor, EMC 2708";s:11:"reply_count";i:0;s:10:"view_count";i:285;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678519600;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:24773;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678519600;s:12:"last_post_id";i:24773;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:324:"a:4:{i:19214;a:2:{s:3:"tag";s:24:"building spelling skills";s:7:"tag_url";s:24:"building-spelling-skills";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:15306;a:2:{s:3:"tag";s:11:"kid english";s:7:"tag_url";s:11:"kid-english";}i:4444;a:2:{s:3:"tag";s:8:"spelling";s:7:"tag_url";s:8:"spelling";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21066;a:22:{s:9:"thread_id";i:21066;s:7:"node_id";i:230;s:5:"title";s:53:"Building Spelling Skills Grade 3, Evan-Moor, EMC 2707";s:11:"reply_count";i:0;s:10:"view_count";i:232;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678518765;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:24772;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678518765;s:12:"last_post_id";i:24772;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:324:"a:4:{i:19214;a:2:{s:3:"tag";s:24:"building spelling skills";s:7:"tag_url";s:24:"building-spelling-skills";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:15306;a:2:{s:3:"tag";s:11:"kid english";s:7:"tag_url";s:11:"kid-english";}i:4444;a:2:{s:3:"tag";s:8:"spelling";s:7:"tag_url";s:8:"spelling";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21065;a:22:{s:9:"thread_id";i:21065;s:7:"node_id";i:230;s:5:"title";s:53:"Building Spelling Skills Grade 2, Evan-Moor, EMC 2706";s:11:"reply_count";i:0;s:10:"view_count";i:323;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678518548;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:24771;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678518548;s:12:"last_post_id";i:24771;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:324:"a:4:{i:19214;a:2:{s:3:"tag";s:24:"building spelling skills";s:7:"tag_url";s:24:"building-spelling-skills";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:15306;a:2:{s:3:"tag";s:11:"kid english";s:7:"tag_url";s:11:"kid-english";}i:4444;a:2:{s:3:"tag";s:8:"spelling";s:7:"tag_url";s:8:"spelling";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21064;a:22:{s:9:"thread_id";i:21064;s:7:"node_id";i:230;s:5:"title";s:53:"Building Spelling Skills Grade 1, Evan-Moor, EMC 2705";s:11:"reply_count";i:0;s:10:"view_count";i:271;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678518248;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:24770;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678518248;s:12:"last_post_id";i:24770;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:324:"a:4:{i:19214;a:2:{s:3:"tag";s:24:"building spelling skills";s:7:"tag_url";s:24:"building-spelling-skills";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:15306;a:2:{s:3:"tag";s:11:"kid english";s:7:"tag_url";s:11:"kid-english";}i:4444;a:2:{s:3:"tag";s:8:"spelling";s:7:"tag_url";s:8:"spelling";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21063;a:22:{s:9:"thread_id";i:21063;s:7:"node_id";i:266;s:5:"title";s:78:"Prepare B1 Level 5 Teacher's Book, Second Edition, Annie McDonald, 2nd edition";s:11:"reply_count";i:0;s:10:"view_count";i:488;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678517751;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:24769;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678517751;s:12:"last_post_id";i:24769;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:399:"a:5:{i:19213;a:2:{s:3:"tag";s:14:"annie mcdonald";s:7:"tag_url";s:14:"annie-mcdonald";}i:13681;a:2:{s:3:"tag";s:18:"cambridge prepare!";s:7:"tag_url";s:17:"cambridge-prepare";}i:19212;a:2:{s:3:"tag";s:7:"prepare";s:7:"tag_url";s:9:"prepare-5";}i:18684;a:2:{s:3:"tag";s:10:"prepare b1";s:7:"tag_url";s:10:"prepare-b1";}i:5431;a:2:{s:3:"tag";s:14:"teacher's book";s:7:"tag_url";s:13:"teachers-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:21069;a:22:{s:9:"thread_id";i:21069;s:7:"node_id";i:230;s:5:"title";s:53:"Building Spelling Skills Grade 6, Evan-Moor, EMC 2710";s:11:"reply_count";i:0;s:10:"view_count";i:394;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678520635;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:24775;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678520635;s:12:"last_post_id";i:24775;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:324:"a:4:{i:19214;a:2:{s:3:"tag";s:24:"building spelling skills";s:7:"tag_url";s:24:"building-spelling-skills";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:15306;a:2:{s:3:"tag";s:11:"kid english";s:7:"tag_url";s:11:"kid-english";}i:4444;a:2:{s:3:"tag";s:8:"spelling";s:7:"tag_url";s:8:"spelling";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21070;a:22:{s:9:"thread_id";i:21070;s:7:"node_id";i:266;s:5:"title";s:73:"Prepare B2 Level 6 Teacher's Book, Second Edition, Rod Fricker, 276 pages";s:11:"reply_count";i:0;s:10:"view_count";i:438;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678521099;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:24776;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678521099;s:12:"last_post_id";i:24776;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:392:"a:5:{i:13681;a:2:{s:3:"tag";s:18:"cambridge prepare!";s:7:"tag_url";s:17:"cambridge-prepare";}i:19212;a:2:{s:3:"tag";s:7:"prepare";s:7:"tag_url";s:9:"prepare-5";}i:19215;a:2:{s:3:"tag";s:10:"prepare b2";s:7:"tag_url";s:10:"prepare-b2";}i:7341;a:2:{s:3:"tag";s:11:"rod fricker";s:7:"tag_url";s:11:"rod-fricker";}i:5431;a:2:{s:3:"tag";s:14:"teacher's book";s:7:"tag_url";s:13:"teachers-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21071;a:22:{s:9:"thread_id";i:21071;s:7:"node_id";i:266;s:5:"title";s:73:"Prepare B2 Level 7 Teacher's Book, Second Edition, Rod Fricker, 306 pages";s:11:"reply_count";i:0;s:10:"view_count";i:436;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678521512;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:24777;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678521512;s:12:"last_post_id";i:24777;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:392:"a:5:{i:13681;a:2:{s:3:"tag";s:18:"cambridge prepare!";s:7:"tag_url";s:17:"cambridge-prepare";}i:19212;a:2:{s:3:"tag";s:7:"prepare";s:7:"tag_url";s:9:"prepare-5";}i:19215;a:2:{s:3:"tag";s:10:"prepare b2";s:7:"tag_url";s:10:"prepare-b2";}i:7341;a:2:{s:3:"tag";s:11:"rod fricker";s:7:"tag_url";s:11:"rod-fricker";}i:5431;a:2:{s:3:"tag";s:14:"teacher's book";s:7:"tag_url";s:13:"teachers-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:21072;a:22:{s:9:"thread_id";i:21072;s:7:"node_id";i:266;s:5:"title";s:81:"Prepare A2 Level 2 Teacher's Book, Second Edition, Joanna Kosta, Melanie Williams";s:11:"reply_count";i:0;s:10:"view_count";i:449;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678521930;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:24778;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678521930;s:12:"last_post_id";i:24778;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:545:"a:7:{i:13681;a:2:{s:3:"tag";s:18:"cambridge prepare!";s:7:"tag_url";s:17:"cambridge-prepare";}i:9828;a:2:{s:3:"tag";s:12:"joanna kosta";s:7:"tag_url";s:12:"joanna-kosta";}i:9775;a:2:{s:3:"tag";s:16:"melanie williams";s:7:"tag_url";s:16:"melanie-williams";}i:19212;a:2:{s:3:"tag";s:7:"prepare";s:7:"tag_url";s:9:"prepare-5";}i:19216;a:2:{s:3:"tag";s:9:"prepare 2";s:7:"tag_url";s:9:"prepare-2";}i:18274;a:2:{s:3:"tag";s:10:"prepare a2";s:7:"tag_url";s:10:"prepare-a2";}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:21073;a:22:{s:9:"thread_id";i:21073;s:7:"node_id";i:276;s:5:"title";s:66:"Cambridge IGCSE Travel and Tourism, John D. Smith, Fiona Warburton";s:11:"reply_count";i:0;s:10:"view_count";i:480;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1678523272;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:24779;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1678523272;s:12:"last_post_id";i:24779;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:440:"a:6:{i:9940;a:2:{s:3:"tag";s:15:"cambridge igcse";s:7:"tag_url";s:15:"cambridge-igcse";}i:19218;a:2:{s:3:"tag";s:15:"fiona warburton";s:7:"tag_url";s:15:"fiona-warburton";}i:999;a:2:{s:3:"tag";s:5:"igcse";s:7:"tag_url";s:5:"igcse";}i:19217;a:2:{s:3:"tag";s:13:"john d. smith";s:7:"tag_url";s:12:"john-d-smith";}i:2245;a:2:{s:3:"tag";s:7:"tourism";s:7:"tag_url";s:7:"tourism";}i:1297;a:2:{s:3:"tag";s:6:"travel";s:7:"tag_url";s:6:"travel";}}";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:3;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:2;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:1;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:4;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:3;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.780560
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Building Spelling Skills Grade 5, Evan-Moor, EMC 2709' 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 <> 21068)
AND MATCH(search_index.title) AGAINST ('Building Spelling Skills Grade 5, Evan-Moor, EMC 2709' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.524303
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, 43
Run Time: 0.000311
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.000200
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 <> 21068)
ORDER BY RAND()
LIMIT 5
Run Time: 0.334161
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 (11754, 8955, 18329, 5703, 6128))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000876
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, 170
Run Time: 0.000215
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, 21
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, 39
Run Time: 0.000194
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.000262
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 = 21068)
Run Time: 0.222897
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: 06c914d5b7a68aa7ed8b4ec135f6be3d, , 1714658761
Run Time: 0.000380
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=21068, 1714655161,
Run Time: 0.000213
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.407308
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.001504
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.000852
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.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_bottom')
AND style_id = ?
AND language_id = ?
Params: 3, 2
Run Time: 0.000224
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |