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.000641
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.000232
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.004678
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10936 | |
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: 19377
Run Time: 0.001316
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: 178
Run Time: 0.000585
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: 19377
Run Time: 0.010764
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | ref | thread_id_post_date,thread_id_position | thread_id_post_date | 4 | const | 1 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | dien7104_tailieu.post.user_id,func | 1 | Using where |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 19377
Run Time: 0.000337
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 19377, 0
Run Time: 0.336961
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25059 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1663223095)) AND (thread.thread_id <> 19377)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.009008
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11243 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 176
Run Time: 0.000241
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.000162
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, 281
Run Time: 0.000151
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 > 1663223095)) AND (thread.thread_id <> 19377)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.002536
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 5678 | 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, 96
Run Time: 0.000168
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, 245
Run Time: 0.000110
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 <> 19377)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000366
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | PRIMARY | post_date | 4 | | 5 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 361
Run Time: 0.000142
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 296
Run Time: 0.000105
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 89
Run Time: 0.000114
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 = 19377 AND user_id = 0)
Params: 1714741878, a:3:{s:12:"olderThreads";a:5:{i:19376;a:22:{s:9:"thread_id";i:19376;s:7:"node_id";i:176;s:5:"title";s:53:"Bài lá ở Việt Nam, Luật chơi, Trần Gia Anh";s:11:"reply_count";i:0;s:10:"view_count";i:470;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663222592;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:22522;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663222592;s:12:"last_post_id";i:22522;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:277:"a:4:{i:17351;a:2:{s:3:"tag";s:6:"bai la";s:7:"tag_url";s:6:"bai-la";}i:17352;a:2:{s:3:"tag";s:12:"tran gia anh";s:7:"tag_url";s:12:"tran-gia-anh";}i:443;a:2:{s:3:"tag";s:7:"van hoa";s:7:"tag_url";s:7:"van-hoa";}i:72;a:2:{s:3:"tag";s:8:"viet nam";s:7:"tag_url";s:8:"viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19375;a:22:{s:9:"thread_id";i:19375;s:7:"node_id";i:176;s:5:"title";s:44:"Tổ tôm thú chơi tao nhã, Nguyễn Lưu";s:11:"reply_count";i:0;s:10:"view_count";i:590;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663222330;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:22521;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663222330;s:12:"last_post_id";i:22521;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:408:"a:6:{i:17350;a:2:{s:3:"tag";s:10:"nguyen luu";s:7:"tag_url";s:10:"nguyen-luu";}i:7078;a:2:{s:3:"tag";s:8:"the thao";s:7:"tag_url";s:8:"the-thao";}i:11178;a:2:{s:3:"tag";s:8:"thu choi";s:7:"tag_url";s:8:"thu-choi";}i:17349;a:2:{s:3:"tag";s:6:"to tom";s:7:"tag_url";s:6:"to-tom";}i:443;a:2:{s:3:"tag";s:7:"van hoa";s:7:"tag_url";s:7:"van-hoa";}i:72;a:2:{s:3:"tag";s:8:"viet nam";s:7:"tag_url";s:8:"viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19374;a:22:{s:9:"thread_id";i:19374;s:7:"node_id";i:19;s:5:"title";s:118:"Những ông trùm tài chính, Liaquat Ahamed, những chủ ngân hàng lũng đoạn nền tài chính thế giới";s:11:"reply_count";i:0;s:10:"view_count";i:457;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663222107;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:22520;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663222107;s:12:"last_post_id";i:22520;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:490:"a:6:{i:849;a:2:{s:3:"tag";s:11:"chung khoan";s:7:"tag_url";s:11:"chung-khoan";}i:832;a:2:{s:3:"tag";s:9:"financial";s:7:"tag_url";s:9:"financial";}i:17346;a:2:{s:3:"tag";s:14:"liaquat ahamed";s:7:"tag_url";s:14:"liaquat-ahamed";}i:17347;a:2:{s:3:"tag";s:24:"nhung ong trum tai chinh";s:7:"tag_url";s:24:"nhung-ong-trum-tai-chinh";}i:162;a:2:{s:3:"tag";s:9:"tai chinh";s:7:"tag_url";s:9:"tai-chinh";}i:17348;a:2:{s:3:"tag";s:18:"tai chinh the gioi";s:7:"tag_url";s:18:"tai-chinh-the-gioi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19373;a:22:{s:9:"thread_id";i:19373;s:7:"node_id";i:281;s:5:"title";s:100:"My Pals are here! Science Cycles Primary 3&4, 2nd edition, Kwa Siew Hwa, Teo-Gwan Wai Lan, Charles C";s:11:"reply_count";i:0;s:10:"view_count";i:350;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1663221561;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:22519;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663221561;s:12:"last_post_id";i:22519;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:589:"a:7:{i:17345;a:2:{s:3:"tag";s:12:"charles chew";s:7:"tag_url";s:12:"charles-chew";}i:9702;a:2:{s:3:"tag";s:12:"kwa siew hwa";s:7:"tag_url";s:12:"kwa-siew-hwa";}i:16389;a:2:{s:3:"tag";s:27:"marshal cavendish education";s:7:"tag_url";s:27:"marshal-cavendish-education";}i:9705;a:2:{s:3:"tag";s:7:"my pals";s:7:"tag_url";s:7:"my-pals";}i:13938;a:2:{s:3:"tag";s:16:"my pals are here";s:7:"tag_url";s:16:"my-pals-are-here";}i:5252;a:2:{s:3:"tag";s:15:"primary science";s:7:"tag_url";s:15:"primary-science";}i:16828;a:2:{s:3:"tag";s:16:"teo-gwan wai lan";s:7:"tag_url";s:16:"teo-gwan-wai-lan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19372;a:22:{s:9:"thread_id";i:19372;s:7:"node_id";i:281;s:5:"title";s:87:"My Pals are here! Science systems Primary 3&4, 2nd edition, Koh Siew Luan, Charles Chew";s:11:"reply_count";i:0;s:10:"view_count";i:299;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1663221110;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:22518;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663221110;s:12:"last_post_id";i:22518;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:561:"a:7:{i:17345;a:2:{s:3:"tag";s:12:"charles chew";s:7:"tag_url";s:12:"charles-chew";}i:2578;a:2:{s:3:"tag";s:11:"kid science";s:7:"tag_url";s:11:"kid-science";}i:9704;a:2:{s:3:"tag";s:13:"koh siew luan";s:7:"tag_url";s:13:"koh-siew-luan";}i:16389;a:2:{s:3:"tag";s:27:"marshal cavendish education";s:7:"tag_url";s:27:"marshal-cavendish-education";}i:9705;a:2:{s:3:"tag";s:7:"my pals";s:7:"tag_url";s:7:"my-pals";}i:13938;a:2:{s:3:"tag";s:16:"my pals are here";s:7:"tag_url";s:16:"my-pals-are-here";}i:312;a:2:{s:3:"tag";s:7:"science";s:7:"tag_url";s:7:"science";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:19378;a:22:{s:9:"thread_id";i:19378;s:7:"node_id";i:178;s:5:"title";s:78:"Thể Biết, Citta Tâm tập 2, Trương Công Dũng, Đặng Đức Trọng";s:11:"reply_count";i:0;s:10:"view_count";i:368;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663223250;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:22524;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663223250;s:12:"last_post_id";i:22524;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:294:"a:4:{i:489;a:2:{s:3:"tag";s:4:"2009";s:7:"tag_url";s:4:"2009";}i:17355;a:2:{s:3:"tag";s:5:"citta";s:7:"tag_url";s:5:"citta";}i:17354;a:2:{s:3:"tag";s:14:"dang duc trong";s:7:"tag_url";s:14:"dang-duc-trong";}i:17353;a:2:{s:3:"tag";s:16:"truong cong dung";s:7:"tag_url";s:16:"truong-cong-dung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19379;a:22:{s:9:"thread_id";i:19379;s:7:"node_id";i:178;s:5:"title";s:78:"Thể Biết, Citta Tâm tập 4, Trương Công Dũng, Đặng Đức Trọng";s:11:"reply_count";i:0;s:10:"view_count";i:414;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663224012;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:22525;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663224012;s:12:"last_post_id";i:22525;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:304:"a:4:{i:17355;a:2:{s:3:"tag";s:5:"citta";s:7:"tag_url";s:5:"citta";}i:17354;a:2:{s:3:"tag";s:14:"dang duc trong";s:7:"tag_url";s:14:"dang-duc-trong";}i:17356;a:2:{s:3:"tag";s:8:"the biet";s:7:"tag_url";s:8:"the-biet";}i:17353;a:2:{s:3:"tag";s:16:"truong cong dung";s:7:"tag_url";s:16:"truong-cong-dung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19380;a:22:{s:9:"thread_id";i:19380;s:7:"node_id";i:178;s:5:"title";s:78:"Thể Biết, Citta Tâm tập 3, Trương Công Dũng, Đặng Đức Trọng";s:11:"reply_count";i:1;s:10:"view_count";i:503;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663225152;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:22526;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1676448997;s:12:"last_post_id";i:24509;s:17:"last_post_user_id";i:99270;s:18:"last_post_username";s:11:"giangenator";s:9:"prefix_id";i:2;s:4:"tags";s:236:"a:3:{i:17355;a:2:{s:3:"tag";s:5:"citta";s:7:"tag_url";s:5:"citta";}i:17354;a:2:{s:3:"tag";s:14:"dang duc trong";s:7:"tag_url";s:14:"dang-duc-trong";}i:17353;a:2:{s:3:"tag";s:16:"truong cong dung";s:7:"tag_url";s:16:"truong-cong-dung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19381;a:22:{s:9:"thread_id";i:19381;s:7:"node_id";i:96;s:5:"title";s:100:"Hóa sinh lâm sàng, ý nghĩa lâm sàng của các xét nghiệm hóa sinh, Gs. Lê Đức Trình";s:11:"reply_count";i:1;s:10:"view_count";i:708;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663225552;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:22527;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663225663;s:12:"last_post_id";i:22528;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:466:"a:6:{i:12519;a:2:{s:3:"tag";s:8:"hoa sinh";s:7:"tag_url";s:8:"hoa-sinh";}i:17357;a:2:{s:3:"tag";s:17:"hoa sinh lam sang";s:7:"tag_url";s:17:"hoa-sinh-lam-sang";}i:17359;a:2:{s:3:"tag";s:12:"le duc trinh";s:7:"tag_url";s:12:"le-duc-trinh";}i:12480;a:2:{s:3:"tag";s:10:"xet nghiem";s:7:"tag_url";s:10:"xet-nghiem";}i:17358;a:2:{s:3:"tag";s:19:"xet nghiem hoa sinh";s:7:"tag_url";s:19:"xet-nghiem-hoa-sinh";}i:669;a:2:{s:3:"tag";s:5:"y hoc";s:7:"tag_url";s:5:"y-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:19382;a:22:{s:9:"thread_id";i:19382;s:7:"node_id";i:245;s:5:"title";s:68:"Dế mèn phiêu lưu ký, song ngữ, Diary of a cricket, Tô Hoài";s:11:"reply_count";i:0;s:10:"view_count";i:1473;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1663225877;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:22529;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1663225877;s:12:"last_post_id";i:22529;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:542:"a:7:{i:7796;a:2:{s:3:"tag";s:15:"children reader";s:7:"tag_url";s:15:"children-reader";}i:18398;a:2:{s:3:"tag";s:13:"dang the binh";s:7:"tag_url";s:13:"dang-the-binh";}i:17360;a:2:{s:3:"tag";s:6:"de men";s:7:"tag_url";s:6:"de-men";}i:17362;a:2:{s:3:"tag";s:19:"de men phieu luu ky";s:7:"tag_url";s:19:"de-men-phieu-luu-ky";}i:17361;a:2:{s:3:"tag";s:18:"diary of a cricket";s:7:"tag_url";s:18:"diary-of-a-cricket";}i:1200;a:2:{s:3:"tag";s:7:"to hoai";s:7:"tag_url";s:7:"to-hoai";}i:269;a:2:{s:3:"tag";s:6:"truyen";s:7:"tag_url";s:6:"truyen";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25531;a:22:{s:9:"thread_id";i:25531;s:7:"node_id";i:361;s:5:"title";s:90:"Collins Cambridge IGCSE English as Second Language Student Book (Collins) 2023 New Edition";s:11:"reply_count";i:0;s:10:"view_count";i:25;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652775;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30522;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652775;s:12:"last_post_id";i:30522;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:376:"a:5:{i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:9940;a:2:{s:3:"tag";s:15:"cambridge igcse";s:7:"tag_url";s:15:"cambridge-igcse";}i:1591;a:2:{s:3:"tag";s:7:"collins";s:7:"tag_url";s:7:"collins";}i:22318;a:2:{s:3:"tag";s:26:"english as second language";s:7:"tag_url";s:26:"english-as-second-language";}i:729;a:2:{s:3:"tag";s:3:"esl";s:7:"tag_url";s:3:"esl";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25530;a:22:{s:9:"thread_id";i:25530;s:7:"node_id";i:296;s:5:"title";s:79:"Cambridge English Business Vantage 5 with answer (Business English Certificate)";s:11:"reply_count";i:0;s:10:"view_count";i:16;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652506;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30521;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652506;s:12:"last_post_id";i:30521;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:260:"a:3:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:22317;a:2:{s:3:"tag";s:28:"business english certificate";s:7:"tag_url";s:28:"business-english-certificate";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25529;a:22:{s:9:"thread_id";i:25529;s:7:"node_id";i:296;s:5:"title";s:58:"Cambridge English Business Preliminary 5 with answer (BEC)";s:11:"reply_count";i:0;s:10:"view_count";i:20;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652297;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30520;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652297;s:12:"last_post_id";i:30520;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:28;s:4:"tags";s:150:"a:2:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25528;a:22:{s:9:"thread_id";i:25528;s:7:"node_id";i:89;s:5:"title";s:85:"Tuyển tập văn học dân gian Việt Nam tập II, quyển 1 Truyện cổ tích";s:11:"reply_count";i:1;s:10:"view_count";i:20;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714651047;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30518;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714651316;s:12:"last_post_id";i:30519;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:391:"a:5:{i:1270;a:2:{s:3:"tag";s:7:"co tich";s:7:"tag_url";s:7:"co-tich";}i:22316;a:2:{s:3:"tag";s:14:"truyen co tich";s:7:"tag_url";s:14:"truyen-co-tich";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25527;a:22:{s:9:"thread_id";i:25527;s:7:"node_id";i:89;s:5:"title";s:86:"Tuyển tập văn học dân gian Việt Nam tập IV, quyển 1 Tục ngữ, cao dao";s:11:"reply_count";i:0;s:10:"view_count";i:19;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714650709;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30517;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714650709;s:12:"last_post_id";i:30517;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:375:"a:5:{i:11962;a:2:{s:3:"tag";s:7:"cao dao";s:7:"tag_url";s:7:"cao-dao";}i:9144;a:2:{s:3:"tag";s:7:"tuc ngu";s:7:"tag_url";s:7:"tuc-ngu";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.654837
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Thể Biết, Citta Tâm tập 1, Trương Công Dũng, Đặng Đức Trọ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 <> 19377)
AND MATCH(search_index.title) AGAINST ('Thể Biết, Citta Tâm tập 1, Trương Công Dũng, Đặng Đức Trọng' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.792694
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, 10
Run Time: 0.000319
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, 22
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, 11
Run Time: 0.000190
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 <> 19377)
ORDER BY RAND()
LIMIT 5
Run Time: 0.081953
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22486 | Using where; Using temporary; Using filesort |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id IN (15086, 3503, 8252, 3858, 15644))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000830
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, 136
Run Time: 0.000229
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, 260
Run Time: 0.000199
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, 30
Run Time: 0.000191
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, 74
Run Time: 0.000196
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.000171
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 = 19377)
Run Time: 0.165028
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25603 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 9b100f6ea2f44f7093c8ee2d1be77237, , 1714745478
Run Time: 0.000277
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=19377, 1714741878,
Run Time: 0.000148
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.005422
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.000336
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.000230
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.000269
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.000209
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |