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.000842
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.000227
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.008940
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: 13557
Run Time: 0.000691
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: 76
Run Time: 0.000793
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: 13557
Run Time: 0.005290
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | ref | thread_id_post_date,thread_id_position | thread_id_post_date | 4 | const | 1 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | dien7104_tailieu.post.user_id,func | 1 | Using where |
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xf_attachment AS attachment
INNER JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE attachment.content_type = ?
AND attachment.content_id IN (14982)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.005272
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 31 | const,const | 1 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.attachment.data_id | 1 | |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 13557
Run Time: 0.000220
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 13557, 0
Run Time: 0.434971
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24912 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1618327471)) AND (thread.thread_id <> 13557)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000505
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11850 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 217
Run Time: 0.000209
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 7
Run Time: 0.000184
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 119
Run Time: 0.000175
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1618327471)) AND (thread.thread_id <> 13557)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.003912
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11850 | Using index condition; Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 227
Run Time: 0.000435
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, 156
Run Time: 0.000404
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, 215
Run Time: 0.000364
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 <> 13557)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000880
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | PRIMARY | post_date | 4 | | 5 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 196
Run Time: 0.000264
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 28
Run Time: 0.000251
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 210
Run Time: 0.000277
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.000291
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 = 13557 AND user_id = 0)
Params: 1713467374, a:3:{s:12:"olderThreads";a:5:{i:13556;a:22:{s:9:"thread_id";i:13556;s:7:"node_id";i:76;s:5:"title";s:62:"TKT Module 1-3, Teaching Knowledge Test, handbook for Teachers";s:11:"reply_count";i:0;s:10:"view_count";i:735;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618327288;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:14981;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618327288;s:12:"last_post_id";i:14981;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:366:"a:5:{i:10267;a:2:{s:3:"tag";s:9:"cambirdge";s:7:"tag_url";s:9:"cambirdge";}i:221;a:2:{s:3:"tag";s:8:"handbook";s:7:"tag_url";s:8:"handbook";}i:11922;a:2:{s:3:"tag";s:8:"teachers";s:7:"tag_url";s:8:"teachers";}i:9817;a:2:{s:3:"tag";s:23:"teaching knowledge test";s:7:"tag_url";s:23:"teaching-knowledge-test";}i:9815;a:2:{s:3:"tag";s:3:"tkt";s:7:"tag_url";s:3:"tkt";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13555;a:22:{s:9:"thread_id";i:13555;s:7:"node_id";i:217;s:5:"title";s:50:"Vince Michael. Advanced Language Practice (CD-ROM)";s:11:"reply_count";i:0;s:10:"view_count";i:980;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618326884;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:14980;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618326884;s:12:"last_post_id";i:14980;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:22;s:4:"tags";s:389:"a:5:{i:2398;a:2:{s:3:"tag";s:17:"language practice";s:7:"tag_url";s:17:"language-practice";}i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:428;a:2:{s:3:"tag";s:6:"oxford";s:7:"tag_url";s:6:"oxford";}i:11921;a:2:{s:3:"tag";s:16:"sunderland peter";s:7:"tag_url";s:16:"sunderland-peter";}i:1300;a:2:{s:3:"tag";s:13:"vince michael";s:7:"tag_url";s:13:"vince-michael";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13554;a:22:{s:9:"thread_id";i:13554;s:7:"node_id";i:217;s:5:"title";s:58:"Intermediate language practice cd-room, Michael Vince, 3rd";s:11:"reply_count";i:0;s:10:"view_count";i:1044;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618326517;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:14979;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618326517;s:12:"last_post_id";i:14979;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:22;s:4:"tags";s:402:"a:5:{i:3849;a:2:{s:3:"tag";s:15:"english grammar";s:7:"tag_url";s:15:"english-grammar";}i:203;a:2:{s:3:"tag";s:12:"intermediate";s:7:"tag_url";s:12:"intermediate";}i:2398;a:2:{s:3:"tag";s:17:"language practice";s:7:"tag_url";s:17:"language-practice";}i:1535;a:2:{s:3:"tag";s:13:"michael vince";s:7:"tag_url";s:13:"michael-vince";}i:89;a:2:{s:3:"tag";s:10:"vocabulary";s:7:"tag_url";s:10:"vocabulary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13553;a:22:{s:9:"thread_id";i:13553;s:7:"node_id";i:7;s:5:"title";s:76:"25 Chuyên Đề Ngữ Pháp Tiếng Anh Trọng Tâm – (Tập 1, tập 2)";s:11:"reply_count";i:0;s:10:"view_count";i:1232;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1618303767;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:14978;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618303767;s:12:"last_post_id";i:14978;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:346:"a:5:{i:2080;a:2:{s:3:"tag";s:9:"chuyen de";s:7:"tag_url";s:9:"chuyen-de";}i:302;a:2:{s:3:"tag";s:9:"luyen thi";s:7:"tag_url";s:9:"luyen-thi";}i:372;a:2:{s:3:"tag";s:8:"ngu phap";s:7:"tag_url";s:8:"ngu-phap";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:8822;a:2:{s:3:"tag";s:9:"trang anh";s:7:"tag_url";s:9:"trang-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13552;a:22:{s:9:"thread_id";i:13552;s:7:"node_id";i:119;s:5:"title";s:51:"Hoàng lê nhất thống chí diễn nghĩa | 1927";s:11:"reply_count";i:0;s:10:"view_count";i:1146;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618198228;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:14977;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618198228;s:12:"last_post_id";i:14977;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:64:"a:1:{i:553;a:2:{s:3:"tag";s:4:"1927";s:7:"tag_url";s:4:"1927";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:13558;a:22:{s:9:"thread_id";i:13558;s:7:"node_id";i:76;s:5:"title";s:100:"Teaching Knowledge Test, TKT: Practical, Handbook for teachers, University of Cambridge Esol Examina";s:11:"reply_count";i:0;s:10:"view_count";i:679;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618327733;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:14983;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618327733;s:12:"last_post_id";i:14983;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:498:"a:7:{i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:8888;a:2:{s:3:"tag";s:4:"esol";s:7:"tag_url";s:4:"esol";}i:221;a:2:{s:3:"tag";s:8:"handbook";s:7:"tag_url";s:8:"handbook";}i:200;a:2:{s:3:"tag";s:7:"teacher";s:7:"tag_url";s:7:"teacher";}i:9817;a:2:{s:3:"tag";s:23:"teaching knowledge test";s:7:"tag_url";s:23:"teaching-knowledge-test";}i:9815;a:2:{s:3:"tag";s:3:"tkt";s:7:"tag_url";s:3:"tkt";}i:11923;a:2:{s:3:"tag";s:13:"tkt practical";s:7:"tag_url";s:13:"tkt-practical";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13559;a:22:{s:9:"thread_id";i:13559;s:7:"node_id";i:227;s:5:"title";s:38:"Sat subject test math Level 2, Barrons";s:11:"reply_count";i:0;s:10:"view_count";i:699;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618328165;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:14984;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618328165;s:12:"last_post_id";i:14984;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:282:"a:4:{i:730;a:2:{s:3:"tag";s:7:"barrons";s:7:"tag_url";s:7:"barrons";}i:11924;a:2:{s:3:"tag";s:12:"math level 2";s:7:"tag_url";s:12:"math-level-2";}i:1098;a:2:{s:3:"tag";s:3:"sat";s:7:"tag_url";s:3:"sat";}i:5452;a:2:{s:3:"tag";s:12:"subject test";s:7:"tag_url";s:12:"subject-test";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13560;a:22:{s:9:"thread_id";i:13560;s:7:"node_id";i:156;s:5:"title";s:48:"Achievers B2: Workbook, Margie Lemmens, Richmond";s:11:"reply_count";i:0;s:10:"view_count";i:1026;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618342323;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:14986;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618342323;s:12:"last_post_id";i:14986;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:3;s:4:"tags";s:290:"a:4:{i:4125;a:2:{s:3:"tag";s:9:"achievers";s:7:"tag_url";s:9:"achievers";}i:11925;a:2:{s:3:"tag";s:14:"margie lemmens";s:7:"tag_url";s:14:"margie-lemmens";}i:2979;a:2:{s:3:"tag";s:8:"richmond";s:7:"tag_url";s:8:"richmond";}i:703;a:2:{s:3:"tag";s:8:"workbook";s:7:"tag_url";s:8:"workbook";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13561;a:22:{s:9:"thread_id";i:13561;s:7:"node_id";i:217;s:5:"title";s:31:"Elementary Language Practice CD";s:11:"reply_count";i:0;s:10:"view_count";i:1219;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618346461;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:14987;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618346461;s:12:"last_post_id";i:14987;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:22;s:4:"tags";s:166:"a:2:{i:1536;a:2:{s:3:"tag";s:10:"elementary";s:7:"tag_url";s:10:"elementary";}i:2398;a:2:{s:3:"tag";s:17:"language practice";s:7:"tag_url";s:17:"language-practice";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13562;a:22:{s:9:"thread_id";i:13562;s:7:"node_id";i:215;s:5:"title";s:95:"The sound of English, A practical course in british English pronunciation, pronunciation studio";s:11:"reply_count";i:0;s:10:"view_count";i:1021;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618397251;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:14988;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618397251;s:12:"last_post_id";i:14988;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:28;s:4:"tags";s:358:"a:4:{i:11927;a:2:{s:3:"tag";s:15:"british english";s:7:"tag_url";s:15:"british-english";}i:11928;a:2:{s:3:"tag";s:21:"english pronunciation";s:7:"tag_url";s:21:"english-pronunciation";}i:213;a:2:{s:3:"tag";s:13:"pronunciation";s:7:"tag_url";s:13:"pronunciation";}i:11926;a:2:{s:3:"tag";s:20:"pronunciation studio";s:7:"tag_url";s:20:"pronunciation-studio";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25384;a:22:{s:9:"thread_id";i:25384;s:7:"node_id";i:196;s:5:"title";s:133:"Tuyển chọn đề thi toán vào lớp 10 của một số trường chuyên và chất lượng cao, có đáp án chi tiết, Ng";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713460724;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30322;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460724;s:12:"last_post_id";i:30322;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:752:"a:9:{i:8869;a:2:{s:3:"tag";s:14:"chat luong cao";s:7:"tag_url";s:14:"chat-luong-cao";}i:11260;a:2:{s:3:"tag";s:11:"chuyen toan";s:7:"tag_url";s:11:"chuyen-toan";}i:22070;a:2:{s:3:"tag";s:20:"nguyen thi quynh mai";s:7:"tag_url";s:20:"nguyen-thi-quynh-mai";}i:11597;a:2:{s:3:"tag";s:16:"nguyen van thanh";s:7:"tag_url";s:16:"nguyen-van-thanh";}i:22068;a:2:{s:3:"tag";s:18:"nguyen xuan nguyen";s:7:"tag_url";s:18:"nguyen-xuan-nguyen";}i:8813;a:2:{s:3:"tag";s:17:"on thi vao lop 10";s:7:"tag_url";s:17:"on-thi-vao-lop-10";}i:22069;a:2:{s:3:"tag";s:21:"phung thi thuy nguyen";s:7:"tag_url";s:21:"phung-thi-thuy-nguyen";}i:8512;a:2:{s:3:"tag";s:6:"toan 9";s:7:"tag_url";s:6:"toan-9";}i:8079;a:2:{s:3:"tag";s:10:"tuyen chon";s:7:"tag_url";s:10:"tuyen-chon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25383;a:22:{s:9:"thread_id";i:25383;s:7:"node_id";i:28;s:5:"title";s:104:"Phương pháp rèn luyện bộ não tập trung tức thì, Kenichiro Mogi, Hoàng Thị Hồng dịch";s:11:"reply_count";i:1;s:10:"view_count";i:5;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713460381;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30320;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460389;s:12:"last_post_id";i:30321;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:379:"a:5:{i:22067;a:2:{s:3:"tag";s:14:"hoang thi hong";s:7:"tag_url";s:14:"hoang-thi-hong";}i:22065;a:2:{s:3:"tag";s:14:"kenichiro mogi";s:7:"tag_url";s:14:"kenichiro-mogi";}i:11042;a:2:{s:3:"tag";s:6:"nao bo";s:7:"tag_url";s:6:"nao-bo";}i:2063;a:2:{s:3:"tag";s:11:"phuong phap";s:7:"tag_url";s:11:"phuong-phap";}i:22066;a:2:{s:3:"tag";s:9:"tap trung";s:7:"tag_url";s:9:"tap-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25382;a:22:{s:9:"thread_id";i:25382;s:7:"node_id";i:210;s:5:"title";s:87:"Những vấn đề ngữ pháp tiếng Việt hiện đại, Giáo Sư Lưu Vân Lăng";s:11:"reply_count";i:1;s:10:"view_count";i:5;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459938;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30318;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460048;s:12:"last_post_id";i:30319;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:415:"a:5:{i:22064;a:2:{s:3:"tag";s:12:"luu van lang";s:7:"tag_url";s:12:"luu-van-lang";}i:7900;a:2:{s:3:"tag";s:12:"ngon ngu hoc";s:7:"tag_url";s:12:"ngon-ngu-hoc";}i:12220;a:2:{s:3:"tag";s:19:"ngu phap tieng viet";s:7:"tag_url";s:19:"ngu-phap-tieng-viet";}i:572;a:2:{s:3:"tag";s:10:"tieng viet";s:7:"tag_url";s:10:"tieng-viet";}i:13887;a:2:{s:3:"tag";s:18:"vietnamese grammar";s:7:"tag_url";s:18:"vietnamese-grammar";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25381;a:22:{s:9:"thread_id";i:25381;s:7:"node_id";i:217;s:5:"title";s:117:"Các lỗi thường gặp trong ngữ pháp tiếng Anh, Ngô Quốc Ân, Common mistakes in English Grammar and how";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459495;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30317;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713459495;s:12:"last_post_id";i:30317;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:313:"a:4:{i:4020;a:2:{s:3:"tag";s:15:"common mistakes";s:7:"tag_url";s:15:"common-mistakes";}i:3849;a:2:{s:3:"tag";s:15:"english grammar";s:7:"tag_url";s:15:"english-grammar";}i:1516;a:2:{s:3:"tag";s:7:"mistake";s:7:"tag_url";s:7:"mistake";}i:22063;a:2:{s:3:"tag";s:11:"ngo quoc an";s:7:"tag_url";s:11:"ngo-quoc-an";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25380;a:22:{s:9:"thread_id";i:25380;s:7:"node_id";i:19;s:5:"title";s:60:"Chiêu bài quản lý vàng của Bill Gates, Thương Mỗ";s:11:"reply_count";i:0;s:10:"view_count";i:5;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459046;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30316;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713459046;s:12:"last_post_id";i:30316;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:424:"a:6:{i:1202;a:2:{s:3:"tag";s:8:"bi quyet";s:7:"tag_url";s:8:"bi-quyet";}i:22060;a:2:{s:3:"tag";s:10:"bill gates";s:7:"tag_url";s:10:"bill-gates";}i:22061;a:2:{s:3:"tag";s:9:"billgates";s:7:"tag_url";s:9:"billgates";}i:2169;a:2:{s:3:"tag";s:10:"kinh doanh";s:7:"tag_url";s:10:"kinh-doanh";}i:649;a:2:{s:3:"tag";s:7:"quan ly";s:7:"tag_url";s:7:"quan-ly";}i:22062;a:2:{s:3:"tag";s:9:"thuong mo";s:7:"tag_url";s:9:"thuong-mo";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.801563
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Teaching Knowledge Test Glossary, University of Cambridge Esol Examinations' 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 <> 13557)
AND MATCH(search_index.title) AGAINST ('Teaching Knowledge Test Glossary, University of Cambridge Esol Examinations' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.180060
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.000250
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, 56
Run Time: 0.000177
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, 15
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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 13557)
ORDER BY RAND()
LIMIT 5
Run Time: 0.014907
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23700 | Using where; Using temporary; Using filesort |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id IN (10554, 23413, 16171, 4279, 13828))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.002747
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.000271
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, 216
Run Time: 0.000183
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 144
Run Time: 0.000179
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 51
Run Time: 0.000177
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, 96
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 13557)
Run Time: 0.019581
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25461 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 2084cf542feb8755b78d3ce6ffcdc262, , 1713470974
Run Time: 0.000257
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=13557, 1713467374,
Run Time: 0.000128
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.000883
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.000305
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.000222
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.000238
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.000189
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |