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.001080
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.000214
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.000577
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 32 | |
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: 11302
Run Time: 0.000516
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: 135
Run Time: 0.000509
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | 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: 11302
Run Time: 0.001157
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: 11302
Run Time: 0.000226
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 11302, 0
Run Time: 0.680083
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 12396 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1601889586)) AND (thread.thread_id <> 11302)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000588
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 3782 | 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, 119
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 56
Run Time: 0.000203
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, 63
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1601889586)) AND (thread.thread_id <> 11302)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.000391
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 1353 | 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, 59
Run Time: 0.000202
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.000214
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 62
Run Time: 0.000216
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 <> 11302)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000367
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, 48
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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 11302 AND user_id = 0)
Params: 1611008690, a:3:{s:12:"olderThreads";a:5:{i:11301;a:22:{s:9:"thread_id";i:11301;s:7:"node_id";i:119;s:5:"title";s:95:"Thần thoại Việt Nam Trung Hoa, Doãn Quốc Sỹ, Tuyển tập văn chương nhi đồng";s:11:"reply_count";i:0;s:10:"view_count";i:54;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1601889419;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:12520;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1601889419;s:12:"last_post_id";i:12520;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:296:"a:4:{i:2442;a:2:{s:3:"tag";s:12:"doan quoc sy";s:7:"tag_url";s:12:"doan-quoc-sy";}i:4143;a:2:{s:3:"tag";s:10:"than thoai";s:7:"tag_url";s:10:"than-thoai";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:153;a:2:{s:3:"tag";s:10:"van chuong";s:7:"tag_url";s:10:"van-chuong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11300;a:22:{s:9:"thread_id";i:11300;s:7:"node_id";i:56;s:5:"title";s:55:"The Academic Phrasebank (The University of Manchester)";s:11:"reply_count";i:0;s:10:"view_count";i:79;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1601868275;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:12519;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1601868275;s:12:"last_post_id";i:12519;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:385:"a:5:{i:1149;a:2:{s:3:"tag";s:8:"academic";s:7:"tag_url";s:8:"academic";}i:9969;a:2:{s:3:"tag";s:19:"academic phrasebank";s:7:"tag_url";s:19:"academic-phrasebank";}i:9970;a:2:{s:3:"tag";s:11:"john morley";s:7:"tag_url";s:11:"john-morley";}i:9968;a:2:{s:3:"tag";s:10:"manchester";s:7:"tag_url";s:10:"manchester";}i:9967;a:2:{s:3:"tag";s:10:"phrasebank";s:7:"tag_url";s:10:"phrasebank";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11277;a:22:{s:9:"thread_id";i:11277;s:7:"node_id";i:63;s:5:"title";s:100:"Xây dựng chế định pháp luật về công ty hợp đồng vốn đơn giản ở Việt Nam";s:11:"reply_count";i:0;s:10:"view_count";i:58;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1601612720;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:12485;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1601612720;s:12:"last_post_id";i:12485;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11276;a:22:{s:9:"thread_id";i:11276;s:7:"node_id";i:63;s:5:"title";s:113:"Trách nhiệm hình sự đối với các tội phạm về chức vụ theo pháp luật hình sự Việt Nam";s:11:"reply_count";i:0;s:10:"view_count";i:36;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1601612594;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:12484;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1601612594;s:12:"last_post_id";i:12484;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11275;a:22:{s:9:"thread_id";i:11275;s:7:"node_id";i:63;s:5:"title";s:137:"Thủ tục pháp luật về đầu tư đối với doanh nghiệp tư nhân ở nước ta trong điều kiện Việt Nam trở thàn";s:11:"reply_count";i:0;s:10:"view_count";i:39;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1601612483;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:12483;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1601612483;s:12:"last_post_id";i:12483;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:11303;a:22:{s:9:"thread_id";i:11303;s:7:"node_id";i:59;s:5:"title";s:100:"The Ultimate Guide to SAT Grammar Workbook by Erica L. Meltzer, The Critical Reader, includes six fu";s:11:"reply_count";i:0;s:10:"view_count";i:87;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1601890485;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:12522;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1601890485;s:12:"last_post_id";i:12522;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:549:"a:7:{i:5513;a:2:{s:3:"tag";s:16:"erica l. meltzer";s:7:"tag_url";s:15:"erica-l-meltzer";}i:4232;a:2:{s:3:"tag";s:14:"practice tests";s:7:"tag_url";s:14:"practice-tests";}i:1098;a:2:{s:3:"tag";s:3:"sat";s:7:"tag_url";s:3:"sat";}i:5515;a:2:{s:3:"tag";s:11:"sat grammar";s:7:"tag_url";s:11:"sat-grammar";}i:8563;a:2:{s:3:"tag";s:19:"the critical reader";s:7:"tag_url";s:19:"the-critical-reader";}i:9972;a:2:{s:3:"tag";s:18:"the ultimate guide";s:7:"tag_url";s:18:"the-ultimate-guide";}i:703;a:2:{s:3:"tag";s:8:"workbook";s:7:"tag_url";s:8:"workbook";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11304;a:22:{s:9:"thread_id";i:11304;s:7:"node_id";i:76;s:5:"title";s:53:"Nelson Maths K-6, Student book and Teacher's Resource";s:11:"reply_count";i:0;s:10:"view_count";i:30;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602059076;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:12523;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602059076;s:12:"last_post_id";i:12523;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:274:"a:4:{i:9973;a:2:{s:3:"tag";s:3:"k-6";s:7:"tag_url";s:3:"k-6";}i:217;a:2:{s:3:"tag";s:5:"maths";s:7:"tag_url";s:5:"maths";}i:9974;a:2:{s:3:"tag";s:6:"nelson";s:7:"tag_url";s:6:"nelson";}i:4515;a:2:{s:3:"tag";s:18:"teacher's resource";s:7:"tag_url";s:17:"teachers-resource";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11305;a:22:{s:9:"thread_id";i:11305;s:7:"node_id";i:62;s:5:"title";s:30:"FRM practice Exam Part 1, 2018";s:11:"reply_count";i:0;s:10:"view_count";i:24;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602059220;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:12524;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602059220;s:12:"last_post_id";i:12524;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:256:"a:4:{i:82;a:2:{s:3:"tag";s:4:"2018";s:7:"tag_url";s:4:"2018";}i:8058;a:2:{s:3:"tag";s:3:"fra";s:7:"tag_url";s:3:"fra";}i:958;a:2:{s:3:"tag";s:4:"garp";s:7:"tag_url";s:4:"garp";}i:643;a:2:{s:3:"tag";s:13:"practice exam";s:7:"tag_url";s:13:"practice-exam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11306;a:22:{s:9:"thread_id";i:11306;s:7:"node_id";i:62;s:5:"title";s:36:"FRM practice Exam Part 1, 2019, Garp";s:11:"reply_count";i:0;s:10:"view_count";i:38;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602059507;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:12525;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602059507;s:12:"last_post_id";i:12525;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:324:"a:5:{i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:792;a:2:{s:3:"tag";s:3:"frm";s:7:"tag_url";s:3:"frm";}i:9975;a:2:{s:3:"tag";s:8:"frm 2019";s:7:"tag_url";s:8:"frm-2019";}i:958;a:2:{s:3:"tag";s:4:"garp";s:7:"tag_url";s:4:"garp";}i:643;a:2:{s:3:"tag";s:13:"practice exam";s:7:"tag_url";s:13:"practice-exam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11307;a:22:{s:9:"thread_id";i:11307;s:7:"node_id";i:62;s:5:"title";s:22:"Frm part 1 - 2017 garp";s:11:"reply_count";i:0;s:10:"view_count";i:49;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602059702;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:12526;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602059702;s:12:"last_post_id";i:12526;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:188:"a:3:{i:8058;a:2:{s:3:"tag";s:3:"fra";s:7:"tag_url";s:3:"fra";}i:9976;a:2:{s:3:"tag";s:8:"frm 2017";s:7:"tag_url";s:8:"frm-2017";}i:958;a:2:{s:3:"tag";s:4:"garp";s:7:"tag_url";s:4:"garp";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:12695;a:22:{s:9:"thread_id";i:12695;s:7:"node_id";i:48;s:5:"title";s:134:"tác động của cách mạng công nghiệp lần thứ 4 đến nền kinh tế thế giới, cơ hội và thách thức trong ti";s:11:"reply_count";i:0;s:10:"view_count";i:6;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610984042;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:13945;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610984042;s:12:"last_post_id";i:13945;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:182:"a:2:{i:11026;a:2:{s:3:"tag";s:21:"cach mang cong nghiep";s:7:"tag_url";s:21:"cach-mang-cong-nghiep";}i:11027;a:2:{s:3:"tag";s:13:"dang xuan tam";s:7:"tag_url";s:13:"dang-xuan-tam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12694;a:22:{s:9:"thread_id";i:12694;s:7:"node_id";i:48;s:5:"title";s:117:"Trạng thái bình thường mới ở Việt Nam sẽ ra sao, tác động kinh tế của Covid-19, the world bank";s:11:"reply_count";i:0;s:10:"view_count";i:6;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610983919;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:13944;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610983919;s:12:"last_post_id";i:13944;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:209:"a:3:{i:11024;a:2:{s:3:"tag";s:5:"covid";s:7:"tag_url";s:5:"covid";}i:11025;a:2:{s:3:"tag";s:8:"covid 19";s:7:"tag_url";s:8:"covid-19";}i:4656;a:2:{s:3:"tag";s:10:"world bank";s:7:"tag_url";s:10:"world-bank";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12693;a:22:{s:9:"thread_id";i:12693;s:7:"node_id";i:48;s:5:"title";s:86:"Cam kết về dịch vụ khi gia nhập WTO Bình luận của người trong cuộc";s:11:"reply_count";i:0;s:10:"view_count";i:6;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610983787;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:13943;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610983787;s:12:"last_post_id";i:13943;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:136:"a:2:{i:1800;a:2:{s:3:"tag";s:10:"thuong mai";s:7:"tag_url";s:10:"thuong-mai";}i:1504;a:2:{s:3:"tag";s:3:"wto";s:7:"tag_url";s:3:"wto";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12692;a:22:{s:9:"thread_id";i:12692;s:7:"node_id";i:48;s:5:"title";s:97:"Kiến nghị chính sách hiệp định thương mại tự do Việt Nam, Liên minh Châu Âu";s:11:"reply_count";i:0;s:10:"view_count";i:7;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610983679;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:13942;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610983679;s:12:"last_post_id";i:13942;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:395:"a:5:{i:6402;a:2:{s:3:"tag";s:10:"chinh sach";s:7:"tag_url";s:10:"chinh-sach";}i:11022;a:2:{s:3:"tag";s:9:"hiep dinh";s:7:"tag_url";s:9:"hiep-dinh";}i:4240;a:2:{s:3:"tag";s:17:"lien minh chau au";s:7:"tag_url";s:17:"lien-minh-chau-au";}i:1800;a:2:{s:3:"tag";s:10:"thuong mai";s:7:"tag_url";s:10:"thuong-mai";}i:11023;a:2:{s:3:"tag";s:16:"thuong mai tu do";s:7:"tag_url";s:16:"thuong-mai-tu-do";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12691;a:22:{s:9:"thread_id";i:12691;s:7:"node_id";i:48;s:5:"title";s:109:"Những điều doanh nghiệp cần biết về hiệp định đối tác kinh tế Việt Nam Nhật Bản";s:11:"reply_count";i:0;s:10:"view_count";i:7;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610983531;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:13941;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610983531;s:12:"last_post_id";i:13941;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:344:"a:5:{i:1794;a:2:{s:3:"tag";s:12:"doanh nghiep";s:7:"tag_url";s:12:"doanh-nghiep";}i:11021;a:2:{s:3:"tag";s:7:"doi tac";s:7:"tag_url";s:7:"doi-tac";}i:936;a:2:{s:3:"tag";s:7:"kinh te";s:7:"tag_url";s:7:"kinh-te";}i:467;a:2:{s:3:"tag";s:8:"nhat ban";s:7:"tag_url";s:8:"nhat-ban";}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;}}}
Run Time: 1.349871
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('1000 câu trắc nghiệm khó môn tiếng Anh, mục tiêu 9+' 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 <> 11302)
AND MATCH(search_index.title) AGAINST ('1000 câu trắc nghiệm khó môn tiếng Anh, mục tiêu 9+' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.122130
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 243 | Using index condition; Using where; 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.000220
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 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, 10
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, 4
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, 32
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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 11302)
ORDER BY RAND()
LIMIT 5
Run Time: 0.009733
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 6408 | 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 (8191, 5641, 7891, 1353, 7498))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000731
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, 161
Run Time: 0.000207
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, 111
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 16
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, 7
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 11302)
Run Time: 0.010718
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 7212 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 40d58ffd87ab53b76c6a132c1b907cca, , 1611012290
Run Time: 0.000271
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=11302, 1611008690,
Run Time: 0.000178
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.000777
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.000280
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 4 | 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.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 | |
SELECT adv.*
FROM xf_advertisement AS adv
WHERE (adv.active = 1) AND (adv.positive = 3)
Run Time: 0.000230
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 4 | 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.000187
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |