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.000693
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.000583
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.008684
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10944 | |
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: 2879
Run Time: 0.000637
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: 26
Run Time: 0.000748
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: 2879
Run Time: 0.006090
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: 2879
Run Time: 0.000237
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 2879, 0
Run Time: 4.823773
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25077 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1534142315)) AND (thread.thread_id <> 2879)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000804
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 2719 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1534142315)) AND (thread.thread_id <> 2879)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.009275
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 12100 | Using index condition; Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 2879)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000356
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, 197
Run Time: 0.000198
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, 283
Run Time: 0.000177
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 23
Run Time: 0.000175
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 21
Run Time: 0.000189
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.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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 2879 AND user_id = 0)
Params: 1714803016, a:3:{s:12:"olderThreads";a:5:{i:2878;a:22:{s:9:"thread_id";i:2878;s:7:"node_id";i:26;s:5:"title";s:16:"Bùi Giáng 1994";s:11:"reply_count";i:0;s:10:"view_count";i:964;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534142281;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:3177;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534142281;s:12:"last_post_id";i:3177;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:134:"a:2:{i:3355;a:2:{s:3:"tag";s:4:"1994";s:7:"tag_url";s:4:"1994";}i:1089;a:2:{s:3:"tag";s:9:"bui giang";s:7:"tag_url";s:9:"bui-giang";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2877;a:22:{s:9:"thread_id";i:2877;s:7:"node_id";i:26;s:5:"title";s:27:"Hoàng Diệu (1829 - 1882)";s:11:"reply_count";i:0;s:10:"view_count";i:931;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534142246;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:3176;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534142246;s:12:"last_post_id";i:3176;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:79:"a:1:{i:3354;a:2:{s:3:"tag";s:10:"hoang dieu";s:7:"tag_url";s:10:"hoang-dieu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2876;a:22:{s:9:"thread_id";i:2876;s:7:"node_id";i:26;s:5:"title";s:30:"Hoàng Việt Hộ Luật 1944";s:11:"reply_count";i:0;s:10:"view_count";i:1001;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534142192;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:3175;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534142192;s:12:"last_post_id";i:3175;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:154:"a:2:{i:2436;a:2:{s:3:"tag";s:4:"1944";s:7:"tag_url";s:4:"1944";}i:2435;a:2:{s:3:"tag";s:18:"hoang viet ho luat";s:7:"tag_url";s:18:"hoang-viet-ho-luat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2875;a:22:{s:9:"thread_id";i:2875;s:7:"node_id";i:26;s:5:"title";s:81:"Ngự Chế Việt Sử Tổng Vịnh - Tập Hạ (Dực Tông Anh Hoàng Đế)";s:11:"reply_count";i:0;s:10:"view_count";i:706;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534142011;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:3174;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534142011;s:12:"last_post_id";i:3174;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:192:"a:2:{i:2790;a:2:{s:3:"tag";s:15:"ngu che viet su";s:7:"tag_url";s:15:"ngu-che-viet-su";}i:3353;a:2:{s:3:"tag";s:25:"ngu che viet su tong vinh";s:7:"tag_url";s:25:"ngu-che-viet-su-tong-vinh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2874;a:22:{s:9:"thread_id";i:2874;s:7:"node_id";i:26;s:5:"title";s:82:"Ngự Chế Việt Sử Tổng Vịnh - Tập Trung (Dực Tông Anh Hoàng Đế)";s:11:"reply_count";i:0;s:10:"view_count";i:734;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534141895;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:3173;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534141895;s:12:"last_post_id";i:3173;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:192:"a:2:{i:2790;a:2:{s:3:"tag";s:15:"ngu che viet su";s:7:"tag_url";s:15:"ngu-che-viet-su";}i:3353;a:2:{s:3:"tag";s:25:"ngu che viet su tong vinh";s:7:"tag_url";s:25:"ngu-che-viet-su-tong-vinh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:2880;a:22:{s:9:"thread_id";i:2880;s:7:"node_id";i:26;s:5:"title";s:54:"Việt Nam Thời Pháp Đô Hộ - Nguyễn Thế Anh";s:11:"reply_count";i:0;s:10:"view_count";i:1013;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534142361;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:3179;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534142361;s:12:"last_post_id";i:3179;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:423:"a:6:{i:40;a:2:{s:3:"tag";s:7:"lich su";s:7:"tag_url";s:7:"lich-su";}i:2428;a:2:{s:3:"tag";s:10:"lua thieng";s:7:"tag_url";s:10:"lua-thieng";}i:3357;a:2:{s:3:"tag";s:14:"nguyen the anh";s:7:"tag_url";s:14:"nguyen-the-anh";}i:3358;a:2:{s:3:"tag";s:10:"phap do ho";s:7:"tag_url";s:10:"phap-do-ho";}i:125;a:2:{s:3:"tag";s:6:"su hoc";s:7:"tag_url";s:6:"su-hoc";}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:2881;a:22:{s:9:"thread_id";i:2881;s:7:"node_id";i:26;s:5:"title";s:42:"Đông Y Thực Hành (Nguyễn Văn Minh)";s:11:"reply_count";i:0;s:10:"view_count";i:776;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534142464;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:3180;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534142464;s:12:"last_post_id";i:3180;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:218:"a:3:{i:3359;a:2:{s:3:"tag";s:6:"dong y";s:7:"tag_url";s:6:"dong-y";}i:601;a:2:{s:3:"tag";s:8:"khai tri";s:7:"tag_url";s:8:"khai-tri";}i:1263;a:2:{s:3:"tag";s:15:"nguyen van minh";s:7:"tag_url";s:15:"nguyen-van-minh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2882;a:22:{s:9:"thread_id";i:2882;s:7:"node_id";i:26;s:5:"title";s:48:"Thời Lịnh Bịnh Học (Nguyễn Đồng Di)";s:11:"reply_count";i:0;s:10:"view_count";i:918;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534142516;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:3181;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534142516;s:12:"last_post_id";i:3181;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:139:"a:2:{i:3360;a:2:{s:3:"tag";s:8:"binh hoc";s:7:"tag_url";s:8:"binh-hoc";}i:601;a:2:{s:3:"tag";s:8:"khai tri";s:7:"tag_url";s:8:"khai-tri";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2883;a:22:{s:9:"thread_id";i:2883;s:7:"node_id";i:26;s:5:"title";s:72:"Sử Ký Của Tư Mã Thiên (Giản Chi Nguyễn Hiến Lê) Lá Bối";s:11:"reply_count";i:0;s:10:"view_count";i:1041;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534143552;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:3182;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534143552;s:12:"last_post_id";i:3182;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:236:"a:3:{i:3362;a:2:{s:3:"tag";s:6:"la boi";s:7:"tag_url";s:6:"la-boi";}i:519;a:2:{s:3:"tag";s:14:"nguyen hien le";s:7:"tag_url";s:14:"nguyen-hien-le";}i:3361;a:2:{s:3:"tag";s:17:"su ky tu ma thien";s:7:"tag_url";s:17:"su-ky-tu-ma-thien";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2884;a:22:{s:9:"thread_id";i:2884;s:7:"node_id";i:26;s:5:"title";s:29:"Bắc Tống Diễn Nghĩa T1";s:11:"reply_count";i:0;s:10:"view_count";i:830;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534143597;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:3183;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534143597;s:12:"last_post_id";i:3183;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:97:"a:1:{i:3363;a:2:{s:3:"tag";s:19:"bac tong dien nghia";s:7:"tag_url";s:19:"bac-tong-dien-nghia";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25549;a:22:{s:9:"thread_id";i:25549;s:7:"node_id";i:197;s:5:"title";s:113:"Bộ đề đánh giá năng lực ôn thi vào lớp 6 chuyên ngoại ngữ 2024, UMS - Ulis Middle School 2024";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714756532;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:30541;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714756532;s:12:"last_post_id";i:30541;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:436:"a:6:{i:18905;a:2:{s:3:"tag";s:4:"2024";s:7:"tag_url";s:4:"2024";}i:8787;a:2:{s:3:"tag";s:5:"bo de";s:7:"tag_url";s:5:"bo-de";}i:341;a:2:{s:3:"tag";s:17:"danh gia nang luc";s:7:"tag_url";s:17:"danh-gia-nang-luc";}i:8580;a:2:{s:3:"tag";s:11:"tieng anh 5";s:7:"tag_url";s:11:"tieng-anh-5";}i:22339;a:2:{s:3:"tag";s:18:"ulis middle school";s:7:"tag_url";s:18:"ulis-middle-school";}i:12833;a:2:{s:3:"tag";s:3:"ums";s:7:"tag_url";s:3:"ums";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25548;a:22:{s:9:"thread_id";i:25548;s:7:"node_id";i:283;s:5:"title";s:129:"Tuyển chọn đề thi học sinh giói tiếng Anh lớp 6, đề thi cấp Quận, Huyện, Thành Phố theo chương trình";s:11:"reply_count";i:0;s:10:"view_count";i:31;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714755924;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:30540;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714755924;s:12:"last_post_id";i:30540;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:414:"a:6:{i:197;a:2:{s:3:"tag";s:6:"dap an";s:7:"tag_url";s:6:"dap-an";}i:378;a:2:{s:3:"tag";s:6:"de thi";s:7:"tag_url";s:6:"de-thi";}i:2482;a:2:{s:3:"tag";s:13:"hoc sinh gioi";s:7:"tag_url";s:13:"hoc-sinh-gioi";}i:2483;a:2:{s:3:"tag";s:3:"hsg";s:7:"tag_url";s:3:"hsg";}i:5522;a:2:{s:3:"tag";s:11:"tieng anh 6";s:7:"tag_url";s:11:"tieng-anh-6";}i:8079;a:2:{s:3:"tag";s:10:"tuyen chon";s:7:"tag_url";s:10:"tuyen-chon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25547;a:22:{s:9:"thread_id";i:25547;s:7:"node_id";i:23;s:5:"title";s:115:"Trang trí nội thất theo quan niệm phong thủy, biên dịch KTS Phạm Quang Hân (interior design with fen";s:11:"reply_count";i:0;s:10:"view_count";i:25;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714755765;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:30539;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714755765;s:12:"last_post_id";i:30539;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:452:"a:6:{i:12334;a:2:{s:3:"tag";s:8:"fengshui";s:7:"tag_url";s:8:"fengshui";}i:7468;a:2:{s:3:"tag";s:8:"noi that";s:7:"tag_url";s:8:"noi-that";}i:22338;a:2:{s:3:"tag";s:14:"pham quang han";s:7:"tag_url";s:14:"pham-quang-han";}i:1903;a:2:{s:3:"tag";s:10:"phong thuy";s:7:"tag_url";s:10:"phong-thuy";}i:282;a:2:{s:3:"tag";s:8:"thiet ke";s:7:"tag_url";s:8:"thiet-ke";}i:22337;a:2:{s:3:"tag";s:18:"trang tri noi that";s:7:"tag_url";s:18:"trang-tri-noi-that";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25546;a:22:{s:9:"thread_id";i:25546;s:7:"node_id";i:21;s:5:"title";s:61:"Tiểu thuyết cổ điển Trung Quốc, Trần Xuân Đề";s:11:"reply_count";i:0;s:10:"view_count";i:23;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714755649;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:30538;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714755649;s:12:"last_post_id";i:30538;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:317:"a:4:{i:44;a:2:{s:3:"tag";s:11:"tieu thuyet";s:7:"tag_url";s:11:"tieu-thuyet";}i:22336;a:2:{s:3:"tag";s:12:"tran xuan de";s:7:"tag_url";s:12:"tran-xuan-de";}i:79;a:2:{s:3:"tag";s:10:"trung quoc";s:7:"tag_url";s:10:"trung-quoc";}i:3237;a:2:{s:3:"tag";s:18:"van hoc trung quoc";s:7:"tag_url";s:18:"van-hoc-trung-quoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25545;a:22:{s:9:"thread_id";i:25545;s:7:"node_id";i:27;s:5:"title";s:81:"Thuốc Mỹ Phẩm với sức khỏe và sắc đẹp giới nữ, Bùi Văn Uy";s:11:"reply_count";i:0;s:10:"view_count";i:21;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714755527;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:30537;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714755527;s:12:"last_post_id";i:30537;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:343:"a:5:{i:22333;a:2:{s:3:"tag";s:10:"bui van uy";s:7:"tag_url";s:10:"bui-van-uy";}i:22335;a:2:{s:3:"tag";s:7:"gioi nu";s:7:"tag_url";s:7:"gioi-nu";}i:2195;a:2:{s:3:"tag";s:7:"my pham";s:7:"tag_url";s:7:"my-pham";}i:22334;a:2:{s:3:"tag";s:7:"sac dep";s:7:"tag_url";s:7:"sac-dep";}i:655;a:2:{s:3:"tag";s:8:"suc khoe";s:7:"tag_url";s:8:"suc-khoe";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 2.261204
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Hội Kín Nguyễn An Ninh' 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 <> 2879)
AND MATCH(search_index.title) AGAINST ('Hội Kín Nguyễn An Ninh' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.273784
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 498 | 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, 34
Run Time: 0.000310
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, 36
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 39
Run Time: 0.000197
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.000194
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 19
Run Time: 0.000224
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 <> 2879)
ORDER BY RAND()
LIMIT 5
Run Time: 0.019828
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 24200 | 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 (9564, 14950, 8635, 18862, 817))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.003968
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, 307
Run Time: 0.000479
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, 230
Run Time: 0.000390
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, 172
Run Time: 0.000206
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.000269
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.000259
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 = 2879)
Run Time: 0.037641
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25625 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: c63fc69a70c0db285ac8f1a11e4dbd70, , 1714806616
Run Time: 0.000406
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=2879, 1714803016,
Run Time: 0.000234
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.002484
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.000394
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.000297
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.000346
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.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 | |