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.000871
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.000228
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.005884
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10904 | |
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: 12104
Run Time: 0.002535
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: 51
Run Time: 0.001289
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: 12104
Run Time: 0.011212
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 (13341)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.007142
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: 12104
Run Time: 0.000432
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 12104, 0
Run Time: 0.502338
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25041 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1607258389)) AND (thread.thread_id <> 12104)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.011540
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11728 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 137
Run Time: 0.000298
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 57
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, 80
Run Time: 0.000247
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.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, 176
Run Time: 0.000212
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 > 1607258389)) AND (thread.thread_id <> 12104)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.007080
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11728 | 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, 135
Run Time: 0.000555
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 <> 12104)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000786
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, 230
Run Time: 0.000399
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 136
Run Time: 0.000295
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, 302
Run Time: 0.000329
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, 79
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.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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 12104 AND user_id = 0)
Params: 1714497282, a:3:{s:12:"olderThreads";a:5:{i:12103;a:22:{s:9:"thread_id";i:12103;s:7:"node_id";i:137;s:5:"title";s:71:"Sách tự học tiếng Anh tập 1, 2, Đoàn Minh, Chu Xuân Nguyên";s:11:"reply_count";i:4;s:10:"view_count";i:1087;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607258126;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:13340;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1682684407;s:12:"last_post_id";i:25285;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:286:"a:4:{i:3355;a:2:{s:3:"tag";s:4:"1994";s:7:"tag_url";s:4:"1994";}i:10553;a:2:{s:3:"tag";s:15:"chu xuan nguyen";s:7:"tag_url";s:15:"chu-xuan-nguyen";}i:9525;a:2:{s:3:"tag";s:9:"doan minh";s:7:"tag_url";s:9:"doan-minh";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12102;a:22:{s:9:"thread_id";i:12102;s:7:"node_id";i:57;s:5:"title";s:90:"Sách học tiếng Hoa dùng cho lao động đi giúp việc gia đình tại Đài Loan";s:11:"reply_count";i:0;s:10:"view_count";i:557;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607258053;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:13339;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607258053;s:12:"last_post_id";i:13339;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:348:"a:5:{i:359;a:2:{s:3:"tag";s:7:"chinese";s:7:"tag_url";s:7:"chinese";}i:438;a:2:{s:3:"tag";s:8:"dai loan";s:7:"tag_url";s:8:"dai-loan";}i:10552;a:2:{s:3:"tag";s:9:"giup viec";s:7:"tag_url";s:9:"giup-viec";}i:232;a:2:{s:3:"tag";s:9:"tieng hoa";s:7:"tag_url";s:9:"tieng-hoa";}i:231;a:2:{s:3:"tag";s:11:"tieng trung";s:7:"tag_url";s:11:"tieng-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12101;a:22:{s:9:"thread_id";i:12101;s:7:"node_id";i:80;s:5:"title";s:31:"Primary mathematics textbook 5B";s:11:"reply_count";i:0;s:10:"view_count";i:768;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607257921;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:13338;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607257921;s:12:"last_post_id";i:13338;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:164:"a:2:{i:5534;a:2:{s:3:"tag";s:19:"primary mathematics";s:7:"tag_url";s:19:"primary-mathematics";}i:1225;a:2:{s:3:"tag";s:8:"textbook";s:7:"tag_url";s:8:"textbook";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12100;a:22:{s:9:"thread_id";i:12100;s:7:"node_id";i:7;s:5:"title";s:66:"Phương pháp học tiếng Anh hiệu quả nhất, Bùi Phụng";s:11:"reply_count";i:3;s:10:"view_count";i:1105;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607257711;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:13337;s:16:"first_post_likes";i:1;s:14:"last_post_date";i:1711279480;s:12:"last_post_id";i:30063;s:17:"last_post_user_id";i:155061;s:18:"last_post_username";s:5:"Sihuy";s:9:"prefix_id";i:2;s:4:"tags";s:228:"a:3:{i:8839;a:2:{s:3:"tag";s:9:"bui phung";s:7:"tag_url";s:9:"bui-phung";}i:156;a:2:{s:3:"tag";s:13:"hoc tieng anh";s:7:"tag_url";s:13:"hoc-tieng-anh";}i:2063;a:2:{s:3:"tag";s:11:"phuong phap";s:7:"tag_url";s:11:"phuong-phap";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12099;a:22:{s:9:"thread_id";i:12099;s:7:"node_id";i:176;s:5:"title";s:73:"Phong vị xứ Huế, Hue Flavours, Trần Đức Anh Sơn, Lê Hòa Chi";s:11:"reply_count";i:0;s:10:"view_count";i:750;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607257605;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:13336;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607257605;s:12:"last_post_id";i:13336;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:301:"a:4:{i:1892;a:2:{s:3:"tag";s:3:"hue";s:7:"tag_url";s:3:"hue";}i:10549;a:2:{s:3:"tag";s:12:"hue flavours";s:7:"tag_url";s:12:"hue-flavours";}i:10551;a:2:{s:3:"tag";s:10:"le hoa chi";s:7:"tag_url";s:10:"le-hoa-chi";}i:10550;a:2:{s:3:"tag";s:16:"tran duc anh son";s:7:"tag_url";s:16:"tran-duc-anh-son";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:12105;a:22:{s:9:"thread_id";i:12105;s:7:"node_id";i:7;s:5:"title";s:113:"Sổ tay các cách diễn đạt đặc ngữ trong đàm thoại tiếng Anh, Lê Huy Lâm, Phạm Văn Thuận";s:11:"reply_count";i:0;s:10:"view_count";i:641;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607258866;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:13342;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607258866;s:12:"last_post_id";i:13342;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:426:"a:6:{i:2115;a:2:{s:3:"tag";s:9:"dam thoai";s:7:"tag_url";s:9:"dam-thoai";}i:221;a:2:{s:3:"tag";s:8:"handbook";s:7:"tag_url";s:8:"handbook";}i:3766;a:2:{s:3:"tag";s:10:"le huy lam";s:7:"tag_url";s:10:"le-huy-lam";}i:7932;a:2:{s:3:"tag";s:14:"pham van thuan";s:7:"tag_url";s:14:"pham-van-thuan";}i:1796;a:2:{s:3:"tag";s:6:"so tay";s:7:"tag_url";s:6:"so-tay";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12106;a:22:{s:9:"thread_id";i:12106;s:7:"node_id";i:7;s:5:"title";s:82:"Tài liệu luyện thi luyện viết tiếng Anh trình độ A, Trần Bá Sơn";s:11:"reply_count";i:0;s:10:"view_count";i:606;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607259029;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:13343;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607259029;s:12:"last_post_id";i:13343;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:218:"a:3:{i:9383;a:2:{s:3:"tag";s:10:"luyen viet";s:7:"tag_url";s:10:"luyen-viet";}i:6083;a:2:{s:3:"tag";s:11:"tran ba son";s:7:"tag_url";s:11:"tran-ba-son";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12107;a:22:{s:9:"thread_id";i:12107;s:7:"node_id";i:7;s:5:"title";s:82:"Tài liệu luyện thi luyện viết tiếng Anh trình độ B, Trần Bá Sơn";s:11:"reply_count";i:0;s:10:"view_count";i:812;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607259068;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:13344;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607259068;s:12:"last_post_id";i:13344;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:218:"a:3:{i:9383;a:2:{s:3:"tag";s:10:"luyen viet";s:7:"tag_url";s:10:"luyen-viet";}i:6083;a:2:{s:3:"tag";s:11:"tran ba son";s:7:"tag_url";s:11:"tran-ba-son";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12108;a:22:{s:9:"thread_id";i:12108;s:7:"node_id";i:7;s:5:"title";s:82:"Tài liệu luyện thi luyện viết tiếng Anh trình độ C, Trần Bá Sơn";s:11:"reply_count";i:0;s:10:"view_count";i:742;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607259103;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:13345;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607259103;s:12:"last_post_id";i:13345;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:218:"a:3:{i:9383;a:2:{s:3:"tag";s:10:"luyen viet";s:7:"tag_url";s:10:"luyen-viet";}i:6083;a:2:{s:3:"tag";s:11:"tran ba son";s:7:"tag_url";s:11:"tran-ba-son";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12109;a:22:{s:9:"thread_id";i:12109;s:7:"node_id";i:135;s:5:"title";s:71:"Tài liệu ôn thi THPT Quốc Gia môn Tiếng Anh, Hoàng Thị Lệ";s:11:"reply_count";i:0;s:10:"view_count";i:895;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1607259255;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:13346;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1607259255;s:12:"last_post_id";i:13346;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:208:"a:3:{i:9881;a:2:{s:3:"tag";s:12:"hoang thi le";s:7:"tag_url";s:12:"hoang-thi-le";}i:854;a:2:{s:3:"tag";s:6:"on thi";s:7:"tag_url";s:6:"on-thi";}i:3097;a:2:{s:3:"tag";s:6:"thptqg";s:7:"tag_url";s:6:"thptqg";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25513;a:22:{s:9:"thread_id";i:25513;s:7:"node_id";i:230;s:5:"title";s:37:"Text-based Writing Grade 4, Evan-Moor";s:11:"reply_count";i:0;s:10:"view_count";i:49;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1714215962;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:30498;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714215962;s:12:"last_post_id";i:30498;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:310:"a:4:{i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:2993;a:2:{s:3:"tag";s:7:"grade 4";s:7:"tag_url";s:7:"grade-4";}i:12757;a:2:{s:3:"tag";s:11:"kid writing";s:7:"tag_url";s:11:"kid-writing";}i:22306;a:2:{s:3:"tag";s:18:"text-based writing";s:7:"tag_url";s:18:"text-based-writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25512;a:22:{s:9:"thread_id";i:25512;s:7:"node_id";i:136;s:5:"title";s:100:"BUSINESS COMMUNICATION: MAKING CONNECTIONS IN A DIGITAL WORLD, 11th edition, Raymond V. Lesikar, Mar";s:11:"reply_count";i:0;s:10:"view_count";i:59;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1714213621;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:30497;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714213621;s:12:"last_post_id";i:30497;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:438:"a:5:{i:18535;a:2:{s:3:"tag";s:22:"business communication";s:7:"tag_url";s:22:"business-communication";}i:22302;a:2:{s:3:"tag";s:13:"digital world";s:7:"tag_url";s:13:"digital-world";}i:22305;a:2:{s:3:"tag";s:13:"kathryn rentz";s:7:"tag_url";s:13:"kathryn-rentz";}i:22304;a:2:{s:3:"tag";s:16:"marie e. flatley";s:7:"tag_url";s:15:"marie-e-flatley";}i:22303;a:2:{s:3:"tag";s:18:"raymond v. lesikar";s:7:"tag_url";s:17:"raymond-v-lesikar";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25511;a:22:{s:9:"thread_id";i:25511;s:7:"node_id";i:302;s:5:"title";s:41:"Prosodic Patterns in English Conversation";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1714212596;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:30496;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714212596;s:12:"last_post_id";i:30496;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:492:"a:6:{i:15103;a:2:{s:3:"tag";s:20:"english conversation";s:7:"tag_url";s:20:"english-conversation";}i:22298;a:2:{s:3:"tag";s:13:"nigel g. ward";s:7:"tag_url";s:12:"nigel-g-ward";}i:4746;a:2:{s:3:"tag";s:8:"phonetic";s:7:"tag_url";s:8:"phonetic";}i:22301;a:2:{s:3:"tag";s:9:"pragmatic";s:7:"tag_url";s:9:"pragmatic";}i:22300;a:2:{s:3:"tag";s:17:"pragmatic studies";s:7:"tag_url";s:17:"pragmatic-studies";}i:22299;a:2:{s:3:"tag";s:17:"prosodic patterns";s:7:"tag_url";s:17:"prosodic-patterns";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25510;a:22:{s:9:"thread_id";i:25510;s:7:"node_id";i:79;s:5:"title";s:39:"The Phantom of the Opera ,Leroux Gaston";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157342;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:30495;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157342;s:12:"last_post_id";i:30495;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:188:"a:2:{i:22296;a:2:{s:3:"tag";s:13:"leroux gaston";s:7:"tag_url";s:13:"leroux-gaston";}i:22297;a:2:{s:3:"tag";s:24:"the phantom of the opera";s:7:"tag_url";s:24:"the-phantom-of-the-opera";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25509;a:22:{s:9:"thread_id";i:25509;s:7:"node_id";i:216;s:5:"title";s:85:"Ready to write 2, 4th edition, Perfecting Paragraphs, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:53;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157208;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:30494;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157208;s:12:"last_post_id";i:30494;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:414:"a:5:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:22295;a:2:{s:3:"tag";s:10:"paragraphs";s:7:"tag_url";s:10:"paragraphs";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:22055;a:2:{s:3:"tag";s:16:"ready to write 2";s:7:"tag_url";s:16:"ready-to-write-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.930656
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('So sánh các trạng từ căn bản tiếng Nhật, Dziên Hồng' 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 <> 12104)
AND MATCH(search_index.title) AGAINST ('So sánh các trạng từ căn bản tiếng Nhật, Dziên Hồng' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 1.132726
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, 11
Run Time: 0.000313
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, 34
Run Time: 0.000201
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, 24
Run Time: 0.000205
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, 42
Run Time: 0.000186
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 <> 12104)
ORDER BY RAND()
LIMIT 5
Run Time: 0.175615
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23456 | 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 (878, 13952, 19852, 19315, 13079))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001166
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, 150
Run Time: 0.000256
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.000182
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.000159
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 10
Run Time: 0.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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 12104)
Run Time: 0.207595
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25589 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: b709274826e81ead91272fff68abfb4a, , 1714500882
Run Time: 0.000222
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=12104, 1714497282,
Run Time: 0.000189
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.005483
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.000476
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.000246
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.000387
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 | |