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.000794
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.000216
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.005432
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10610 | |
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: 675
Run Time: 0.000423
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: 18
Run Time: 0.000468
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: 675
Run Time: 0.002818
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: 675
Run Time: 0.000134
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 675, 0
Run Time: 0.579757
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24750 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1527329386)) AND (thread.thread_id <> 675)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000521
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 629 | 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.000219
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.000176
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, 23
Run Time: 0.000169
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 > 1527329386)) AND (thread.thread_id <> 675)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.000396
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11572 | 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, 43
Run Time: 0.000162
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.000143
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 <> 675)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000325
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, 222
Run Time: 0.000147
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, 51
Run Time: 0.000153
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, 156
Run Time: 0.000132
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 = 675 AND user_id = 0)
Params: 1711689760, a:3:{s:12:"olderThreads";a:5:{i:674;a:22:{s:9:"thread_id";i:674;s:7:"node_id";i:48;s:5:"title";s:29:"dk family guide new york city";s:11:"reply_count";i:0;s:10:"view_count";i:687;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527329237;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:853;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527329237;s:12:"last_post_id";i:853;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:134:"a:2:{i:1210;a:2:{s:3:"tag";s:5:"guide";s:7:"tag_url";s:5:"guide";}i:1292;a:2:{s:3:"tag";s:8:"new york";s:7:"tag_url";s:8:"new-york";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:673;a:22:{s:9:"thread_id";i:673;s:7:"node_id";i:7;s:5:"title";s:41:"Increase your wordpower by colin phillips";s:11:"reply_count";i:0;s:10:"view_count";i:1012;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527329097;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:852;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527329097;s:12:"last_post_id";i:852;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:156:"a:2:{i:1291;a:2:{s:3:"tag";s:14:"colin phillips";s:7:"tag_url";s:14:"colin-phillips";}i:1290;a:2:{s:3:"tag";s:9:"wordpower";s:7:"tag_url";s:9:"wordpower";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:672;a:22:{s:9:"thread_id";i:672;s:7:"node_id";i:7;s:5:"title";s:59:"Practice Makes Perfect Italian Sentence Builder 2nd Edition";s:11:"reply_count";i:0;s:10:"view_count";i:839;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527328931;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:851;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527328931;s:12:"last_post_id";i:851;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:395:"a:5:{i:1289;a:2:{s:3:"tag";s:7:"italian";s:7:"tag_url";s:7:"italian";}i:110;a:2:{s:3:"tag";s:8:"language";s:7:"tag_url";s:8:"language";}i:1242;a:2:{s:3:"tag";s:11:"mcgraw hill";s:7:"tag_url";s:11:"mcgraw-hill";}i:11610;a:2:{s:3:"tag";s:16:"paola nanni-tate";s:7:"tag_url";s:16:"paola-nanni-tate";}i:2714;a:2:{s:3:"tag";s:22:"practice makes perfect";s:7:"tag_url";s:22:"practice-makes-perfect";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:671;a:22:{s:9:"thread_id";i:671;s:7:"node_id";i:7;s:5:"title";s:21:"101 American Proverbs";s:11:"reply_count";i:0;s:10:"view_count";i:833;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527328800;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:850;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527328800;s:12:"last_post_id";i:850;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:71:"a:1:{i:1288;a:2:{s:3:"tag";s:7:"proverb";s:7:"tag_url";s:7:"proverb";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:670;a:22:{s:9:"thread_id";i:670;s:7:"node_id";i:23;s:5:"title";s:31:"Z.D Sung The Symbols of Yi King";s:11:"reply_count";i:0;s:10:"view_count";i:1118;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527328679;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:849;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527328679;s:12:"last_post_id";i:849;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:137:"a:2:{i:1286;a:2:{s:3:"tag";s:7:"yi king";s:7:"tag_url";s:7:"yi-king";}i:1287;a:2:{s:3:"tag";s:8:"z.d sung";s:7:"tag_url";s:7:"zd-sung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:676;a:22:{s:9:"thread_id";i:676;s:7:"node_id";i:7;s:5:"title";s:28:"Advancing Your Phrasal Verbs";s:11:"reply_count";i:0;s:10:"view_count";i:1199;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527329532;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:855;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527329532;s:12:"last_post_id";i:855;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:151:"a:2:{i:256;a:2:{s:3:"tag";s:8:"advanced";s:7:"tag_url";s:8:"advanced";}i:1295;a:2:{s:3:"tag";s:13:"phrasal verbs";s:7:"tag_url";s:13:"phrasal-verbs";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:677;a:22:{s:9:"thread_id";i:677;s:7:"node_id";i:43;s:5:"title";s:24:"Brainspace December 2017";s:11:"reply_count";i:0;s:10:"view_count";i:723;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527329622;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:856;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527329622;s:12:"last_post_id";i:856;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:190:"a:3:{i:92;a:2:{s:3:"tag";s:8:"children";s:7:"tag_url";s:8:"children";}i:87;a:2:{s:3:"tag";s:7:"english";s:7:"tag_url";s:7:"english";}i:176;a:2:{s:3:"tag";s:3:"pdf";s:7:"tag_url";s:3:"pdf";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:678;a:22:{s:9:"thread_id";i:678;s:7:"node_id";i:26;s:5:"title";s:44:"Đất Việt Trời Nam - Thái Văn Kiểm";s:11:"reply_count";i:0;s:10:"view_count";i:1008;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527329743;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:857;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527329743;s:12:"last_post_id";i:857;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:207:"a:3:{i:176;a:2:{s:3:"tag";s:3:"pdf";s:7:"tag_url";s:3:"pdf";}i:463;a:2:{s:3:"tag";s:8:"sach xua";s:7:"tag_url";s:8:"sach-xua";}i:1296;a:2:{s:3:"tag";s:13:"thai van kiem";s:7:"tag_url";s:13:"thai-van-kiem";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:679;a:22:{s:9:"thread_id";i:679;s:7:"node_id";i:48;s:5:"title";s:39:"dk eyewitness travel new york city 2018";s:11:"reply_count";i:0;s:10:"view_count";i:699;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527329894;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:858;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527329894;s:12:"last_post_id";i:858;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:266:"a:4:{i:82;a:2:{s:3:"tag";s:4:"2018";s:7:"tag_url";s:4:"2018";}i:1298;a:2:{s:3:"tag";s:10:"eyewitness";s:7:"tag_url";s:10:"eyewitness";}i:1292;a:2:{s:3:"tag";s:8:"new york";s:7:"tag_url";s:8:"new-york";}i:1297;a:2:{s:3:"tag";s:6:"travel";s:7:"tag_url";s:6:"travel";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:680;a:22:{s:9:"thread_id";i:680;s:7:"node_id";i:7;s:5:"title";s:24:"Essential ESL Dictionary";s:11:"reply_count";i:0;s:10:"view_count";i:943;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1527330018;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:859;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1527330018;s:12:"last_post_id";i:859;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:265:"a:4:{i:279;a:2:{s:3:"tag";s:10:"dictionary";s:7:"tag_url";s:10:"dictionary";}i:729;a:2:{s:3:"tag";s:3:"esl";s:7:"tag_url";s:3:"esl";}i:1242;a:2:{s:3:"tag";s:11:"mcgraw hill";s:7:"tag_url";s:11:"mcgraw-hill";}i:176;a:2:{s:3:"tag";s:3:"pdf";s:7:"tag_url";s:3:"pdf";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25222;a:22:{s:9:"thread_id";i:25222;s:7:"node_id";i:222;s:5:"title";s:57:"Instant Vietnamese, revised edition, Sam Brier, Linh Doan";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1711541044;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:30076;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711541044;s:12:"last_post_id";i:30076;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:463:"a:6:{i:11528;a:2:{s:3:"tag";s:14:"hoc tieng viet";s:7:"tag_url";s:14:"hoc-tieng-viet";}i:19298;a:2:{s:3:"tag";s:18:"instant vietnamese";s:7:"tag_url";s:18:"instant-vietnamese";}i:19300;a:2:{s:3:"tag";s:9:"linh doan";s:7:"tag_url";s:9:"linh-doan";}i:19299;a:2:{s:3:"tag";s:9:"sam brier";s:7:"tag_url";s:9:"sam-brier";}i:572;a:2:{s:3:"tag";s:10:"tieng viet";s:7:"tag_url";s:10:"tieng-viet";}i:1600;a:2:{s:3:"tag";s:10:"vietnamese";s:7:"tag_url";s:10:"vietnamese";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25221;a:22:{s:9:"thread_id";i:25221;s:7:"node_id";i:43;s:5:"title";s:55:"Cambridge Fun Skills 5 Student's book with Home booklet";s:11:"reply_count";i:0;s:10:"view_count";i:41;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1711535469;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:30075;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711535469;s:12:"last_post_id";i:30075;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:28;s:4:"tags";s:395:"a:5:{i:9271;a:2:{s:3:"tag";s:13:"anne robinson";s:7:"tag_url";s:13:"anne-robinson";}i:21920;a:2:{s:3:"tag";s:13:"bridget kelly";s:7:"tag_url";s:13:"bridget-kelly";}i:16697;a:2:{s:3:"tag";s:10:"fun skills";s:7:"tag_url";s:10:"fun-skills";}i:21918;a:2:{s:3:"tag";s:12:"fun skills 5";s:7:"tag_url";s:12:"fun-skills-5";}i:21919;a:2:{s:3:"tag";s:12:"home booklet";s:7:"tag_url";s:12:"home-booklet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25220;a:22:{s:9:"thread_id";i:25220;s:7:"node_id";i:51;s:5:"title";s:117:"Sách về ngữ pháp trong viết báo cáo luận văn tiếng Nhật Repooto.Ronbun wo kaku Tame No Nihongo bunpo";s:11:"reply_count";i:1;s:10:"view_count";i:104;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1711534803;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:30073;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711534924;s:12:"last_post_id";i:30074;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:357:"a:5:{i:261;a:2:{s:3:"tag";s:7:"grammar";s:7:"tag_url";s:7:"grammar";}i:370;a:2:{s:3:"tag";s:8:"japanese";s:7:"tag_url";s:8:"japanese";}i:6630;a:2:{s:3:"tag";s:16:"japanese grammar";s:7:"tag_url";s:16:"japanese-grammar";}i:368;a:2:{s:3:"tag";s:7:"nihongo";s:7:"tag_url";s:7:"nihongo";}i:371;a:2:{s:3:"tag";s:10:"tieng nhat";s:7:"tag_url";s:10:"tieng-nhat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25219;a:22:{s:9:"thread_id";i:25219;s:7:"node_id";i:156;s:5:"title";s:83:"New destinations Intermediate B1 Student Book, H. Q. Mitchell, Marileni Malkogianni";s:11:"reply_count";i:0;s:10:"view_count";i:53;s:7:"user_id";i:12204;s:8:"username";s:13:"Mod_sachchobe";s:9:"post_date";i:1711508253;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:30072;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711508253;s:12:"last_post_id";i:30072;s:17:"last_post_user_id";i:12204;s:18:"last_post_username";s:13:"Mod_sachchobe";s:9:"prefix_id";i:2;s:4:"tags";s:434:"a:5:{i:21917;a:2:{s:3:"tag";s:14:"h. q. mitchell";s:7:"tag_url";s:12:"h-q-mitchell";}i:20035;a:2:{s:3:"tag";s:20:"marileni malkogianni";s:7:"tag_url";s:20:"marileni-malkogianni";}i:20036;a:2:{s:3:"tag";s:16:"new destinations";s:7:"tag_url";s:16:"new-destinations";}i:20040;a:2:{s:3:"tag";s:19:"new destinations b1";s:7:"tag_url";s:19:"new-destinations-b1";}i:702;a:2:{s:3:"tag";s:12:"student book";s:7:"tag_url";s:12:"student-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25218;a:22:{s:9:"thread_id";i:25218;s:7:"node_id";i:156;s:5:"title";s:79:"New destinations Intermediate B1 workbook, H. Q. Mitchell, Marileni Malkogianni";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:12204;s:8:"username";s:13:"Mod_sachchobe";s:9:"post_date";i:1711508058;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:30071;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1711508058;s:12:"last_post_id";i:30071;s:17:"last_post_user_id";i:12204;s:18:"last_post_username";s:13:"Mod_sachchobe";s:9:"prefix_id";i:2;s:4:"tags";s:424:"a:5:{i:21917;a:2:{s:3:"tag";s:14:"h. q. mitchell";s:7:"tag_url";s:12:"h-q-mitchell";}i:20035;a:2:{s:3:"tag";s:20:"marileni malkogianni";s:7:"tag_url";s:20:"marileni-malkogianni";}i:20036;a:2:{s:3:"tag";s:16:"new destinations";s:7:"tag_url";s:16:"new-destinations";}i:20040;a:2:{s:3:"tag";s:19:"new destinations b1";s:7:"tag_url";s:19:"new-destinations-b1";}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;}}}
Run Time: 1.855367
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Toefl - 400 Must have words for the TOEFL' 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 <> 675)
AND MATCH(search_index.title) AGAINST ('Toefl - 400 Must have words for the TOEFL' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.168157
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 492 | 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, 81
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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 675)
ORDER BY RAND()
LIMIT 5
Run Time: 0.019154
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23144 | 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 (5686, 1654, 20889, 19911, 20026))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001667
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, 253
Run Time: 0.001778
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, 336
Run Time: 0.001021
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, 281
Run Time: 0.001130
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, 17
Run Time: 0.000190
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.000174
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 = 675)
Run Time: 0.024731
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25262 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: db2c21a5968584294a51ad271ef3c041, , 1711693360
Run Time: 0.000277
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=675, 1711689760,
Run Time: 0.000188
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.001135
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.000358
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.000237
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.000302
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.000206
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |