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.000612
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.000178
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.004786
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10905 | |
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: 17558
Run Time: 0.000400
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.002378
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: 17558
Run Time: 0.004019
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: 17558
Run Time: 0.000150
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 17558, 0
Run Time: 1.608431
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25048 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1649139574)) AND (thread.thread_id <> 17558)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.008289
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 10971 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 221
Run Time: 0.000232
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, 64
Run Time: 0.000216
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, 218
Run Time: 0.000215
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, 163
Run Time: 0.000185
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 > 1649139574)) AND (thread.thread_id <> 17558)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.003677
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 7404 | 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.000242
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 138
Run Time: 0.000245
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 <> 17558)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000332
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, 11
Run Time: 0.000281
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 = 17558 AND user_id = 0)
Params: 1714529474, a:3:{s:12:"olderThreads";a:5:{i:17557;a:22:{s:9:"thread_id";i:17557;s:7:"node_id";i:76;s:5:"title";s:49:"English Plus 2 Teacher's Book, Shella Dignen, OUP";s:11:"reply_count";i:0;s:10:"view_count";i:540;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649139313;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:19788;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649139313;s:12:"last_post_id";i:19788;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:2;s:4:"tags";s:297:"a:4:{i:4993;a:2:{s:3:"tag";s:12:"english plus";s:7:"tag_url";s:12:"english-plus";}i:15730;a:2:{s:3:"tag";s:3:"oup";s:7:"tag_url";s:3:"oup";}i:15729;a:2:{s:3:"tag";s:13:"shella dignen";s:7:"tag_url";s:13:"shella-dignen";}i:201;a:2:{s:3:"tag";s:12:"teacher book";s:7:"tag_url";s:12:"teacher-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:17556;a:22:{s:9:"thread_id";i:17556;s:7:"node_id";i:221;s:5:"title";s:56:"Chế độ báo giới Nam kỳ, Diệp Văn Kỳ, 1938";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:1649042135;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:19787;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649042135;s:12:"last_post_id";i:19787;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:128:"a:2:{i:108;a:2:{s:3:"tag";s:4:"1938";s:7:"tag_url";s:4:"1938";}i:871;a:2:{s:3:"tag";s:7:"sai gon";s:7:"tag_url";s:7:"sai-gon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:17555;a:22:{s:9:"thread_id";i:17555;s:7:"node_id";i:64;s:5:"title";s:75:"Từ vựng tiếng Pháp, Mary E. Coffman Crocker, Nhân Văn biên dịch";s:11:"reply_count";i:0;s:10:"view_count";i:672;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649010513;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:19783;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649010513;s:12:"last_post_id";i:19783;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:368:"a:5:{i:4365;a:2:{s:3:"tag";s:8:"francais";s:7:"tag_url";s:8:"francais";}i:1603;a:2:{s:3:"tag";s:6:"french";s:7:"tag_url";s:6:"french";}i:1861;a:2:{s:3:"tag";s:10:"tieng phap";s:7:"tag_url";s:10:"tieng-phap";}i:819;a:2:{s:3:"tag";s:7:"tu vung";s:7:"tag_url";s:7:"tu-vung";}i:15728;a:2:{s:3:"tag";s:21:"vocabulaire français";s:7:"tag_url";s:20:"vocabulaire-francais";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:17554;a:22:{s:9:"thread_id";i:17554;s:7:"node_id";i:218;s:5:"title";s:52:"Từ vựng tiếng Anh thường dùng, Đức Tín";s:11:"reply_count";i:0;s:10:"view_count";i:580;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649010231;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:19782;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649010231;s:12:"last_post_id";i:19782;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:287:"a:4:{i:9519;a:2:{s:3:"tag";s:7:"duc tin";s:7:"tag_url";s:7:"duc-tin";}i:87;a:2:{s:3:"tag";s:7:"english";s:7:"tag_url";s:7:"english";}i:7885;a:2:{s:3:"tag";s:18:"english vocabulary";s:7:"tag_url";s:18:"english-vocabulary";}i:819;a:2:{s:3:"tag";s:7:"tu vung";s:7:"tag_url";s:7:"tu-vung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:17553;a:22:{s:9:"thread_id";i:17553;s:7:"node_id";i:163;s:5:"title";s:91:"Tiếng anh dùng trong lĩnh vực hàng không, English for Aviation, ThS. Hoàng Nguyên";s:11:"reply_count";i:0;s:10:"view_count";i:857;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649009885;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:19781;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649009885;s:12:"last_post_id";i:19781;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:7061;a:2:{s:3:"tag";s:8:"aviation";s:7:"tag_url";s:8:"aviation";}i:87;a:2:{s:3:"tag";s:7:"english";s:7:"tag_url";s:7:"english";}i:15727;a:2:{s:3:"tag";s:20:"english for aviation";s:7:"tag_url";s:20:"english-for-aviation";}i:7344;a:2:{s:3:"tag";s:12:"hoang nguyen";s:7:"tag_url";s:12:"hoang-nguyen";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:17559;a:22:{s:9:"thread_id";i:17559;s:7:"node_id";i:43;s:5:"title";s:40:"3000+ Words for Writing Level 4, Pearson";s:11:"reply_count";i:0;s:10:"view_count";i:763;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649139802;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:19790;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649139802;s:12:"last_post_id";i:19790;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:269:"a:4:{i:5552;a:2:{s:3:"tag";s:4:"3000";s:7:"tag_url";s:4:"3000";}i:12757;a:2:{s:3:"tag";s:11:"kid writing";s:7:"tag_url";s:11:"kid-writing";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}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:17560;a:22:{s:9:"thread_id";i:17560;s:7:"node_id";i:43;s:5:"title";s:79:"3000+ Words for Writing Level 5, Pearson, Perfect for boosting your Word Power!";s:11:"reply_count";i:0;s:10:"view_count";i:999;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649140320;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:19791;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649140320;s:12:"last_post_id";i:19791;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:342:"a:5:{i:5552;a:2:{s:3:"tag";s:4:"3000";s:7:"tag_url";s:4:"3000";}i:12757;a:2:{s:3:"tag";s:11:"kid writing";s:7:"tag_url";s:11:"kid-writing";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}i:5661;a:2:{s:3:"tag";s:10:"word power";s:7:"tag_url";s:10:"word-power";}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:17561;a:22:{s:9:"thread_id";i:17561;s:7:"node_id";i:76;s:5:"title";s:65:"Shine On! 2 Teacher's Book, Oxford, Marie Delaney, Freia Layfield";s:11:"reply_count";i:0;s:10:"view_count";i:519;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649140940;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:19792;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649140940;s:12:"last_post_id";i:19792;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:374:"a:5:{i:15733;a:2:{s:3:"tag";s:14:"freia layfield";s:7:"tag_url";s:14:"freia-layfield";}i:15731;a:2:{s:3:"tag";s:13:"marie delaney";s:7:"tag_url";s:13:"marie-delaney";}i:428;a:2:{s:3:"tag";s:6:"oxford";s:7:"tag_url";s:6:"oxford";}i:15732;a:2:{s:3:"tag";s:8:"shine on";s:7:"tag_url";s:8:"shine-on";}i:201;a:2:{s:3:"tag";s:12:"teacher book";s:7:"tag_url";s:12:"teacher-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:17562;a:22:{s:9:"thread_id";i:17562;s:7:"node_id";i:138;s:5:"title";s:99:"Pragmatics, A resource book for students, Joan Cutting, Kenneth Fordyce, Routledge English Language";s:11:"reply_count";i:0;s:10:"view_count";i:581;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649141460;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:19793;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649141460;s:12:"last_post_id";i:19793;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:535:"a:7:{i:15734;a:2:{s:3:"tag";s:12:"joan cutting";s:7:"tag_url";s:12:"joan-cutting";}i:15735;a:2:{s:3:"tag";s:15:"kenneth fordyce";s:7:"tag_url";s:15:"kenneth-fordyce";}i:13690;a:2:{s:3:"tag";s:12:"ngu dung hoc";s:7:"tag_url";s:12:"ngu-dung-hoc";}i:12754;a:2:{s:3:"tag";s:10:"pragmatics";s:7:"tag_url";s:10:"pragmatics";}i:6331;a:2:{s:3:"tag";s:13:"resource book";s:7:"tag_url";s:13:"resource-book";}i:1322;a:2:{s:3:"tag";s:9:"routledge";s:7:"tag_url";s:9:"routledge";}i:8664;a:2:{s:3:"tag";s:8:"students";s:7:"tag_url";s:8:"students";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:17563;a:22:{s:9:"thread_id";i:17563;s:7:"node_id";i:76;s:5:"title";s:57:"All Around 1 New Edition Teacher's Book + Extra, Richmond";s:11:"reply_count";i:0;s:10:"view_count";i:518;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1649141793;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:19794;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1649141793;s:12:"last_post_id";i:19794;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:298:"a:4:{i:15736;a:2:{s:3:"tag";s:10:"all around";s:7:"tag_url";s:10:"all-around";}i:7766;a:2:{s:3:"tag";s:11:"new edition";s:7:"tag_url";s:11:"new-edition";}i:2979;a:2:{s:3:"tag";s:8:"richmond";s:7:"tag_url";s:8:"richmond";}i:201;a:2:{s:3:"tag";s:12:"teacher book";s:7:"tag_url";s:12:"teacher-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25520;a:22:{s:9:"thread_id";i:25520;s:7:"node_id";i:11;s:5:"title";s:87:"Hiệu Ứng Người Bảo Trợ: Dạy Chính Mình Bằng Cách Dạy Người Khác";s:11:"reply_count";i:0;s:10:"view_count";i:10;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517221;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:30509;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517221;s:12:"last_post_id";i:30509;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25519;a:22:{s:9:"thread_id";i:25519;s:7:"node_id";i:11;s:5:"title";s:85:"Nghệ Thuật 'Fake It Till You Make It' Của Huyền Thoại Cờ Vua Thế Giới";s:11:"reply_count";i:0;s:10:"view_count";i:11;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517172;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:30508;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517172;s:12:"last_post_id";i:30508;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25518;a:22:{s:9:"thread_id";i:25518;s:7:"node_id";i:11;s:5:"title";s:86:"35 BÍ QUYẾT ĐỌC SÁCH MÌNH HỌC ĐƯỢC SAU KHI ĐỌC HƠN 350 CUỐN SÁCH.";s:11:"reply_count";i:0;s:10:"view_count";i:8;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517111;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:30507;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517111;s:12:"last_post_id";i:30507;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25517;a:22:{s:9:"thread_id";i:25517;s:7:"node_id";i:11;s:5:"title";s:92:"Hiệu Ứng Thỏa Mãn Vượt Ngưỡng (Phần 1): Tiền Có Mua Được Hạnh Phúc?";s:11:"reply_count";i:0;s:10:"view_count";i:10;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517080;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:30506;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517080;s:12:"last_post_id";i:30506;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25516;a:22:{s:9:"thread_id";i:25516;s:7:"node_id";i:11;s:5:"title";s:56:"VÌ SAO CHÚNG TA KHÔNG LÀM NHỮNG GÌ ĐÃ ĐỀ RA?";s:11:"reply_count";i:0;s:10:"view_count";i:10;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517042;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:30505;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517042;s:12:"last_post_id";i:30505;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.858719
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Shine On! 1 Teacher\'s Book, Oxford, Marie Delaney, Tamzin Thompson' 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 <> 17558)
AND MATCH(search_index.title) AGAINST ('Shine On! 1 Teacher\'s Book, Oxford, Marie Delaney, Tamzin Thompson' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.367686
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, 7
Run Time: 0.000302
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.000203
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, 37
Run Time: 0.000236
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 <> 17558)
ORDER BY RAND()
LIMIT 5
Run Time: 0.046555
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 21943 | 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 (2946, 22496, 1420, 12375, 21489))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001800
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, 62
Run Time: 0.000253
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, 191
Run Time: 0.000799
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 = 17558)
Run Time: 0.038236
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25589 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: a5e074eabdc3e10d9e20b65166843924, , 1714533074
Run Time: 0.000258
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=17558, 1714529474,
Run Time: 0.000157
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.000855
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.000251
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.000208
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.000219
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.000196
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |