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.001083
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.000252
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.006397
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: 20263
Run Time: 0.000578
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: 231
Run Time: 0.001390
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: 20263
Run Time: 0.007203
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: 20263
Run Time: 0.000222
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 20263, 0
Run Time: 0.411154
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 < 1670066109)) AND (thread.thread_id <> 20263)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.008172
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, 170
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1670066109)) AND (thread.thread_id <> 20263)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.002580
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 4840 | 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, 230
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 20263)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000308
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.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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 20263 AND user_id = 0)
Params: 1714525881, a:3:{s:12:"olderThreads";a:5:{i:20262;a:22:{s:9:"thread_id";i:20262;s:7:"node_id";i:231;s:5:"title";s:58:"Standardized Test tutor reading grade 3, Michael Priestley";s:11:"reply_count";i:0;s:10:"view_count";i:409;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670065946;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:23597;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670065946;s:12:"last_post_id";i:23597;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:285:"a:4:{i:4177;a:2:{s:3:"tag";s:7:"grade 3";s:7:"tag_url";s:7:"grade-3";}i:12227;a:2:{s:3:"tag";s:17:"michael priestley";s:7:"tag_url";s:17:"michael-priestley";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:18322;a:2:{s:3:"tag";s:5:"tutor";s:7:"tag_url";s:5:"tutor";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20261;a:22:{s:9:"thread_id";i:20261;s:7:"node_id";i:231;s:5:"title";s:74:"180 essential vocabulary words for 4th grade, scholastic, Linda Ward Beech";s:11:"reply_count";i:0;s:10:"view_count";i:405;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670065386;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:23596;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670065386;s:12:"last_post_id";i:23596;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:379:"a:5:{i:1313;a:2:{s:3:"tag";s:9:"essential";s:7:"tag_url";s:9:"essential";}i:15306;a:2:{s:3:"tag";s:11:"kid english";s:7:"tag_url";s:11:"kid-english";}i:6345;a:2:{s:3:"tag";s:16:"linda ward beech";s:7:"tag_url";s:16:"linda-ward-beech";}i:274;a:2:{s:3:"tag";s:10:"scholastic";s:7:"tag_url";s:10:"scholastic";}i:89;a:2:{s:3:"tag";s:10:"vocabulary";s:7:"tag_url";s:10:"vocabulary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20260;a:22:{s:9:"thread_id";i:20260;s:7:"node_id";i:170;s:5:"title";s:42:"Reading & Math Practice Grade 4 Scholastic";s:11:"reply_count";i:0;s:10:"view_count";i:393;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670065121;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:23595;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670065121;s:12:"last_post_id";i:23595;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:2993;a:2:{s:3:"tag";s:7:"grade 4";s:7:"tag_url";s:7:"grade-4";}i:2895;a:2:{s:3:"tag";s:4:"math";s:7:"tag_url";s:4:"math";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:274;a:2:{s:3:"tag";s:10:"scholastic";s:7:"tag_url";s:10:"scholastic";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20259;a:22:{s:9:"thread_id";i:20259;s:7:"node_id";i:170;s:5:"title";s:98:"Cambridge IGCSE English As A Second Language 2022, Hodder Education, Daphne Paizee, Sally Burbeary";s:11:"reply_count";i:0;s:10:"view_count";i:432;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670063890;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:23594;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670063890;s:12:"last_post_id";i:23594;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:481:"a:6:{i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:9940;a:2:{s:3:"tag";s:15:"cambridge igcse";s:7:"tag_url";s:15:"cambridge-igcse";}i:18320;a:2:{s:3:"tag";s:13:"daphne paizee";s:7:"tag_url";s:13:"daphne-paizee";}i:14808;a:2:{s:3:"tag";s:28:"english as a second language";s:7:"tag_url";s:28:"english-as-a-second-language";}i:999;a:2:{s:3:"tag";s:5:"igcse";s:7:"tag_url";s:5:"igcse";}i:18321;a:2:{s:3:"tag";s:14:"sally burbeary";s:7:"tag_url";s:14:"sally-burbeary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20258;a:22:{s:9:"thread_id";i:20258;s:7:"node_id";i:170;s:5:"title";s:52:"My pals are here, Maths 2B Pupil's Book, 3rd edition";s:11:"reply_count";i:0;s:10:"view_count";i:359;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670063252;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:23593;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670063252;s:12:"last_post_id";i:23593;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:12230;a:2:{s:3:"tag";s:8:"kid math";s:7:"tag_url";s:8:"kid-math";}i:18319;a:2:{s:3:"tag";s:8:"maths 2b";s:7:"tag_url";s:8:"maths-2b";}i:13938;a:2:{s:3:"tag";s:16:"my pals are here";s:7:"tag_url";s:16:"my-pals-are-here";}i:3823;a:2:{s:3:"tag";s:9:"singapore";s:7:"tag_url";s:9:"singapore";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:20264;a:22:{s:9:"thread_id";i:20264;s:7:"node_id";i:230;s:5:"title";s:62:"Ancient Egypt Architecture Grade 4, History pockets, evan-moor";s:11:"reply_count";i:0;s:10:"view_count";i:428;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670066267;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:23599;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670066267;s:12:"last_post_id";i:23599;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:299:"a:4:{i:6203;a:2:{s:3:"tag";s:13:"ancient egypt";s:7:"tag_url";s:13:"ancient-egypt";}i:6163;a:2:{s:3:"tag";s:12:"architecture";s:7:"tag_url";s:12:"architecture";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:712;a:2:{s:3:"tag";s:7:"history";s:7:"tag_url";s:7:"history";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20265;a:22:{s:9:"thread_id";i:20265;s:7:"node_id";i:230;s:5:"title";s:32:"Early Bird Rainforest, Evan-moor";s:11:"reply_count";i:0;s:10:"view_count";i:394;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670066376;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:23600;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670066376;s:12:"last_post_id";i:23600;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:303:"a:4:{i:18324;a:2:{s:3:"tag";s:10:"early bird";s:7:"tag_url";s:10:"early-bird";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:15306;a:2:{s:3:"tag";s:11:"kid english";s:7:"tag_url";s:11:"kid-english";}i:18323;a:2:{s:3:"tag";s:10:"rainforest";s:7:"tag_url";s:10:"rainforest";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20266;a:22:{s:9:"thread_id";i:20266;s:7:"node_id";i:230;s:5:"title";s:27:"Early Bird World, Evan-moor";s:11:"reply_count";i:0;s:10:"view_count";i:436;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670066563;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:23601;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670066563;s:12:"last_post_id";i:23601;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:153:"a:2:{i:18324;a:2:{s:3:"tag";s:10:"early bird";s:7:"tag_url";s:10:"early-bird";}i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20267;a:22:{s:9:"thread_id";i:20267;s:7:"node_id";i:230;s:5:"title";s:35:"The first thanksgiving 3, Evan-moor";s:11:"reply_count";i:0;s:10:"view_count";i:329;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670066687;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:23602;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670066687;s:12:"last_post_id";i:23602;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:157:"a:2:{i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:18325;a:2:{s:3:"tag";s:12:"thanksgiving";s:7:"tag_url";s:12:"thanksgiving";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20268;a:22:{s:9:"thread_id";i:20268;s:7:"node_id";i:230;s:5:"title";s:33:"Halloween 6, Grade 1-3, Evan-moor";s:11:"reply_count";i:0;s:10:"view_count";i:373;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670066843;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:23603;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670066843;s:12:"last_post_id";i:23603;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:214:"a:3:{i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:2571;a:2:{s:3:"tag";s:7:"grade 1";s:7:"tag_url";s:7:"grade-1";}i:18326;a:2:{s:3:"tag";s:9:"halloween";s:7:"tag_url";s:9:"halloween";}}";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:9;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:10;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:7;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:8;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:8;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.775808
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Standardized Test tutor reading grade 4, Michael Priestley' 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 <> 20263)
AND MATCH(search_index.title) AGAINST ('Standardized Test tutor reading grade 4, Michael Priestley' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.199282
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, 19
Run Time: 0.000238
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.000111
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.000099
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 <> 20263)
ORDER BY RAND()
LIMIT 5
Run Time: 0.015934
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 (23927, 110, 16491, 6076, 9584))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000658
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, 136
Run Time: 0.000152
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.000125
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, 172
Run Time: 0.000106
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, 131
Run Time: 0.000097
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 = 20263)
Run Time: 0.021140
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: 618001900b8cf39162186148a2f1824a, , 1714529481
Run Time: 0.000247
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=20263, 1714525881,
Run Time: 0.000161
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.000642
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.000284
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.000232
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.000226
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.000358
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |