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.000791
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.000284
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.011955
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10776 | |
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: 5266
Run Time: 0.000873
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: 7
Run Time: 0.000611
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: 5266
Run Time: 0.003137
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: 5266
Run Time: 0.000183
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 5266, 0
Run Time: 0.441338
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 < 1546963377)) AND (thread.thread_id <> 5266)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000727
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 4984 | Using where |
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.000353
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.000250
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.000259
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 18
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1546963377)) AND (thread.thread_id <> 5266)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.007640
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, 56
Run Time: 0.000248
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.000205
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 <> 5266)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000393
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.000243
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 381
Run Time: 0.000188
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 = 5266 AND user_id = 0)
Params: 1713442736, a:3:{s:12:"olderThreads";a:5:{i:5265;a:22:{s:9:"thread_id";i:5265;s:7:"node_id";i:7;s:5:"title";s:53:"Sample Candidate Speaking Tests and Examiner Comments";s:11:"reply_count";i:0;s:10:"view_count";i:679;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546963271;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:5943;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546963271;s:12:"last_post_id";i:5943;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:18;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5264;a:22:{s:9:"thread_id";i:5264;s:7:"node_id";i:133;s:5:"title";s:72:"Bồi dưỡng tiếng anh lớp 4 cơ bản và nâng cao tập 1 và 2";s:11:"reply_count";i:0;s:10:"view_count";i:1189;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546944916;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:5942;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546944916;s:12:"last_post_id";i:5942;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:211:"a:3:{i:1954;a:2:{s:3:"tag";s:9:"boi duong";s:7:"tag_url";s:9:"boi-duong";}i:4556;a:2:{s:3:"tag";s:5:"lop 4";s:7:"tag_url";s:5:"lop-4";}i:4740;a:2:{s:3:"tag";s:11:"tieng anh 4";s:7:"tag_url";s:11:"tieng-anh-4";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5263;a:22:{s:9:"thread_id";i:5263;s:7:"node_id";i:32;s:5:"title";s:89:"CẦN BÁN ( INBOX TRƯC TIẾP) TRIẾT HỌC NHẬP MÔN - TRẦN THÁI ĐỈNH IN 1961";s:11:"reply_count";i:0;s:10:"view_count";i:995;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546939676;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:5940;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546939676;s:12:"last_post_id";i:5940;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:5262;a:22:{s:9:"thread_id";i:5262;s:7:"node_id";i:27;s:5:"title";s:76:"Chiết xuất gừng và mật ong mạnh gấp 5 lần thuốc kháng sinh";s:11:"reply_count";i:0;s:10:"view_count";i:747;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546939586;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:5939;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546939586;s:12:"last_post_id";i:5939;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:10;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5260;a:22:{s:9:"thread_id";i:5260;s:7:"node_id";i:18;s:5:"title";s:39:"MCAT General Chemistry Review 2019-2020";s:11:"reply_count";i:0;s:10:"view_count";i:972;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546888718;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:5937;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546888718;s:12:"last_post_id";i:5937;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:183:"a:3:{i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:4174;a:2:{s:3:"tag";s:4:"2020";s:7:"tag_url";s:4:"2020";}i:4733;a:2:{s:3:"tag";s:4:"mcat";s:7:"tag_url";s:4:"mcat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:5267;a:22:{s:9:"thread_id";i:5267;s:7:"node_id";i:7;s:5:"title";s:39:"Business English - Formal Email Writing";s:11:"reply_count";i:0;s:10:"view_count";i:1051;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546963456;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:5945;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546963456;s:12:"last_post_id";i:5945;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:18;s:4:"tags";s:91:"a:1:{i:2664;a:2:{s:3:"tag";s:16:"business english";s:7:"tag_url";s:16:"business-english";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5268;a:22:{s:9:"thread_id";i:5268;s:7:"node_id";i:56;s:5:"title";s:25:"Ways of the IELTS Winners";s:11:"reply_count";i:0;s:10:"view_count";i:811;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546963554;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:5946;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546963554;s:12:"last_post_id";i:5946;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:12;s:4:"tags";s:65:"a:1:{i:90;a:2:{s:3:"tag";s:5:"ielts";s:7:"tag_url";s:5:"ielts";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5269;a:22:{s:9:"thread_id";i:5269;s:7:"node_id";i:7;s:5:"title";s:62:"English for Business Studies in Higher Education (Course Book)";s:11:"reply_count";i:0;s:10:"view_count";i:973;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546963598;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:5947;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546963598;s:12:"last_post_id";i:5947;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:135:"a:2:{i:942;a:2:{s:3:"tag";s:8:"business";s:7:"tag_url";s:8:"business";}i:87;a:2:{s:3:"tag";s:7:"english";s:7:"tag_url";s:7:"english";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5270;a:22:{s:9:"thread_id";i:5270;s:7:"node_id";i:7;s:5:"title";s:43:"50 Steps to Improving Your Academic Writing";s:11:"reply_count";i:0;s:10:"view_count";i:896;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546963704;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:5948;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546963704;s:12:"last_post_id";i:5948;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:220:"a:3:{i:4743;a:2:{s:3:"tag";s:12:"chris sowton";s:7:"tag_url";s:12:"chris-sowton";}i:4742;a:2:{s:3:"tag";s:10:"study book";s:7:"tag_url";s:10:"study-book";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5271;a:22:{s:9:"thread_id";i:5271;s:7:"node_id";i:76;s:5:"title";s:48:"Teaching English as a Second or Foreign Language";s:11:"reply_count";i:0;s:10:"view_count";i:917;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1546963773;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:5949;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1546963773;s:12:"last_post_id";i:5949;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:182:"a:2:{i:4450;a:2:{s:3:"tag";s:28:"national geographic learning";s:7:"tag_url";s:28:"national-geographic-learning";}i:1215;a:2:{s:3:"tag";s:8:"teaching";s:7:"tag_url";s:8:"teaching";}}";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:28;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.783769
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Business English - Customer Service over the Phone' 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 <> 5266)
AND MATCH(search_index.title) AGAINST ('Business English - Customer Service over the Phone' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.201468
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, 43
Run Time: 0.000251
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 <> 5266)
ORDER BY RAND()
LIMIT 5
Run Time: 0.020016
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 (19717, 8614, 23216, 18097, 19333))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001854
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, 369
Run Time: 0.000239
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, 255
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, 214
Run Time: 0.000142
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, 230
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, 19
Run Time: 0.000164
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 = 5266)
Run Time: 0.025001
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: 39bcb478a331a4597b0a8c2dc96b050e, , 1713446336
Run Time: 0.000296
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=5266, 1713442736,
Run Time: 0.000162
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.001041
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.000443
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.000413
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.000361
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.000226
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |