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.001001
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.000273
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.000619
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 33 | |
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: 11389
Run Time: 0.000501
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: 30
Run Time: 0.000584
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: 11389
Run Time: 0.001271
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: 11389
Run Time: 0.000291
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 11389, 0
Run Time: 0.699822
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 12474 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1602949000)) AND (thread.thread_id <> 11389)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000681
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1602949000)) AND (thread.thread_id <> 11389)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.000517
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 1350 | 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 <> 11389)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000323
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, 95
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, 142
Run Time: 0.000273
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, 202
Run Time: 0.000242
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, 185
Run Time: 0.000271
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 = 11389 AND user_id = 0)
Params: 1611404259, a:3:{s:12:"olderThreads";a:5:{i:11388;a:22:{s:9:"thread_id";i:11388;s:7:"node_id";i:30;s:5:"title";s:54:"Nói chuyện bằng tiếng Anh mọi lúc mọi nơi";s:11:"reply_count";i:0;s:10:"view_count";i:41;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602948757;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:12609;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602948757;s:12:"last_post_id";i:12609;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:199:"a:3:{i:6756;a:2:{s:3:"tag";s:9:"luyen noi";s:7:"tag_url";s:9:"luyen-noi";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11387;a:22:{s:9:"thread_id";i:11387;s:7:"node_id";i:30;s:5:"title";s:80:"Luyện nói tiếng Trung Quốc cấp tốc - Trình độ sơ cấp - Tập 2";s:11:"reply_count";i:0;s:10:"view_count";i:33;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602948648;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:12608;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602948648;s:12:"last_post_id";i:12608;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:201:"a:3:{i:7707;a:2:{s:3:"tag";s:7:"cap toc";s:7:"tag_url";s:7:"cap-toc";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:231;a:2:{s:3:"tag";s:11:"tieng trung";s:7:"tag_url";s:11:"tieng-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11386;a:22:{s:9:"thread_id";i:11386;s:7:"node_id";i:30;s:5:"title";s:81:"Luyện nói tiếng Trung Quốc cấp tốc cho người bắt đầu - Tập 2";s:11:"reply_count";i:0;s:10:"view_count";i:33;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602948414;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:12607;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602948414;s:12:"last_post_id";i:12607;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:291:"a:4:{i:6756;a:2:{s:3:"tag";s:9:"luyen noi";s:7:"tag_url";s:9:"luyen-noi";}i:2724;a:2:{s:3:"tag";s:11:"moi bat dau";s:7:"tag_url";s:11:"moi-bat-dau";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:2681;a:2:{s:3:"tag";s:16:"tieng trung quoc";s:7:"tag_url";s:16:"tieng-trung-quoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11385;a:22:{s:9:"thread_id";i:11385;s:7:"node_id";i:30;s:5:"title";s:81:"Luyện nói tiếng Trung Quốc cấp tốc cho người bắt đầu - Tập 1";s:11:"reply_count";i:0;s:10:"view_count";i:25;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602948318;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:12606;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602948318;s:12:"last_post_id";i:12606;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:276:"a:4:{i:7707;a:2:{s:3:"tag";s:7:"cap toc";s:7:"tag_url";s:7:"cap-toc";}i:2724;a:2:{s:3:"tag";s:11:"moi bat dau";s:7:"tag_url";s:11:"moi-bat-dau";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:231;a:2:{s:3:"tag";s:11:"tieng trung";s:7:"tag_url";s:11:"tieng-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11384;a:22:{s:9:"thread_id";i:11384;s:7:"node_id";i:30;s:5:"title";s:55:"Tiếng Hàn dành cho khách du lịch hâm mộ K-POP";s:11:"reply_count";i:0;s:10:"view_count";i:29;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602948224;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:12605;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602948224;s:12:"last_post_id";i:12605;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:252:"a:4:{i:7865;a:2:{s:3:"tag";s:5:"korea";s:7:"tag_url";s:5:"korea";}i:10014;a:2:{s:3:"tag";s:4:"kpop";s:7:"tag_url";s:4:"kpop";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:3155;a:2:{s:3:"tag";s:9:"tieng han";s:7:"tag_url";s:9:"tieng-han";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:11390;a:22:{s:9:"thread_id";i:11390;s:7:"node_id";i:30;s:5:"title";s:50:"Audio Quick English - Nói tiếng Anh cấp tốc";s:11:"reply_count";i:0;s:10:"view_count";i:32;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602949083;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:12611;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602949083;s:12:"last_post_id";i:12611;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:207:"a:3:{i:7707;a:2:{s:3:"tag";s:7:"cap toc";s:7:"tag_url";s:7:"cap-toc";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:10016;a:2:{s:3:"tag";s:13:"quick english";s:7:"tag_url";s:13:"quick-english";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11391;a:22:{s:9:"thread_id";i:11391;s:7:"node_id";i:30;s:5:"title";s:75:"Audio Sử dụng tiếng Anh hiệu quả qua 15 chủ đề thông dụng";s:11:"reply_count";i:0;s:10:"view_count";i:33;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602949198;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:12612;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602949198;s:12:"last_post_id";i:12612;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:130:"a:2:{i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11392;a:22:{s:9:"thread_id";i:11392;s:7:"node_id";i:30;s:5:"title";s:84:"Sổ tay 700 câu tiếng Anh từ lúc thức giấc đến khi đi ngủ audio mp3";s:11:"reply_count";i:0;s:10:"view_count";i:36;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602949282;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:12613;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602949282;s:12:"last_post_id";i:12613;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:250:"a:4:{i:6337;a:2:{s:3:"tag";s:3:"700";s:7:"tag_url";s:3:"700";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:1796;a:2:{s:3:"tag";s:6:"so tay";s:7:"tag_url";s:6:"so-tay";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11393;a:22:{s:9:"thread_id";i:11393;s:7:"node_id";i:30;s:5:"title";s:45:"Sổ tay học tiếng Anh bằng hình ảnh";s:11:"reply_count";i:0;s:10:"view_count";i:35;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602949462;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:12614;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602949462;s:12:"last_post_id";i:12614;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:266:"a:4:{i:3766;a:2:{s:3:"tag";s:10:"le huy lam";s:7:"tag_url";s:10:"le-huy-lam";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:1796;a:2:{s:3:"tag";s:6:"so tay";s:7:"tag_url";s:6:"so-tay";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11394;a:22:{s:9:"thread_id";i:11394;s:7:"node_id";i:30;s:5:"title";s:77:"Sổ tay từ vựng tiếng Anh từ lúc thức giấc đến khi đi ngủ";s:11:"reply_count";i:0;s:10:"view_count";i:36;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1602949608;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:12615;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602949608;s:12:"last_post_id";i:12615;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:21;s:4:"tags";s:257:"a:4:{i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:1796;a:2:{s:3:"tag";s:6:"so tay";s:7:"tag_url";s:6:"so-tay";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:819;a:2:{s:3:"tag";s:7:"tu vung";s:7:"tag_url";s:7:"tu-vung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:12778;a:22:{s:9:"thread_id";i:12778;s:7:"node_id";i:95;s:5:"title";s:32:"tuyen tap de thi mon toan chuyen";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611327659;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:14031;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611327659;s:12:"last_post_id";i:14031;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12777;a:22:{s:9:"thread_id";i:12777;s:7:"node_id";i:95;s:5:"title";s:18:"Tu dien y bo tap 2";s:11:"reply_count";i:0;s:10:"view_count";i:3;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611327614;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:14030;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611327614;s:12:"last_post_id";i:14030;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12776;a:22:{s:9:"thread_id";i:12776;s:7:"node_id";i:142;s:5:"title";s:62:"International Lower secondary Science Workbook 3, Ho Peck Leng";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:1611303907;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:14029;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611303907;s:12:"last_post_id";i:14029;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:297:"a:4:{i:9726;a:2:{s:3:"tag";s:12:"ho peck leng";s:7:"tag_url";s:12:"ho-peck-leng";}i:10501;a:2:{s:3:"tag";s:15:"lower secondary";s:7:"tag_url";s:15:"lower-secondary";}i:312;a:2:{s:3:"tag";s:7:"science";s:7:"tag_url";s:7:"science";}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:12775;a:22:{s:9:"thread_id";i:12775;s:7:"node_id";i:202;s:5:"title";s:57:"Financial Risk Management for dummies, Wiley, Aaron Brown";s:11:"reply_count";i:0;s:10:"view_count";i:10;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611245292;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:14028;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611245292;s:12:"last_post_id";i:14028;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:11097;a:2:{s:3:"tag";s:11:"aaron brown";s:7:"tag_url";s:11:"aaron-brown";}i:1244;a:2:{s:3:"tag";s:7:"dummies";s:7:"tag_url";s:7:"dummies";}i:792;a:2:{s:3:"tag";s:3:"frm";s:7:"tag_url";s:3:"frm";}i:1513;a:2:{s:3:"tag";s:5:"wiley";s:7:"tag_url";s:5:"wiley";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12774;a:22:{s:9:"thread_id";i:12774;s:7:"node_id";i:185;s:5:"title";s:74:"CFA level 1 Schweser's QuickSheet, Critical Concepts for the 2020 CFA Exam";s:11:"reply_count";i:0;s:10:"view_count";i:16;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611244629;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:14027;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611244629;s:12:"last_post_id";i:14027;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:344:"a:5:{i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:6671;a:2:{s:3:"tag";s:8:"cfa 2020";s:7:"tag_url";s:8:"cfa-2020";}i:11096;a:2:{s:3:"tag";s:8:"cfa exam";s:7:"tag_url";s:8:"cfa-exam";}i:6672;a:2:{s:3:"tag";s:11:"cfa level 1";s:7:"tag_url";s:11:"cfa-level-1";}i:957;a:2:{s:3:"tag";s:10:"quicksheet";s:7:"tag_url";s:10:"quicksheet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 1.598792
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Audio mp3 Nói tiếng Anh như người Mỹ' 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 <> 11389)
AND MATCH(search_index.title) AGAINST ('Audio mp3 Nói tiếng Anh như người Mỹ' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.148744
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 244 | 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, 36
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, 32
Run Time: 0.000221
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.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, 43
Run Time: 0.000238
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.000179
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 <> 11389)
ORDER BY RAND()
LIMIT 5
Run Time: 0.010218
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 6440 | 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 (407, 12530, 8278, 2194, 819))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000785
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, 64
Run Time: 0.000196
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 99
Run Time: 0.000252
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.000234
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 = 11389)
Run Time: 0.010598
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: b799506aa2613b879f01304c991e9cfd, , 1611407859
Run Time: 0.000229
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=11389, 1611404259,
Run Time: 0.000284
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.000814
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.000287
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.000300
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.000300
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.000186
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |