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.000817
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.000259
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.009099
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10916 | |
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: 13640
Run Time: 0.001321
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: 196
Run Time: 0.000767
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: 13640
Run Time: 0.016672
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 | 2 | 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 (15023)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.002334
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: 13640
Run Time: 0.000225
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 13640, 0
Run Time: 0.431313
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25049 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1618882347)) AND (thread.thread_id <> 13640)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000776
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11660 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 56
Run Time: 0.000334
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, 223
Run Time: 0.000312
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, 179
Run Time: 0.000243
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 > 1618882347)) AND (thread.thread_id <> 13640)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.002901
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11660 | 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, 30
Run Time: 0.000282
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 48
Run Time: 0.000278
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.000268
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 <> 13640)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000554
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, 163
Run Time: 0.000200
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.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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 13640 AND user_id = 0)
Params: 1714614874, a:3:{s:12:"olderThreads";a:5:{i:13639;a:22:{s:9:"thread_id";i:13639;s:7:"node_id";i:56;s:5:"title";s:70:"Ielts speaking past exam topics, Target 9, 2020 Edition, Darshan Singh";s:11:"reply_count";i:0;s:10:"view_count";i:934;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618760799;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:15022;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618760799;s:12:"last_post_id";i:15022;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:483:"a:7:{i:4174;a:2:{s:3:"tag";s:4:"2020";s:7:"tag_url";s:4:"2020";}i:2401;a:2:{s:3:"tag";s:6:"band 9";s:7:"tag_url";s:6:"band-9";}i:11958;a:2:{s:3:"tag";s:13:"darshan singh";s:7:"tag_url";s:13:"darshan-singh";}i:90;a:2:{s:3:"tag";s:5:"ielts";s:7:"tag_url";s:5:"ielts";}i:4947;a:2:{s:3:"tag";s:14:"ielts speaking";s:7:"tag_url";s:14:"ielts-speaking";}i:8985;a:2:{s:3:"tag";s:9:"past exam";s:7:"tag_url";s:9:"past-exam";}i:619;a:2:{s:3:"tag";s:8:"speaking";s:7:"tag_url";s:8:"speaking";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13638;a:22:{s:9:"thread_id";i:13638;s:7:"node_id";i:223;s:5:"title";s:40:"TẤT TẦN TẬT VỀ CONTENT MARKETING";s:11:"reply_count";i:0;s:10:"view_count";i:19;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618757222;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:15021;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618757222;s:12:"last_post_id";i:15021;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:127:"a:2:{i:11957;a:2:{s:3:"tag";s:7:"content";s:7:"tag_url";s:7:"content";}i:91;a:2:{s:3:"tag";s:3:"vip";s:7:"tag_url";s:3:"vip";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13637;a:22:{s:9:"thread_id";i:13637;s:7:"node_id";i:179;s:5:"title";s:21:"Fun for Flyers Itools";s:11:"reply_count";i:0;s:10:"view_count";i:1301;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618755156;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:15020;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618755156;s:12:"last_post_id";i:15020;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:212:"a:3:{i:95;a:2:{s:3:"tag";s:6:"flyers";s:7:"tag_url";s:6:"flyers";}i:11303;a:2:{s:3:"tag";s:14:"fun for flyers";s:7:"tag_url";s:14:"fun-for-flyers";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13636;a:22:{s:9:"thread_id";i:13636;s:7:"node_id";i:179;s:5:"title";s:21:"Fun for Movers Itools";s:11:"reply_count";i:0;s:10:"view_count";i:1434;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618755107;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:15019;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618755107;s:12:"last_post_id";i:15019;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:32;s:4:"tags";s:212:"a:3:{i:11301;a:2:{s:3:"tag";s:14:"fun for movers";s:7:"tag_url";s:14:"fun-for-movers";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:96;a:2:{s:3:"tag";s:6:"movers";s:7:"tag_url";s:6:"movers";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13635;a:22:{s:9:"thread_id";i:13635;s:7:"node_id";i:179;s:5:"title";s:23:"Fun for Starters Itools";s:11:"reply_count";i:0;s:10:"view_count";i:1350;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618755045;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:15018;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618755045;s:12:"last_post_id";i:15018;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:32;s:4:"tags";s:220:"a:3:{i:11300;a:2:{s:3:"tag";s:16:"fun for starters";s:7:"tag_url";s:16:"fun-for-starters";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:97;a:2:{s:3:"tag";s:8:"starters";s:7:"tag_url";s:8:"starters";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:13641;a:22:{s:9:"thread_id";i:13641;s:7:"node_id";i:30;s:5:"title";s:55:"Audio book: The History Book Big Ideas Simply Explained";s:11:"reply_count";i:0;s:10:"view_count";i:932;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1618882801;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:15025;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618882801;s:12:"last_post_id";i:15025;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:21;s:4:"tags";s:327:"a:4:{i:2655;a:2:{s:3:"tag";s:10:"audio book";s:7:"tag_url";s:10:"audio-book";}i:6101;a:2:{s:3:"tag";s:26:"big ideas simply explained";s:7:"tag_url";s:26:"big-ideas-simply-explained";}i:2055;a:2:{s:3:"tag";s:13:"dk publishing";s:7:"tag_url";s:13:"dk-publishing";}i:712;a:2:{s:3:"tag";s:7:"history";s:7:"tag_url";s:7:"history";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13642;a:22:{s:9:"thread_id";i:13642;s:7:"node_id";i:48;s:5:"title";s:46:"DK The History Book Big Ideas Simply Explained";s:11:"reply_count";i:0;s:10:"view_count";i:836;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1618882987;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:15026;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618882987;s:12:"last_post_id";i:15026;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:254:"a:3:{i:6101;a:2:{s:3:"tag";s:26:"big ideas simply explained";s:7:"tag_url";s:26:"big-ideas-simply-explained";}i:2055;a:2:{s:3:"tag";s:13:"dk publishing";s:7:"tag_url";s:13:"dk-publishing";}i:712;a:2:{s:3:"tag";s:7:"history";s:7:"tag_url";s:7:"history";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13643;a:22:{s:9:"thread_id";i:13643;s:7:"node_id";i:48;s:5:"title";s:49:"the Vietnamese Folk Literature by Duong Dinh Khue";s:11:"reply_count";i:0;s:10:"view_count";i:729;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618922763;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:15027;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618922763;s:12:"last_post_id";i:15027;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:356:"a:5:{i:3539;a:2:{s:3:"tag";s:15:"duong dinh khue";s:7:"tag_url";s:15:"duong-dinh-khue";}i:9453;a:2:{s:3:"tag";s:4:"folk";s:7:"tag_url";s:4:"folk";}i:711;a:2:{s:3:"tag";s:10:"literature";s:7:"tag_url";s:10:"literature";}i:86;a:2:{s:3:"tag";s:7:"vietnam";s:7:"tag_url";s:7:"vietnam";}i:1600;a:2:{s:3:"tag";s:10:"vietnamese";s:7:"tag_url";s:10:"vietnamese";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13644;a:22:{s:9:"thread_id";i:13644;s:7:"node_id";i:48;s:5:"title";s:40:"Vietnamese food & cooking, Ghillie Basan";s:11:"reply_count";i:0;s:10:"view_count";i:757;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618923203;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:15028;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618923203;s:12:"last_post_id";i:15028;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:429:"a:6:{i:4924;a:2:{s:3:"tag";s:7:"cooking";s:7:"tag_url";s:7:"cooking";}i:689;a:2:{s:3:"tag";s:4:"food";s:7:"tag_url";s:4:"food";}i:11960;a:2:{s:3:"tag";s:13:"ghillie basan";s:7:"tag_url";s:13:"ghillie-basan";}i:86;a:2:{s:3:"tag";s:7:"vietnam";s:7:"tag_url";s:7:"vietnam";}i:1600;a:2:{s:3:"tag";s:10:"vietnamese";s:7:"tag_url";s:10:"vietnamese";}i:11961;a:2:{s:3:"tag";s:15:"vietnamese food";s:7:"tag_url";s:15:"vietnamese-food";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13645;a:22:{s:9:"thread_id";i:13645;s:7:"node_id";i:7;s:5:"title";s:98:"Tuyển tập thành ngữ, tục ngữ, cao dao Việt - Anh thông dụng, Nguyễn Đình Hùng";s:11:"reply_count";i:0;s:10:"view_count";i:1139;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1618924219;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:15029;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1618924219;s:12:"last_post_id";i:15029;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:2;s:4:"tags";s:498:"a:7:{i:11962;a:2:{s:3:"tag";s:7:"cao dao";s:7:"tag_url";s:7:"cao-dao";}i:6315;a:2:{s:3:"tag";s:16:"nguyen dinh hung";s:7:"tag_url";s:16:"nguyen-dinh-hung";}i:3377;a:2:{s:3:"tag";s:9:"thanh ngu";s:7:"tag_url";s:9:"thanh-ngu";}i:9579;a:2:{s:3:"tag";s:10:"thong dung";s:7:"tag_url";s:10:"thong-dung";}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:229;a:2:{s:3:"tag";s:8:"viet anh";s:7:"tag_url";s:8:"viet-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25521;a:22:{s:9:"thread_id";i:25521;s:7:"node_id";i:163;s:5:"title";s:64:"The PMI Guide to Business Analysis ,Project Management Institute";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714614805;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:30511;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714614805;s:12:"last_post_id";i:30511;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:238:"a:3:{i:22307;a:2:{s:3:"tag";s:17:"business analysis";s:7:"tag_url";s:17:"business-analysis";}i:622;a:2:{s:3:"tag";s:3:"pmi";s:7:"tag_url";s:3:"pmi";}i:621;a:2:{s:3:"tag";s:18:"project management";s:7:"tag_url";s:18:"project-management";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25520;a:22:{s:9:"thread_id";i:25520;s:7:"node_id";i:11;s:5:"title";s:87:"Hiệu Ứng Người Bảo Trợ: Dạy Chính Mình Bằng Cách Dạy Người Khác";s:11:"reply_count";i:0;s:10:"view_count";i:24;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517221;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:30509;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517221;s:12:"last_post_id";i:30509;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25519;a:22:{s:9:"thread_id";i:25519;s:7:"node_id";i:11;s:5:"title";s:85:"Nghệ Thuật 'Fake It Till You Make It' Của Huyền Thoại Cờ Vua Thế Giới";s:11:"reply_count";i:0;s:10:"view_count";i:24;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517172;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:30508;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517172;s:12:"last_post_id";i:30508;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25518;a:22:{s:9:"thread_id";i:25518;s:7:"node_id";i:11;s:5:"title";s:86:"35 BÍ QUYẾT ĐỌC SÁCH MÌNH HỌC ĐƯỢC SAU KHI ĐỌC HƠN 350 CUỐN SÁCH.";s:11:"reply_count";i:0;s:10:"view_count";i:22;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517111;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:30507;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517111;s:12:"last_post_id";i:30507;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25517;a:22:{s:9:"thread_id";i:25517;s:7:"node_id";i:11;s:5:"title";s:92:"Hiệu Ứng Thỏa Mãn Vượt Ngưỡng (Phần 1): Tiền Có Mua Được Hạnh Phúc?";s:11:"reply_count";i:0;s:10:"view_count";i:22;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517080;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:30506;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517080;s:12:"last_post_id";i:30506;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.818746
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Bài luận mẫu tiếng Anh dành cho học sinh thi THPT chuyên, phiên bản 2020 - 2021' 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 <> 13640)
AND MATCH(search_index.title) AGAINST ('Bài luận mẫu tiếng Anh dành cho học sinh thi THPT chuyên, phiên bản 2020 - 2021' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.336021
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, 42
Run Time: 0.000322
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.000232
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.000226
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, 147
Run Time: 0.000211
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 15
Run Time: 0.000213
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 <> 13640)
ORDER BY RAND()
LIMIT 5
Run Time: 0.030413
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23321 | 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 (5332, 18196, 2842, 18347, 18660))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001008
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, 273
Run Time: 0.000327
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, 26
Run Time: 0.000335
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, 219
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, 77
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 24
Run Time: 0.000272
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 = 13640)
Run Time: 0.038329
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25590 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: ff0c6d4b7ac4a9e6cef3747ca0cecda6, , 1714618474
Run Time: 0.000242
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=13640, 1714614874,
Run Time: 0.000207
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.000944
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.000411
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.000284
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.000384
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.000282
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |