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.000780
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.002022
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.009030
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10610 | |
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: 11893
Run Time: 0.002095
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: 171
Run Time: 0.009540
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: 11893
Run Time: 0.004498
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 (13119)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.005933
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: 11893
Run Time: 0.000213
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 11893, 0
Run Time: 0.624053
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24750 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1605929230)) AND (thread.thread_id <> 11893)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001820
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11572 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 135
Run Time: 0.000220
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.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, 156
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1605929230)) AND (thread.thread_id <> 11893)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.005160
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11572 | 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, 134
Run Time: 0.000214
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, 186
Run Time: 0.000719
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, 163
Run Time: 0.000195
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.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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 11893)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000363
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, 222
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, 43
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, 51
Run Time: 0.000176
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 11893 AND user_id = 0)
Params: 1711690748, a:3:{s:12:"olderThreads";a:5:{i:11892;a:22:{s:9:"thread_id";i:11892;s:7:"node_id";i:135;s:5:"title";s:118:"Phương Pháp Làm Bài Tập Trắc Nghiệm Ngữ Pháp Tiếng Anh Trung Học Phổ Thông - Nguyễn Bảo Trang";s:11:"reply_count";i:0;s:10:"view_count";i:768;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1605891453;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:13118;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1605891453;s:12:"last_post_id";i:13118;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:432:"a:6:{i:372;a:2:{s:3:"tag";s:8:"ngu phap";s:7:"tag_url";s:8:"ngu-phap";}i:8829;a:2:{s:3:"tag";s:16:"nguyen bao trang";s:7:"tag_url";s:16:"nguyen-bao-trang";}i:2063;a:2:{s:3:"tag";s:11:"phuong phap";s:7:"tag_url";s:11:"phuong-phap";}i:433;a:2:{s:3:"tag";s:4:"thpt";s:7:"tag_url";s:4:"thpt";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:178;a:2:{s:3:"tag";s:11:"trac nghiem";s:7:"tag_url";s:11:"trac-nghiem";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11891;a:22:{s:9:"thread_id";i:11891;s:7:"node_id";i:135;s:5:"title";s:120:"Phương pháp làm bài tập trắc nghiệm từ vựng tiếng Anh, word forms and word choice. Nguyễn Bảo Trang";s:11:"reply_count";i:0;s:10:"view_count";i:1567;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1605890098;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:13117;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1605890098;s:12:"last_post_id";i:13117;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:447:"a:6:{i:8829;a:2:{s:3:"tag";s:16:"nguyen bao trang";s:7:"tag_url";s:16:"nguyen-bao-trang";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:178;a:2:{s:3:"tag";s:11:"trac nghiem";s:7:"tag_url";s:11:"trac-nghiem";}i:819;a:2:{s:3:"tag";s:7:"tu vung";s:7:"tag_url";s:7:"tu-vung";}i:10366;a:2:{s:3:"tag";s:11:"word choice";s:7:"tag_url";s:11:"word-choice";}i:10365;a:2:{s:3:"tag";s:10:"word forms";s:7:"tag_url";s:10:"word-forms";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11889;a:22:{s:9:"thread_id";i:11889;s:7:"node_id";i:171;s:5:"title";s:55:"Cẩm nang luyện thi B1, B2 theo định dạng Vstep";s:11:"reply_count";i:0;s:10:"view_count";i:1616;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1605700225;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:13113;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1605700225;s:12:"last_post_id";i:13113;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:201:"a:3:{i:663;a:2:{s:3:"tag";s:8:"cam nang";s:7:"tag_url";s:8:"cam-nang";}i:302;a:2:{s:3:"tag";s:9:"luyen thi";s:7:"tag_url";s:9:"luyen-thi";}i:3791;a:2:{s:3:"tag";s:5:"vstep";s:7:"tag_url";s:5:"vstep";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11888;a:22:{s:9:"thread_id";i:11888;s:7:"node_id";i:76;s:5:"title";s:90:"New headway, 3rd, Pre-intermediate, student's book, Mike Sayer, John and Liz Soars, oxford";s:11:"reply_count";i:0;s:10:"view_count";i:503;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1605672128;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:13112;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1605672128;s:12:"last_post_id";i:13112;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:452:"a:6:{i:10363;a:2:{s:3:"tag";s:9:"liz soars";s:7:"tag_url";s:9:"liz-soars";}i:10364;a:2:{s:3:"tag";s:10:"mike sayer";s:7:"tag_url";s:10:"mike-sayer";}i:9821;a:2:{s:3:"tag";s:11:"new headway";s:7:"tag_url";s:11:"new-headway";}i:428;a:2:{s:3:"tag";s:6:"oxford";s:7:"tag_url";s:6:"oxford";}i:202;a:2:{s:3:"tag";s:16:"pre-intermediate";s:7:"tag_url";s:16:"pre-intermediate";}i:10243;a:2:{s:3:"tag";s:14:"student's book";s:7:"tag_url";s:13:"students-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11887;a:22:{s:9:"thread_id";i:11887;s:7:"node_id";i:156;s:5:"title";s:78:"New headway, 3rd, Pre-intermediate, student's book, John and Liz Soars, oxford";s:11:"reply_count";i:0;s:10:"view_count";i:794;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1605671698;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:13111;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1605671698;s:12:"last_post_id";i:13111;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:373:"a:5:{i:10363;a:2:{s:3:"tag";s:9:"liz soars";s:7:"tag_url";s:9:"liz-soars";}i:9821;a:2:{s:3:"tag";s:11:"new headway";s:7:"tag_url";s:11:"new-headway";}i:428;a:2:{s:3:"tag";s:6:"oxford";s:7:"tag_url";s:6:"oxford";}i:202;a:2:{s:3:"tag";s:16:"pre-intermediate";s:7:"tag_url";s:16:"pre-intermediate";}i:702;a:2:{s:3:"tag";s:12:"student book";s:7:"tag_url";s:12:"student-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:11894;a:22:{s:9:"thread_id";i:11894;s:7:"node_id";i:134;s:5:"title";s:128:"Bộ đề thi tuyển sinh vào lớp 10 các trường Chất lượng cao và trường Chuyên Môn Toán, Lưu Xuân Tình,";s:11:"reply_count";i:0;s:10:"view_count";i:1227;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1605930732;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:13120;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1605930732;s:12:"last_post_id";i:13120;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:823:"a:10:{i:10369;a:2:{s:3:"tag";s:20:"bo de thi tuyen sinh";s:7:"tag_url";s:20:"bo-de-thi-tuyen-sinh";}i:10374;a:2:{s:3:"tag";s:13:"bui tuan ngoc";s:7:"tag_url";s:13:"bui-tuan-ngoc";}i:8869;a:2:{s:3:"tag";s:14:"chat luong cao";s:7:"tag_url";s:14:"chat-luong-cao";}i:10372;a:2:{s:3:"tag";s:12:"le van cuong";s:7:"tag_url";s:12:"le-van-cuong";}i:10370;a:2:{s:3:"tag";s:13:"luu xuan tinh";s:7:"tag_url";s:13:"luu-xuan-tinh";}i:3422;a:2:{s:3:"tag";s:8:"mon toan";s:7:"tag_url";s:8:"mon-toan";}i:10371;a:2:{s:3:"tag";s:17:"nguyen tien trung";s:7:"tag_url";s:17:"nguyen-tien-trung";}i:10373;a:2:{s:3:"tag";s:14:"nguyen van han";s:7:"tag_url";s:14:"nguyen-van-han";}i:9189;a:2:{s:3:"tag";s:13:"truong chuyen";s:7:"tag_url";s:13:"truong-chuyen";}i:8818;a:2:{s:3:"tag";s:17:"tuyen sinh lop 10";s:7:"tag_url";s:17:"tuyen-sinh-lop-10";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11895;a:22:{s:9:"thread_id";i:11895;s:7:"node_id";i:76;s:5:"title";s:100:"New headway Intermediate, Teacher's Resource book, 3rd, Matt Castle, Mark Uribe, John, Liz Soars, Ox";s:11:"reply_count";i:0;s:10:"view_count";i:565;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1605957097;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:13121;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1605957097;s:12:"last_post_id";i:13121;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:587:"a:8:{i:203;a:2:{s:3:"tag";s:12:"intermediate";s:7:"tag_url";s:12:"intermediate";}i:10377;a:2:{s:3:"tag";s:4:"john";s:7:"tag_url";s:4:"john";}i:10363;a:2:{s:3:"tag";s:9:"liz soars";s:7:"tag_url";s:9:"liz-soars";}i:10376;a:2:{s:3:"tag";s:10:"mark uribe";s:7:"tag_url";s:10:"mark-uribe";}i:10375;a:2:{s:3:"tag";s:11:"matt castle";s:7:"tag_url";s:11:"matt-castle";}i:9821;a:2:{s:3:"tag";s:11:"new headway";s:7:"tag_url";s:11:"new-headway";}i:428;a:2:{s:3:"tag";s:6:"oxford";s:7:"tag_url";s:6:"oxford";}i:4515;a:2:{s:3:"tag";s:18:"teacher's resource";s:7:"tag_url";s:17:"teachers-resource";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11896;a:22:{s:9:"thread_id";i:11896;s:7:"node_id";i:186;s:5:"title";s:38:"Giải thích đề Cambridge Ielts 12";s:11:"reply_count";i:0;s:10:"view_count";i:628;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1606034813;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:13122;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1606034813;s:12:"last_post_id";i:13122;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:179:"a:2:{i:1714;a:2:{s:3:"tag";s:15:"cambridge ielts";s:7:"tag_url";s:15:"cambridge-ielts";}i:10378;a:2:{s:3:"tag";s:18:"cambridge ielts 12";s:7:"tag_url";s:18:"cambridge-ielts-12";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11897;a:22:{s:9:"thread_id";i:11897;s:7:"node_id";i:163;s:5:"title";s:88:"English for Finance, course book, Academy of finance, Cao Xuan Thieu, Tran Thi Thu Nhung";s:11:"reply_count";i:0;s:10:"view_count";i:729;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1606058555;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:13123;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1606058555;s:12:"last_post_id";i:13123;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:497:"a:6:{i:10380;a:2:{s:3:"tag";s:14:"cao xuan thieu";s:7:"tag_url";s:14:"cao-xuan-thieu";}i:10379;a:2:{s:3:"tag";s:19:"english for finance";s:7:"tag_url";s:19:"english-for-finance";}i:180;a:2:{s:3:"tag";s:7:"finance";s:7:"tag_url";s:7:"finance";}i:1261;a:2:{s:3:"tag";s:10:"giao trinh";s:7:"tag_url";s:10:"giao-trinh";}i:10382;a:2:{s:3:"tag";s:18:"hoc vien tai chinh";s:7:"tag_url";s:18:"hoc-vien-tai-chinh";}i:10381;a:2:{s:3:"tag";s:18:"tran thi thu nhung";s:7:"tag_url";s:18:"tran-thi-thu-nhung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11898;a:22:{s:9:"thread_id";i:11898;s:7:"node_id";i:7;s:5:"title";s:129:"Giải thích ngữ pháp tiếng Anh, bản mầu siêu đẹp, với bài tập và đáp án (Mai Lan Hương, Hà Thanh Uyên";s:11:"reply_count";i:0;s:10:"view_count";i:642;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1606184315;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:13124;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1606184315;s:12:"last_post_id";i:13124;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:276:"a:3:{i:10383;a:2:{s:3:"tag";s:29:"giai thich ngu phap tieng anh";s:7:"tag_url";s:29:"giai-thich-ngu-phap-tieng-anh";}i:5985;a:2:{s:3:"tag";s:13:"ha thanh uyen";s:7:"tag_url";s:13:"ha-thanh-uyen";}i:2347;a:2:{s:3:"tag";s:13:"mai lan huong";s:7:"tag_url";s:13:"mai-lan-huong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25222;a:22:{s:9:"thread_id";i:25222;s:7:"node_id";i:222;s:5:"title";s:57:"Instant Vietnamese, revised edition, Sam Brier, Linh Doan";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1711541044;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:30076;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711541044;s:12:"last_post_id";i:30076;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:463:"a:6:{i:11528;a:2:{s:3:"tag";s:14:"hoc tieng viet";s:7:"tag_url";s:14:"hoc-tieng-viet";}i:19298;a:2:{s:3:"tag";s:18:"instant vietnamese";s:7:"tag_url";s:18:"instant-vietnamese";}i:19300;a:2:{s:3:"tag";s:9:"linh doan";s:7:"tag_url";s:9:"linh-doan";}i:19299;a:2:{s:3:"tag";s:9:"sam brier";s:7:"tag_url";s:9:"sam-brier";}i:572;a:2:{s:3:"tag";s:10:"tieng viet";s:7:"tag_url";s:10:"tieng-viet";}i:1600;a:2:{s:3:"tag";s:10:"vietnamese";s:7:"tag_url";s:10:"vietnamese";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25221;a:22:{s:9:"thread_id";i:25221;s:7:"node_id";i:43;s:5:"title";s:55:"Cambridge Fun Skills 5 Student's book with Home booklet";s:11:"reply_count";i:0;s:10:"view_count";i:42;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1711535469;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:30075;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711535469;s:12:"last_post_id";i:30075;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:28;s:4:"tags";s:395:"a:5:{i:9271;a:2:{s:3:"tag";s:13:"anne robinson";s:7:"tag_url";s:13:"anne-robinson";}i:21920;a:2:{s:3:"tag";s:13:"bridget kelly";s:7:"tag_url";s:13:"bridget-kelly";}i:16697;a:2:{s:3:"tag";s:10:"fun skills";s:7:"tag_url";s:10:"fun-skills";}i:21918;a:2:{s:3:"tag";s:12:"fun skills 5";s:7:"tag_url";s:12:"fun-skills-5";}i:21919;a:2:{s:3:"tag";s:12:"home booklet";s:7:"tag_url";s:12:"home-booklet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25220;a:22:{s:9:"thread_id";i:25220;s:7:"node_id";i:51;s:5:"title";s:117:"Sách về ngữ pháp trong viết báo cáo luận văn tiếng Nhật Repooto.Ronbun wo kaku Tame No Nihongo bunpo";s:11:"reply_count";i:1;s:10:"view_count";i:105;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1711534803;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:30073;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711534924;s:12:"last_post_id";i:30074;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:357:"a:5:{i:261;a:2:{s:3:"tag";s:7:"grammar";s:7:"tag_url";s:7:"grammar";}i:370;a:2:{s:3:"tag";s:8:"japanese";s:7:"tag_url";s:8:"japanese";}i:6630;a:2:{s:3:"tag";s:16:"japanese grammar";s:7:"tag_url";s:16:"japanese-grammar";}i:368;a:2:{s:3:"tag";s:7:"nihongo";s:7:"tag_url";s:7:"nihongo";}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;}i:25219;a:22:{s:9:"thread_id";i:25219;s:7:"node_id";i:156;s:5:"title";s:83:"New destinations Intermediate B1 Student Book, H. Q. Mitchell, Marileni Malkogianni";s:11:"reply_count";i:0;s:10:"view_count";i:54;s:7:"user_id";i:12204;s:8:"username";s:13:"Mod_sachchobe";s:9:"post_date";i:1711508253;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:30072;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711508253;s:12:"last_post_id";i:30072;s:17:"last_post_user_id";i:12204;s:18:"last_post_username";s:13:"Mod_sachchobe";s:9:"prefix_id";i:2;s:4:"tags";s:434:"a:5:{i:21917;a:2:{s:3:"tag";s:14:"h. q. mitchell";s:7:"tag_url";s:12:"h-q-mitchell";}i:20035;a:2:{s:3:"tag";s:20:"marileni malkogianni";s:7:"tag_url";s:20:"marileni-malkogianni";}i:20036;a:2:{s:3:"tag";s:16:"new destinations";s:7:"tag_url";s:16:"new-destinations";}i:20040;a:2:{s:3:"tag";s:19:"new destinations b1";s:7:"tag_url";s:19:"new-destinations-b1";}i:702;a:2:{s:3:"tag";s:12:"student book";s:7:"tag_url";s:12:"student-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25218;a:22:{s:9:"thread_id";i:25218;s:7:"node_id";i:156;s:5:"title";s:79:"New destinations Intermediate B1 workbook, H. Q. Mitchell, Marileni Malkogianni";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:12204;s:8:"username";s:13:"Mod_sachchobe";s:9:"post_date";i:1711508058;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:30071;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711508058;s:12:"last_post_id";i:30071;s:17:"last_post_user_id";i:12204;s:18:"last_post_username";s:13:"Mod_sachchobe";s:9:"prefix_id";i:2;s:4:"tags";s:424:"a:5:{i:21917;a:2:{s:3:"tag";s:14:"h. q. mitchell";s:7:"tag_url";s:12:"h-q-mitchell";}i:20035;a:2:{s:3:"tag";s:20:"marileni malkogianni";s:7:"tag_url";s:20:"marileni-malkogianni";}i:20036;a:2:{s:3:"tag";s:16:"new destinations";s:7:"tag_url";s:16:"new-destinations";}i:20040;a:2:{s:3:"tag";s:19:"new destinations b1";s:7:"tag_url";s:19:"new-destinations-b1";}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;}}}
Run Time: 1.025019
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('30 practice tests for Vstep writing' 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 <> 11893)
AND MATCH(search_index.title) AGAINST ('30 practice tests for Vstep writing' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.231144
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 492 | 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, 19
Run Time: 0.000324
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.000977
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, 85
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 <> 11893)
ORDER BY RAND()
LIMIT 5
Run Time: 0.021566
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23144 | 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 (24298, 11803, 9185, 13534, 1006))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.002027
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, 217
Run Time: 0.000331
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.000188
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 128
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, 27
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 11893)
Run Time: 0.038046
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25262 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 68771deeebe14357cf4db0916e0f0346, , 1711694348
Run Time: 0.000237
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=11893, 1711690748,
Run Time: 0.000164
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.000703
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.000217
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.000245
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.000204
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |