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.000688
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.000212
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.005893
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10772 | |
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: 7545
Run Time: 0.000449
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.000550
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: 7545
Run Time: 0.002976
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: 7545
Run Time: 0.000218
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 7545, 0
Run Time: 0.651879
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24897 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1569760942)) AND (thread.thread_id <> 7545)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001011
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 12061 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 17
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, 26
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, 76
Run Time: 0.000180
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 > 1569760942)) AND (thread.thread_id <> 7545)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.001598
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 12061 | 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, 40
Run Time: 0.000178
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, 118
Run Time: 0.000193
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, 60
Run Time: 0.000191
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 <> 7545)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000341
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, 364
Run Time: 0.000175
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 381
Run Time: 0.000173
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 = 7545 AND user_id = 0)
Params: 1713418521, a:3:{s:12:"olderThreads";a:5:{i:7507;a:22:{s:9:"thread_id";i:7507;s:7:"node_id";i:17;s:5:"title";s:126:"Giáo Trình Xử Lý Nước Thải Sinh Hoạt Và Công Nghiệp Bằng Phương Pháp Sinh Học (PGS.TS. Nguyễn Văn Ph";s:11:"reply_count";i:0;s:10:"view_count";i:1042;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569670523;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:8418;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569670523;s:12:"last_post_id";i:8418;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:4:{i:6057;a:2:{s:3:"tag";s:16:"nguyen van phuoc";s:7:"tag_url";s:16:"nguyen-van-phuoc";}i:6054;a:2:{s:3:"tag";s:9:"nuoc thai";s:7:"tag_url";s:9:"nuoc-thai";}i:6055;a:2:{s:3:"tag";s:19:"nuoc thai sinh hoat";s:7:"tag_url";s:19:"nuoc-thai-sinh-hoat";}i:6056;a:2:{s:3:"tag";s:20:"phuong phap sinh hoc";s:7:"tag_url";s:20:"phuong-phap-sinh-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7506;a:22:{s:9:"thread_id";i:7506;s:7:"node_id";i:26;s:5:"title";s:16:"La Sơn Phu Tử";s:11:"reply_count";i:0;s:10:"view_count";i:836;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569669554;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:8417;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569669554;s:12:"last_post_id";i:8417;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7505;a:22:{s:9:"thread_id";i:7505;s:7:"node_id";i:26;s:5:"title";s:124:"Lý Thường Kiệt - quyển 2 Hoàng Xuân Hãn Sông Nhị xuất bản, 1950. Trang bìa: hình vẽ Vương An Thạch";s:11:"reply_count";i:0;s:10:"view_count";i:744;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569669353;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:8416;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569669353;s:12:"last_post_id";i:8416;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:375:"a:5:{i:1417;a:2:{s:3:"tag";s:4:"1950";s:7:"tag_url";s:4:"1950";}i:1673;a:2:{s:3:"tag";s:14:"hoang xuan han";s:7:"tag_url";s:14:"hoang-xuan-han";}i:5567;a:2:{s:3:"tag";s:14:"ly thuong kiet";s:7:"tag_url";s:14:"ly-thuong-kiet";}i:6053;a:2:{s:3:"tag";s:8:"song nhi";s:7:"tag_url";s:8:"song-nhi";}i:3521;a:2:{s:3:"tag";s:14:"vuong an thach";s:7:"tag_url";s:14:"vuong-an-thach";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7504;a:22:{s:9:"thread_id";i:7504;s:7:"node_id";i:26;s:5:"title";s:92:"Lý Thường Kiệt - quyển 1 Hoàng Xuân Hãn Sông Nhị xuất bản, Hà Nội, 1949";s:11:"reply_count";i:0;s:10:"view_count";i:768;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569669287;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:8415;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569669287;s:12:"last_post_id";i:8415;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:294:"a:4:{i:3430;a:2:{s:3:"tag";s:4:"1949";s:7:"tag_url";s:4:"1949";}i:1673;a:2:{s:3:"tag";s:14:"hoang xuan han";s:7:"tag_url";s:14:"hoang-xuan-han";}i:5567;a:2:{s:3:"tag";s:14:"ly thuong kiet";s:7:"tag_url";s:14:"ly-thuong-kiet";}i:6053;a:2:{s:3:"tag";s:8:"song nhi";s:7:"tag_url";s:8:"song-nhi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7502;a:22:{s:9:"thread_id";i:7502;s:7:"node_id";i:76;s:5:"title";s:70:"Teaching thinking skills with picture books: Grades K-3| Nancy Polette";s:11:"reply_count";i:0;s:10:"view_count";i:620;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569638119;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:8412;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569638119;s:12:"last_post_id";i:8412;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:158:"a:2:{i:6048;a:2:{s:3:"tag";s:10:"grades k-3";s:7:"tag_url";s:10:"grades-k-3";}i:6047;a:2:{s:3:"tag";s:13:"nancy polette";s:7:"tag_url";s:13:"nancy-polette";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:7546;a:22:{s:9:"thread_id";i:7546;s:7:"node_id";i:40;s:5:"title";s:4:"zlib";s:11:"reply_count";i:5;s:10:"view_count";i:7;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569762297;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:8457;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1585112103;s:12:"last_post_id";i:10487;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:7547;a:22:{s:9:"thread_id";i:7547;s:7:"node_id";i:118;s:5:"title";s:35:"Danh sách thành viên có điểm";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:9;s:8:"username";s:3:"jqk";s:9:"post_date";i:1569766326;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:8458;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569766326;s:12:"last_post_id";i:8458;s:17:"last_post_user_id";i:9;s:18:"last_post_username";s:3:"jqk";s:9:"prefix_id";i:0;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7548;a:22:{s:9:"thread_id";i:7548;s:7:"node_id";i:118;s:5:"title";s:42:"Danh sách thành viên có điểm test 1";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:9;s:8:"username";s:3:"jqk";s:9:"post_date";i:1569766427;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:8459;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569766427;s:12:"last_post_id";i:8459;s:17:"last_post_user_id";i:9;s:18:"last_post_username";s:3:"jqk";s:9:"prefix_id";i:0;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7549;a:22:{s:9:"thread_id";i:7549;s:7:"node_id";i:26;s:5:"title";s:51:"Nam bắc tranh hùng | Yên Sơn Xuất Bản 1953";s:11:"reply_count";i:0;s:10:"view_count";i:702;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569928605;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:8460;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569928605;s:12:"last_post_id";i:8460;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:130:"a:2:{i:3428;a:2:{s:3:"tag";s:4:"1953";s:7:"tag_url";s:4:"1953";}i:6059;a:2:{s:3:"tag";s:7:"yen son";s:7:"tag_url";s:7:"yen-son";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7550;a:22:{s:9:"thread_id";i:7550;s:7:"node_id";i:60;s:5:"title";s:86:"Gmat official guide quantitative 2019 (300 quatitative questions unique to this quide)";s:11:"reply_count";i:0;s:10:"view_count";i:821;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1569930353;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:8461;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1569930353;s:12:"last_post_id";i:8461;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:350:"a:5:{i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:633;a:2:{s:3:"tag";s:4:"gmat";s:7:"tag_url";s:4:"gmat";}i:6060;a:2:{s:3:"tag";s:9:"gmat 2019";s:7:"tag_url";s:9:"gmat-2019";}i:1240;a:2:{s:3:"tag";s:14:"official guide";s:7:"tag_url";s:14:"official-guide";}i:1241;a:2:{s:3:"tag";s:12:"quantitative";s:7:"tag_url";s:12:"quantitative";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25369;a:22:{s:9:"thread_id";i:25369;s:7:"node_id";i:364;s:5:"title";s:99:"Cambridge International A Level, Information Technology Student Book, Brian Gillinder, Brian Sargen";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713345026;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:30305;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713345026;s:12:"last_post_id";i:30305;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:519:"a:6:{i:16031;a:2:{s:3:"tag";s:7:"a level";s:7:"tag_url";s:7:"a-level";}i:22049;a:2:{s:3:"tag";s:15:"brian gillinder";s:7:"tag_url";s:15:"brian-gillinder";}i:11417;a:2:{s:3:"tag";s:13:"brian sargent";s:7:"tag_url";s:13:"brian-sargent";}i:12598;a:2:{s:3:"tag";s:23:"cambridge international";s:7:"tag_url";s:23:"cambridge-international";}i:5774;a:2:{s:3:"tag";s:16:"hodder education";s:7:"tag_url";s:16:"hodder-education";}i:21365;a:2:{s:3:"tag";s:22:"information technology";s:7:"tag_url";s:22:"information-technology";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25368;a:22:{s:9:"thread_id";i:25368;s:7:"node_id";i:381;s:5:"title";s:57:"Look and See 3 Student book + Mp3 + Videos, Susannah Reed";s:11:"reply_count";i:0;s:10:"view_count";i:31;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1713272080;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:30304;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713272080;s:12:"last_post_id";i:30304;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:246:"a:3:{i:20068;a:2:{s:3:"tag";s:12:"look and see";s:7:"tag_url";s:12:"look-and-see";}i:20072;a:2:{s:3:"tag";s:14:"look and see 3";s:7:"tag_url";s:14:"look-and-see-3";}i:20070;a:2:{s:3:"tag";s:13:"susannah reed";s:7:"tag_url";s:13:"susannah-reed";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25367;a:22:{s:9:"thread_id";i:25367;s:7:"node_id";i:381;s:5:"title";s:28:"Look and See 3 Activity Book";s:11:"reply_count";i:0;s:10:"view_count";i:27;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1713271861;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:30303;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713271861;s:12:"last_post_id";i:30303;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:245:"a:3:{i:3112;a:2:{s:3:"tag";s:13:"activity book";s:7:"tag_url";s:13:"activity-book";}i:20068;a:2:{s:3:"tag";s:12:"look and see";s:7:"tag_url";s:12:"look-and-see";}i:20072;a:2:{s:3:"tag";s:14:"look and see 3";s:7:"tag_url";s:14:"look-and-see-3";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25366;a:22:{s:9:"thread_id";i:25366;s:7:"node_id";i:381;s:5:"title";s:42:"Look and See 2 TEacher's Book + Assessment";s:11:"reply_count";i:0;s:10:"view_count";i:26;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1713271178;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:30302;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713271178;s:12:"last_post_id";i:30302;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:246:"a:3:{i:20068;a:2:{s:3:"tag";s:12:"look and see";s:7:"tag_url";s:12:"look-and-see";}i:20071;a:2:{s:3:"tag";s:14:"look and see 2";s:7:"tag_url";s:14:"look-and-see-2";}i:5431;a:2:{s:3:"tag";s:14:"teacher's book";s:7:"tag_url";s:13:"teachers-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25365;a:22:{s:9:"thread_id";i:25365;s:7:"node_id";i:381;s:5:"title";s:57:"Look and See 2 Student book + Mp3 + Videos, Susannah Reed";s:11:"reply_count";i:0;s:10:"view_count";i:27;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1713270887;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:30301;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713270887;s:12:"last_post_id";i:30301;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:246:"a:3:{i:20068;a:2:{s:3:"tag";s:12:"look and see";s:7:"tag_url";s:12:"look-and-see";}i:20071;a:2:{s:3:"tag";s:14:"look and see 2";s:7:"tag_url";s:14:"look-and-see-2";}i:20070;a:2:{s:3:"tag";s:13:"susannah reed";s:7:"tag_url";s:13:"susannah-reed";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.763294
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('English explorer 4 Class Audio 2 cd | Cengage Learning | David A. Hill' 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 <> 7545)
AND MATCH(search_index.title) AGAINST ('English explorer 4 Class Audio 2 cd | Cengage Learning | David A. Hill' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.199934
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, 10
Run Time: 0.000210
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.000115
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.000103
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, 42
Run Time: 0.000098
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 <> 7545)
ORDER BY RAND()
LIMIT 5
Run Time: 0.014697
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 24122 | 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 (14695, 5683, 20465, 2137, 20946))
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 | 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, 56
Run Time: 0.000161
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, 203
Run Time: 0.000171
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, 129
Run Time: 0.000156
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, 28
Run Time: 0.000115
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 36
Run Time: 0.000098
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 = 7545)
Run Time: 0.020189
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25444 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 3c87550dea16bdf3cb441d1f8509c45b, , 1713422121
Run Time: 0.000202
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=7545, 1713418521,
Run Time: 0.000098
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.000501
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.000260
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.000176
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.000245
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.000138
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |