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.000641
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.000218
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.004746
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10778 | |
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: 5544
Run Time: 0.001197
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: 17
Run Time: 0.000471
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: 5544
Run Time: 0.007423
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: 5544
Run Time: 0.000196
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 5544, 0
Run Time: 0.372322
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24906 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1551082564)) AND (thread.thread_id <> 5544)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.005575
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 5252 | Using where |
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.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, 28
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, 21
Run Time: 0.000248
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 48
Run Time: 0.000198
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 > 1551082564)) AND (thread.thread_id <> 5544)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.004192
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11847 | 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, 19
Run Time: 0.000224
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, 125
Run Time: 0.000274
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 <> 5544)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000444
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, 76
Run Time: 0.000213
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, 216
Run Time: 0.000188
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 5544 AND user_id = 0)
Params: 1713456765, a:3:{s:12:"olderThreads";a:5:{i:5542;a:22:{s:9:"thread_id";i:5542;s:7:"node_id";i:126;s:5:"title";s:57:"a template for understanding big debt crises by ray dalio";s:11:"reply_count";i:0;s:10:"view_count";i:696;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551082190;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:6290;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551082190;s:12:"last_post_id";i:6290;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:4863;a:2:{s:3:"tag";s:4:"debt";s:7:"tag_url";s:4:"debt";}i:2084;a:2:{s:3:"tag";s:9:"economics";s:7:"tag_url";s:9:"economics";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5541;a:22:{s:9:"thread_id";i:5541;s:7:"node_id";i:28;s:5:"title";s:42:"why we make mistakes by Joseph T. Hallinan";s:11:"reply_count";i:0;s:10:"view_count";i:643;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551081127;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:6289;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551081127;s:12:"last_post_id";i:6289;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:94:"a:1:{i:4862;a:2:{s:3:"tag";s:18:"joseph t. hallinan";s:7:"tag_url";s:17:"joseph-t-hallinan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5540;a:22:{s:9:"thread_id";i:5540;s:7:"node_id";i:21;s:5:"title";s:70:"The art of loving (the world literature english - korean bilingualism)";s:11:"reply_count";i:0;s:10:"view_count";i:749;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551080997;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:6288;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551080997;s:12:"last_post_id";i:6288;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:147:"a:2:{i:4799;a:2:{s:3:"tag";s:9:"bilingual";s:7:"tag_url";s:9:"bilingual";}i:711;a:2:{s:3:"tag";s:10:"literature";s:7:"tag_url";s:10:"literature";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5539;a:22:{s:9:"thread_id";i:5539;s:7:"node_id";i:126;s:5:"title";s:43:"Technical analysis of the financial markets";s:11:"reply_count";i:0;s:10:"view_count";i:1021;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551080503;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:6287;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551080503;s:12:"last_post_id";i:6287;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:258:"a:3:{i:4861;a:2:{s:3:"tag";s:15:"futures markets";s:7:"tag_url";s:15:"futures-markets";}i:4860;a:2:{s:3:"tag";s:14:"john j. murphy";s:7:"tag_url";s:13:"john-j-murphy";}i:4783;a:2:{s:3:"tag";s:18:"technical analysis";s:7:"tag_url";s:18:"technical-analysis";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5538;a:22:{s:9:"thread_id";i:5538;s:7:"node_id";i:48;s:5:"title";s:87:"Cutting edge Marketing Analytics (real world cases and data sets for hands on learning)";s:11:"reply_count";i:0;s:10:"view_count";i:887;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551079435;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:6286;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551079435;s:12:"last_post_id";i:6286;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:164:"a:2:{i:2351;a:2:{s:3:"tag";s:8:"learning";s:7:"tag_url";s:8:"learning";}i:4859;a:2:{s:3:"tag";s:19:"marketing analytics";s:7:"tag_url";s:19:"marketing-analytics";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:5545;a:22:{s:9:"thread_id";i:5545;s:7:"node_id";i:19;s:5:"title";s:57:"The Secret Code of Japanese Candlesticks by Felipe Tudela";s:11:"reply_count";i:0;s:10:"view_count";i:1033;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551083010;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:6293;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551083010;s:12:"last_post_id";i:6293;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:531:"a:8:{i:4865;a:2:{s:3:"tag";s:12:"candlesticks";s:7:"tag_url";s:12:"candlesticks";}i:4867;a:2:{s:3:"tag";s:4:"code";s:7:"tag_url";s:4:"code";}i:4866;a:2:{s:3:"tag";s:13:"felipe tudela";s:7:"tag_url";s:13:"felipe-tudela";}i:370;a:2:{s:3:"tag";s:8:"japanese";s:7:"tag_url";s:8:"japanese";}i:2402;a:2:{s:3:"tag";s:6:"secret";s:7:"tag_url";s:6:"secret";}i:2833;a:2:{s:3:"tag";s:7:"trading";s:7:"tag_url";s:7:"trading";}i:91;a:2:{s:3:"tag";s:3:"vip";s:7:"tag_url";s:3:"vip";}i:1513;a:2:{s:3:"tag";s:5:"wiley";s:7:"tag_url";s:5:"wiley";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5546;a:22:{s:9:"thread_id";i:5546;s:7:"node_id";i:19;s:5:"title";s:60:"The art of startup fundraising by Alejandro Cremades | Wiley";s:11:"reply_count";i:0;s:10:"view_count";i:599;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551083335;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:6294;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551083335;s:12:"last_post_id";i:6294;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:4869;a:2:{s:3:"tag";s:11:"fundraising";s:7:"tag_url";s:11:"fundraising";}i:4868;a:2:{s:3:"tag";s:7:"startup";s:7:"tag_url";s:7:"startup";}i:1513;a:2:{s:3:"tag";s:5:"wiley";s:7:"tag_url";s:5:"wiley";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5547;a:22:{s:9:"thread_id";i:5547;s:7:"node_id";i:126;s:5:"title";s:73:"The intelligent investor (nhà đầu tư thông minh) by Benjamin Graham";s:11:"reply_count";i:0;s:10:"view_count";i:811;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551083604;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:6295;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551083604;s:12:"last_post_id";i:6295;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:170:"a:2:{i:4871;a:2:{s:3:"tag";s:15:"benjamin graham";s:7:"tag_url";s:15:"benjamin-graham";}i:4870;a:2:{s:3:"tag";s:14:"harperbusiness";s:7:"tag_url";s:14:"harperbusiness";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5548;a:22:{s:9:"thread_id";i:5548;s:7:"node_id";i:125;s:5:"title";s:93:"Consumer Behavior (buying, having, and being) Twelfth Edition by Michael R. Solomon | Pearson";s:11:"reply_count";i:0;s:10:"view_count";i:1376;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551084131;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:6297;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551084131;s:12:"last_post_id";i:6297;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:245:"a:3:{i:4872;a:2:{s:3:"tag";s:17:"consumer behavior";s:7:"tag_url";s:17:"consumer-behavior";}i:4873;a:2:{s:3:"tag";s:18:"michael r. solomon";s:7:"tag_url";s:17:"michael-r-solomon";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5549;a:22:{s:9:"thread_id";i:5549;s:7:"node_id";i:126;s:5:"title";s:91:"Trading for a Living (psychology, trading tactics, money management) by Dr. Alexander Elder";s:11:"reply_count";i:0;s:10:"view_count";i:877;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551084422;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:6298;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551084422;s:12:"last_post_id";i:6298;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:239:"a:3:{i:4874;a:2:{s:3:"tag";s:15:"alexander elder";s:7:"tag_url";s:15:"alexander-elder";}i:4875;a:2:{s:3:"tag";s:16:"money management";s:7:"tag_url";s:16:"money-management";}i:2833;a:2:{s:3:"tag";s:7:"trading";s:7:"tag_url";s:7:"trading";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25378;a:22:{s:9:"thread_id";i:25378;s:7:"node_id";i:76;s:5:"title";s:100:"Ready to write 3 answer key, fourth edition, From Paragraph to Essay, Karen Blanchard, Christine Roo";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713456561;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:30314;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713456561;s:12:"last_post_id";i:30314;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:401:"a:5:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:1229;a:2:{s:3:"tag";s:5:"essay";s:7:"tag_url";s:5:"essay";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:21727;a:2:{s:3:"tag";s:16:"ready to write 3";s:7:"tag_url";s:16:"ready-to-write-3";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25377;a:22:{s:9:"thread_id";i:25377;s:7:"node_id";i:76;s:5:"title";s:86:"Ready to write 2, Fifth edition, Perfecting Paragraph, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713456459;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:30313;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713456459;s:12:"last_post_id";i:30313;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:409:"a:5:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:1327;a:2:{s:3:"tag";s:9:"paragraph";s:7:"tag_url";s:9:"paragraph";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:22055;a:2:{s:3:"tag";s:16:"ready to write 2";s:7:"tag_url";s:16:"ready-to-write-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25376;a:22:{s:9:"thread_id";i:25376;s:7:"node_id";i:76;s:5:"title";s:100:"Ready to write 3 Answer key, Third edition, From Paragraph to Essay, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713456397;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:30312;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713456397;s:12:"last_post_id";i:30312;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:401:"a:5:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:1229;a:2:{s:3:"tag";s:5:"essay";s:7:"tag_url";s:5:"essay";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:21727;a:2:{s:3:"tag";s:16:"ready to write 3";s:7:"tag_url";s:16:"ready-to-write-3";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25375;a:22:{s:9:"thread_id";i:25375;s:7:"node_id";i:76;s:5:"title";s:87:"Ready to write 2, fourth edition, Perfecting Paragraph, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713455079;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:30311;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713455079;s:12:"last_post_id";i:30311;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:508:"a:6:{i:11261;a:2:{s:3:"tag";s:10:"answer key";s:7:"tag_url";s:10:"answer-key";}i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:22056;a:2:{s:3:"tag";s:20:"perfecting paragraph";s:7:"tag_url";s:20:"perfecting-paragraph";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:22055;a:2:{s:3:"tag";s:16:"ready to write 2";s:7:"tag_url";s:16:"ready-to-write-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25374;a:22:{s:9:"thread_id";i:25374;s:7:"node_id";i:216;s:5:"title";s:90:"Ready to write 3, fourth edition, From Paragraph to Essay, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713454922;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:30310;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713454922;s:12:"last_post_id";i:30310;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:534:"a:7:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:1229;a:2:{s:3:"tag";s:5:"essay";s:7:"tag_url";s:5:"essay";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:1327;a:2:{s:3:"tag";s:9:"paragraph";s:7:"tag_url";s:9:"paragraph";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:21727;a:2:{s:3:"tag";s:16:"ready to write 3";s:7:"tag_url";s:16:"ready-to-write-3";}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;}}}
Run Time: 0.758952
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('101 things i learned in Architecture School by Matthew Frederick' 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 <> 5544)
AND MATCH(search_index.title) AGAINST ('101 things i learned in Architecture School by Matthew Frederick' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.328276
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.000315
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.000254
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.000195
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 <> 5544)
ORDER BY RAND()
LIMIT 5
Run Time: 0.257761
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23694 | 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 (13183, 1888, 24092, 12972, 13499))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000869
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, 91
Run Time: 0.000250
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 4
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, 226
Run Time: 0.000208
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 = 5544)
Run Time: 0.110114
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25455 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: e7b1b80b39e7334334f67c699c739746, , 1713460365
Run Time: 0.000310
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=5544, 1713456765,
Run Time: 0.000127
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.000820
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.000243
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.000201
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.000248
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.000195
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |