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.001132
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.000243
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.000621
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: 6965
Run Time: 0.000453
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: 59
Run Time: 0.000548
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: 6965
Run Time: 0.001093
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: 6965
Run Time: 0.000183
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 6965, 0
Run Time: 0.619851
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 < 1566299183)) AND (thread.thread_id <> 6965)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000574
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, 39
Run Time: 0.000228
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, 133
Run Time: 0.000223
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.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.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1566299183)) AND (thread.thread_id <> 6965)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.000490
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 5283 | 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, 57
Run Time: 0.000227
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.000231
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 <> 6965)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000396
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.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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 6965 AND user_id = 0)
Params: 1611009346, a:3:{s:12:"olderThreads";a:5:{i:6964;a:22:{s:9:"thread_id";i:6964;s:7:"node_id";i:59;s:5:"title";s:101:"(College Test Preparation) Princeton Review-Math and Science Workout for the ACT — Princeton Review";s:11:"reply_count";i:0;s:10:"view_count";i:81;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566299118;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:7847;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566299118;s:12:"last_post_id";i:7847;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:562:"a:8:{i:1352;a:2:{s:3:"tag";s:4:"2015";s:7:"tag_url";s:4:"2015";}i:3218;a:2:{s:3:"tag";s:15:"ac quy nam kinh";s:7:"tag_url";s:15:"ac-quy-nam-kinh";}i:1099;a:2:{s:3:"tag";s:3:"act";s:7:"tag_url";s:3:"act";}i:5551;a:2:{s:3:"tag";s:24:"college test preparation";s:7:"tag_url";s:24:"college-test-preparation";}i:2895;a:2:{s:3:"tag";s:4:"math";s:7:"tag_url";s:4:"math";}i:298;a:2:{s:3:"tag";s:9:"princeton";s:7:"tag_url";s:9:"princeton";}i:312;a:2:{s:3:"tag";s:7:"science";s:7:"tag_url";s:7:"science";}i:1248;a:2:{s:3:"tag";s:7:"workout";s:7:"tag_url";s:7:"workout";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6963;a:22:{s:9:"thread_id";i:6963;s:7:"node_id";i:39;s:5:"title";s:143:"Cài đặt dữ liệu cờ tướng cbl vào phần mềm cờ tướng trên điện thoại di động trên Iphone 中国象棋 của cnvc";s:11:"reply_count";i:0;s:10:"view_count";i:249;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566298900;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:7846;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566298900;s:12:"last_post_id";i:7846;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:0;s:4:"tags";s:124:"a:2:{i:5549;a:2:{s:3:"tag";s:3:"cbl";s:7:"tag_url";s:3:"cbl";}i:5550;a:2:{s:3:"tag";s:5:"cnvcs";s:7:"tag_url";s:5:"cnvcs";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6962;a:22:{s:9:"thread_id";i:6962;s:7:"node_id";i:133;s:5:"title";s:43:"BỒI DƯỠNG HSG TIẾNG ANH TIỂU HỌC";s:11:"reply_count";i:0;s:10:"view_count";i:126;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566294960;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:7845;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566294960;s:12:"last_post_id";i:7845;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:199:"a:3:{i:1954;a:2:{s:3:"tag";s:9:"boi duong";s:7:"tag_url";s:9:"boi-duong";}i:2483;a:2:{s:3:"tag";s:3:"hsg";s:7:"tag_url";s:3:"hsg";}i:5338;a:2:{s:3:"tag";s:8:"tieu hoc";s:7:"tag_url";s:8:"tieu-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6961;a:22:{s:9:"thread_id";i:6961;s:7:"node_id";i:7;s:5:"title";s:62:"Luyện dịch Việt anh qua những mẫu câu thông dụng";s:11:"reply_count";i:0;s:10:"view_count";i:98;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566293291;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:7844;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566293291;s:12:"last_post_id";i:7844;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:145:"a:2:{i:5548;a:2:{s:3:"tag";s:10:"luyen dich";s:7:"tag_url";s:10:"luyen-dich";}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;}i:6960;a:22:{s:9:"thread_id";i:6960;s:7:"node_id";i:7;s:5:"title";s:52:"Luyện dịch Việt Anh (Minh Thu - Nguyễn Hòa)";s:11:"reply_count";i:0;s:10:"view_count";i:98;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566293217;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:7843;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566293217;s:12:"last_post_id";i:7843;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:145:"a:2:{i:230;a:2:{s:3:"tag";s:8:"anh viet";s:7:"tag_url";s:8:"anh-viet";}i:5548;a:2:{s:3:"tag";s:10:"luyen dich";s:7:"tag_url";s:10:"luyen-dich";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:6966;a:22:{s:9:"thread_id";i:6966;s:7:"node_id";i:59;s:5:"title";s:57:"Barrons SAT subject Test Biology E/M (SAT II Barrons Bio)";s:11:"reply_count";i:0;s:10:"view_count";i:92;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566299399;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:7849;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566299399;s:12:"last_post_id";i:7849;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:264:"a:4:{i:730;a:2:{s:3:"tag";s:7:"barrons";s:7:"tag_url";s:7:"barrons";}i:5458;a:2:{s:3:"tag";s:11:"biology e/m";s:7:"tag_url";s:10:"biology-em";}i:1098;a:2:{s:3:"tag";s:3:"sat";s:7:"tag_url";s:3:"sat";}i:5495;a:2:{s:3:"tag";s:6:"sat ii";s:7:"tag_url";s:6:"sat-ii";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6967;a:22:{s:9:"thread_id";i:6967;s:7:"node_id";i:59;s:5:"title";s:56:"SAT subject test Chemistry | SAT II Barrons Chem 11th Ed";s:11:"reply_count";i:0;s:10:"view_count";i:105;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566299586;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:7850;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566299586;s:12:"last_post_id";i:7850;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:264:"a:4:{i:730;a:2:{s:3:"tag";s:7:"barrons";s:7:"tag_url";s:7:"barrons";}i:2237;a:2:{s:3:"tag";s:9:"chemistry";s:7:"tag_url";s:9:"chemistry";}i:453;a:2:{s:3:"tag";s:6:"sa dec";s:7:"tag_url";s:6:"sa-dec";}i:5495;a:2:{s:3:"tag";s:6:"sat ii";s:7:"tag_url";s:6:"sat-ii";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6968;a:22:{s:9:"thread_id";i:6968;s:7:"node_id";i:57;s:5:"title";s:37:"3000 hoành phi câu đối hán nôm";s:11:"reply_count";i:0;s:10:"view_count";i:110;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566300904;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:7851;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566300904;s:12:"last_post_id";i:7851;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:293:"a:4:{i:5552;a:2:{s:3:"tag";s:4:"3000";s:7:"tag_url";s:4:"3000";}i:5554;a:2:{s:3:"tag";s:7:"cau doi";s:7:"tag_url";s:7:"cau-doi";}i:5553;a:2:{s:3:"tag";s:9:"hoanh phi";s:7:"tag_url";s:9:"hoanh-phi";}i:520;a:2:{s:3:"tag";s:21:"nxb van hoa thong tin";s:7:"tag_url";s:21:"nxb-van-hoa-thong-tin";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6969;a:22:{s:9:"thread_id";i:6969;s:7:"node_id";i:57;s:5:"title";s:37:"5000 Hoành Phi câu đối Hán Nôm";s:11:"reply_count";i:0;s:10:"view_count";i:109;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566301002;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:7852;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566301002;s:12:"last_post_id";i:7852;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:263:"a:4:{i:2774;a:2:{s:3:"tag";s:4:"5000";s:7:"tag_url";s:4:"5000";}i:5554;a:2:{s:3:"tag";s:7:"cau doi";s:7:"tag_url";s:7:"cau-doi";}i:996;a:2:{s:3:"tag";s:7:"han nom";s:7:"tag_url";s:7:"han-nom";}i:5553;a:2:{s:3:"tag";s:9:"hoanh phi";s:7:"tag_url";s:9:"hoanh-phi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6970;a:22:{s:9:"thread_id";i:6970;s:7:"node_id";i:26;s:5:"title";s:68:"Chữ nghĩa truyện Kiều - Lê Văn Hòe | Quốc Học Thư Xã";s:11:"reply_count";i:0;s:10:"view_count";i:103;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566301160;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:7853;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566301160;s:12:"last_post_id";i:7853;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:221:"a:3:{i:575;a:2:{s:3:"tag";s:4:"1952";s:7:"tag_url";s:4:"1952";}i:4166;a:2:{s:3:"tag";s:15:"quoc hoc thu xa";s:7:"tag_url";s:15:"quoc-hoc-thu-xa";}i:249;a:2:{s:3:"tag";s:11:"truyen kieu";s:7:"tag_url";s:11:"truyen-kieu";}}";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.319276
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Cracking the ACT with 3 Practice Tests, 2014 Edition - The Princeton Review' 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 <> 6965)
AND MATCH(search_index.title) AGAINST ('Cracking the ACT with 3 Practice Tests, 2014 Edition - The Princeton Review' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.114972
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, 10
Run Time: 0.000227
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.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, 19
Run Time: 0.000230
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.000217
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 <> 6965)
ORDER BY RAND()
LIMIT 5
Run Time: 0.010813
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 7564 | 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 (1243, 9889, 4339, 12603, 4129))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000842
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, 159
Run Time: 0.000231
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.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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 6965)
Run Time: 0.009860
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: 8d6d725823717946ca00538bd139ec01, , 1611012946
Run Time: 0.000300
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=6965, 1611009346,
Run Time: 0.000189
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'BRETI_message_below', 'thread_view', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 3, 2
Run Time: 0.000722
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.000285
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.000255
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.000233
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.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |