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.000423
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.000389
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.004526
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: 6713
Run Time: 0.000533
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: 76
Run Time: 0.000608
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: 6713
Run Time: 0.003142
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: 6713
Run Time: 0.002169
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 6713, 0
Run Time: 1.417658
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 < 1559623128)) AND (thread.thread_id <> 6713)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000451
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11572 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1559623128)) AND (thread.thread_id <> 6713)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.003966
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, 72
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, 56
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, 26
Run Time: 0.000160
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.000155
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 <> 6713)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000328
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.000202
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.000181
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.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, 156
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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 6713 AND user_id = 0)
Params: 1711689733, a:3:{s:12:"olderThreads";a:5:{i:6712;a:22:{s:9:"thread_id";i:6712;s:7:"node_id";i:76;s:5:"title";s:86:"Lessons from Nothing: Activities For Language Teaching With Limited Time And Resources";s:11:"reply_count";i:0;s:10:"view_count";i:669;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559623105;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:7555;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559623105;s:12:"last_post_id";i:7555;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:6711;a:22:{s:9:"thread_id";i:6711;s:7:"node_id";i:76;s:5:"title";s:28:"Teaching the Spoken Language";s:11:"reply_count";i:0;s:10:"view_count";i:667;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559622943;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:7554;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559622943;s:12:"last_post_id";i:7554;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:6710;a:22:{s:9:"thread_id";i:6710;s:7:"node_id";i:76;s:5:"title";s:29:"Testing for Language Teachers";s:11:"reply_count";i:0;s:10:"view_count";i:914;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559622912;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:7553;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559622912;s:12:"last_post_id";i:7553;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:6709;a:22:{s:9:"thread_id";i:6709;s:7:"node_id";i:76;s:5:"title";s:40:"Communicating in Business Teacher's Book";s:11:"reply_count";i:0;s:10:"view_count";i:1500;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559622871;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:7552;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559622871;s:12:"last_post_id";i:7552;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:171:"a:2:{i:2664;a:2:{s:3:"tag";s:16:"business english";s:7:"tag_url";s:16:"business-english";}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:6708;a:22:{s:9:"thread_id";i:6708;s:7:"node_id";i:76;s:5:"title";s:41:"Translation (Resource Books for Teachers)";s:11:"reply_count";i:0;s:10:"view_count";i:1075;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559622704;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:7551;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559622704;s:12:"last_post_id";i:7551;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:81:"a:1:{i:3695;a:2:{s:3:"tag";s:11:"translation";s:7:"tag_url";s:11:"translation";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:6714;a:22:{s:9:"thread_id";i:6714;s:7:"node_id";i:72;s:5:"title";s:38:"Sleep is your superpower | Matt Walker";s:11:"reply_count";i:1;s:10:"view_count";i:105;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559725026;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:7560;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559725434;s:12:"last_post_id";i:7561;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:24;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6715;a:22:{s:9:"thread_id";i:6715;s:7:"node_id";i:56;s:5:"title";s:75:"Cambridge English Mindset for IELTS Foundation Students Book + Audio cd mp3";s:11:"reply_count";i:0;s:10:"view_count";i:940;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559727862;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:7562;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559727862;s:12:"last_post_id";i:7562;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:290:"a:4:{i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:2236;a:2:{s:3:"tag";s:16:"ielts foundation";s:7:"tag_url";s:16:"ielts-foundation";}i:2141;a:2:{s:3:"tag";s:7:"mindset";s:7:"tag_url";s:7:"mindset";}i:5432;a:2:{s:3:"tag";s:8:"testbank";s:7:"tag_url";s:8:"testbank";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6716;a:22:{s:9:"thread_id";i:6716;s:7:"node_id";i:26;s:5:"title";s:82:"“Nhật Bản, một kinh nghiệm phát triển” của Shigeru Yoshida (1974)";s:11:"reply_count";i:0;s:10:"view_count";i:660;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559728256;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:7563;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559728256;s:12:"last_post_id";i:7563;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:302:"a:4:{i:1436;a:2:{s:3:"tag";s:4:"1974";s:7:"tag_url";s:4:"1974";}i:799;a:2:{s:3:"tag";s:18:"le thanh hoang dan";s:7:"tag_url";s:18:"le-thanh-hoang-dan";}i:467;a:2:{s:3:"tag";s:8:"nhat ban";s:7:"tag_url";s:8:"nhat-ban";}i:5433;a:2:{s:3:"tag";s:15:"shigeru yoshida";s:7:"tag_url";s:15:"shigeru-yoshida";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6717;a:22:{s:9:"thread_id";i:6717;s:7:"node_id";i:72;s:5:"title";s:4:"next";s:11:"reply_count";i:0;s:10:"view_count";i:96;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559732686;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:7564;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1559732686;s:12:"last_post_id";i:7564;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:24;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6718;a:22:{s:9:"thread_id";i:6718;s:7:"node_id";i:4;s:5:"title";s:63:"TẠI SAO PHƯƠNG TÂY VƯỢT TRỘI | Tác giả: Ian Morris";s:11:"reply_count";i:1;s:10:"view_count";i:723;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1559806681;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:7567;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566963472;s:12:"last_post_id";i:7948;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:79:"a:1:{i:5434;a:2:{s:3:"tag";s:10:"ian morris";s:7:"tag_url";s:10:"ian-morris";}}";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.014277
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Keep Talking: Communicative Fluency Activities for Language Teaching' 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 <> 6713)
AND MATCH(search_index.title) AGAINST ('Keep Talking: Communicative Fluency Activities for Language Teaching' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.188100
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, 7
Run Time: 0.000226
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 <> 6713)
ORDER BY RAND()
LIMIT 5
Run Time: 0.017726
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 (7022, 21937, 7564, 516, 23468))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001890
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.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, 126
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 36
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, 20
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 | |
SELECT post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 6713)
Run Time: 0.020836
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: ef6a5c2c34bf83af79542bee013caf4f, , 1711693333
Run Time: 0.000240
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=6713, 1711689733,
Run Time: 0.000154
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.001086
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.000267
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.000197
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.000225
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.000181
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |