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.000903
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.000220
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.000498
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 32 | |
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: 11330
Run Time: 0.000424
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: 183
Run Time: 0.000707
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | 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: 11330
Run Time: 0.001360
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: 11330
Run Time: 0.001347
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 11330, 0
Run Time: 0.723491
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 12471 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1602514252)) AND (thread.thread_id <> 11330)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000503
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 3782 | 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, 56
Run Time: 0.000252
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, 76
Run Time: 0.000189
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, 77
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1602514252)) AND (thread.thread_id <> 11330)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.000365
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 1404 | Using index condition; Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 11330)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000318
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, 202
Run Time: 0.000205
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, 185
Run Time: 0.000184
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 = 11330 AND user_id = 0)
Params: 1611255397, a:3:{s:12:"olderThreads";a:5:{i:11329;a:22:{s:9:"thread_id";i:11329;s:7:"node_id";i:183;s:5:"title";s:42:"For Ages 3-4-5 | My book of Amazing Crafts";s:11:"reply_count";i:0;s:10:"view_count";i:29;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602514009;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:12549;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602514009;s:12:"last_post_id";i:12549;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:130:"a:2:{i:9995;a:2:{s:3:"tag";s:6:"crafts";s:7:"tag_url";s:6:"crafts";}i:2348;a:2:{s:3:"tag";s:5:"kumon";s:7:"tag_url";s:5:"kumon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11326;a:22:{s:9:"thread_id";i:11326;s:7:"node_id";i:56;s:5:"title";s:100:"Ielts Advantage, writing Skills, Richard Brown, Lewis Richards, A step-by-step guide to a high Ielts";s:11:"reply_count";i:0;s:10:"view_count";i:65;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602148390;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:12545;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602148390;s:12:"last_post_id";i:12545;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:449:"a:6:{i:9994;a:2:{s:3:"tag";s:9:"advantage";s:7:"tag_url";s:9:"advantage";}i:90;a:2:{s:3:"tag";s:5:"ielts";s:7:"tag_url";s:5:"ielts";}i:5279;a:2:{s:3:"tag";s:13:"ielts writing";s:7:"tag_url";s:13:"ielts-writing";}i:9993;a:2:{s:3:"tag";s:14:"lewis richards";s:7:"tag_url";s:14:"lewis-richards";}i:9992;a:2:{s:3:"tag";s:13:"richard brown";s:7:"tag_url";s:13:"richard-brown";}i:777;a:2:{s:3:"tag";s:12:"step by step";s:7:"tag_url";s:12:"step-by-step";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11325;a:22:{s:9:"thread_id";i:11325;s:7:"node_id";i:76;s:5:"title";s:57:"Classroom Management Techniques, Jim Scrivener, Cambridge";s:11:"reply_count";i:0;s:10:"view_count";i:60;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602148081;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:12544;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602148081;s:12:"last_post_id";i:12544;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:304:"a:4:{i:94;a:2:{s:3:"tag";s:9:"cambridge";s:7:"tag_url";s:9:"cambridge";}i:1213;a:2:{s:3:"tag";s:9:"classroom";s:7:"tag_url";s:9:"classroom";}i:7270;a:2:{s:3:"tag";s:13:"jim scrivener";s:7:"tag_url";s:13:"jim-scrivener";}i:2844;a:2:{s:3:"tag";s:15:"scott thornbury";s:7:"tag_url";s:15:"scott-thornbury";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11324;a:22:{s:9:"thread_id";i:11324;s:7:"node_id";i:77;s:5:"title";s:71:"Portugues XXI Nivel A1 (Libro do Aluno + Caderno de Exercicios + Audio)";s:11:"reply_count";i:0;s:10:"view_count";i:42;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602145461;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:12543;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602145461;s:12:"last_post_id";i:12543;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:28;s:4:"tags";s:144:"a:2:{i:9991;a:2:{s:3:"tag";s:8:"nivel a1";s:7:"tag_url";s:8:"nivel-a1";}i:4432;a:2:{s:3:"tag";s:10:"português";s:7:"tag_url";s:9:"portugues";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11323;a:22:{s:9:"thread_id";i:11323;s:7:"node_id";i:77;s:5:"title";s:45:"Preparación al diploma de español - Dele C1";s:11:"reply_count";i:0;s:10:"view_count";i:33;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602145182;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:12542;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602145182;s:12:"last_post_id";i:12542;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:28;s:4:"tags";s:137:"a:2:{i:9990;a:2:{s:3:"tag";s:7:"dele c1";s:7:"tag_url";s:7:"dele-c1";}i:9989;a:2:{s:3:"tag";s:8:"español";s:7:"tag_url";s:7:"espanol";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:11331;a:22:{s:9:"thread_id";i:11331;s:7:"node_id";i:183;s:5:"title";s:35:"For Ages 3-4-5 | My book of numbers";s:11:"reply_count";i:0;s:10:"view_count";i:39;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602514384;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:12551;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602514384;s:12:"last_post_id";i:12551;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:130:"a:2:{i:2348;a:2:{s:3:"tag";s:5:"kumon";s:7:"tag_url";s:5:"kumon";}i:1686;a:2:{s:3:"tag";s:6:"number";s:7:"tag_url";s:6:"number";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11332;a:22:{s:9:"thread_id";i:11332;s:7:"node_id";i:183;s:5:"title";s:41:"For Ages 3-4-5 | My first book of cutting";s:11:"reply_count";i:0;s:10:"view_count";i:34;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602514512;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:12552;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602514512;s:12:"last_post_id";i:12552;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:67:"a:1:{i:2348;a:2:{s:3:"tag";s:5:"kumon";s:7:"tag_url";s:5:"kumon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11333;a:22:{s:9:"thread_id";i:11333;s:7:"node_id";i:183;s:5:"title";s:39:"For Ages 3-4-5 | My first book of mazes";s:11:"reply_count";i:0;s:10:"view_count";i:26;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602514735;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:12553;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602514735;s:12:"last_post_id";i:12553;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:2348;a:2:{s:3:"tag";s:5:"kumon";s:7:"tag_url";s:5:"kumon";}i:2349;a:2:{s:3:"tag";s:5:"mazes";s:7:"tag_url";s:5:"mazes";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11334;a:22:{s:9:"thread_id";i:11334;s:7:"node_id";i:183;s:5:"title";s:30:"For Ages 4-5-6 | Amazing Mazes";s:11:"reply_count";i:0;s:10:"view_count";i:27;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602515002;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:12554;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602515002;s:12:"last_post_id";i:12554;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:2348;a:2:{s:3:"tag";s:5:"kumon";s:7:"tag_url";s:5:"kumon";}i:2349;a:2:{s:3:"tag";s:5:"mazes";s:7:"tag_url";s:5:"mazes";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:11335;a:22:{s:9:"thread_id";i:11335;s:7:"node_id";i:183;s:5:"title";s:38:"For Ages 4-5-6| My book of Easy Crafts";s:11:"reply_count";i:0;s:10:"view_count";i:25;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1602515088;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:12555;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1602515088;s:12:"last_post_id";i:12555;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:130:"a:2:{i:9995;a:2:{s:3:"tag";s:6:"crafts";s:7:"tag_url";s:6:"crafts";}i:2348;a:2:{s:3:"tag";s:5:"kumon";s:7:"tag_url";s:5:"kumon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:12775;a:22:{s:9:"thread_id";i:12775;s:7:"node_id";i:202;s:5:"title";s:57:"Financial Risk Management for dummies, Wiley, Aaron Brown";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611245292;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:14028;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611245292;s:12:"last_post_id";i:14028;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:264:"a:4:{i:11097;a:2:{s:3:"tag";s:11:"aaron brown";s:7:"tag_url";s:11:"aaron-brown";}i:1244;a:2:{s:3:"tag";s:7:"dummies";s:7:"tag_url";s:7:"dummies";}i:792;a:2:{s:3:"tag";s:3:"frm";s:7:"tag_url";s:3:"frm";}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:12774;a:22:{s:9:"thread_id";i:12774;s:7:"node_id";i:185;s:5:"title";s:74:"CFA level 1 Schweser's QuickSheet, Critical Concepts for the 2020 CFA Exam";s:11:"reply_count";i:0;s:10:"view_count";i:3;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611244629;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:14027;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611244629;s:12:"last_post_id";i:14027;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:344:"a:5:{i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:6671;a:2:{s:3:"tag";s:8:"cfa 2020";s:7:"tag_url";s:8:"cfa-2020";}i:11096;a:2:{s:3:"tag";s:8:"cfa exam";s:7:"tag_url";s:8:"cfa-exam";}i:6672;a:2:{s:3:"tag";s:11:"cfa level 1";s:7:"tag_url";s:11:"cfa-level-1";}i:957;a:2:{s:3:"tag";s:10:"quicksheet";s:7:"tag_url";s:10:"quicksheet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12773;a:22:{s:9:"thread_id";i:12773;s:7:"node_id";i:185;s:5:"title";s:53:"Wiley's Level I CFA 2020 Programe Study guide, Book 5";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611244456;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:14026;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611244456;s:12:"last_post_id";i:14026;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:632:"a:9:{i:4174;a:2:{s:3:"tag";s:4:"2020";s:7:"tag_url";s:4:"2020";}i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:6671;a:2:{s:3:"tag";s:8:"cfa 2020";s:7:"tag_url";s:8:"cfa-2020";}i:6672;a:2:{s:3:"tag";s:11:"cfa level 1";s:7:"tag_url";s:11:"cfa-level-1";}i:7846;a:2:{s:3:"tag";s:11:"exam review";s:7:"tag_url";s:11:"exam-review";}i:641;a:2:{s:3:"tag";s:7:"level 1";s:7:"tag_url";s:7:"level-1";}i:11095;a:2:{s:3:"tag";s:20:"programe study guide";s:7:"tag_url";s:20:"programe-study-guide";}i:1512;a:2:{s:3:"tag";s:11:"study guide";s:7:"tag_url";s:11:"study-guide";}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:12772;a:22:{s:9:"thread_id";i:12772;s:7:"node_id";i:185;s:5:"title";s:53:"Wiley's Level I CFA 2020 Programe Study guide, Book 4";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611244376;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:14025;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611244376;s:12:"last_post_id";i:14025;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:632:"a:9:{i:4174;a:2:{s:3:"tag";s:4:"2020";s:7:"tag_url";s:4:"2020";}i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:6671;a:2:{s:3:"tag";s:8:"cfa 2020";s:7:"tag_url";s:8:"cfa-2020";}i:6672;a:2:{s:3:"tag";s:11:"cfa level 1";s:7:"tag_url";s:11:"cfa-level-1";}i:7846;a:2:{s:3:"tag";s:11:"exam review";s:7:"tag_url";s:11:"exam-review";}i:641;a:2:{s:3:"tag";s:7:"level 1";s:7:"tag_url";s:7:"level-1";}i:11095;a:2:{s:3:"tag";s:20:"programe study guide";s:7:"tag_url";s:20:"programe-study-guide";}i:1512;a:2:{s:3:"tag";s:11:"study guide";s:7:"tag_url";s:11:"study-guide";}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:12771;a:22:{s:9:"thread_id";i:12771;s:7:"node_id";i:185;s:5:"title";s:53:"Wiley's Level I CFA 2020 Programe Study guide, Book 3";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611244311;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:14024;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611244311;s:12:"last_post_id";i:14024;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:632:"a:9:{i:4174;a:2:{s:3:"tag";s:4:"2020";s:7:"tag_url";s:4:"2020";}i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:6671;a:2:{s:3:"tag";s:8:"cfa 2020";s:7:"tag_url";s:8:"cfa-2020";}i:6672;a:2:{s:3:"tag";s:11:"cfa level 1";s:7:"tag_url";s:11:"cfa-level-1";}i:7846;a:2:{s:3:"tag";s:11:"exam review";s:7:"tag_url";s:11:"exam-review";}i:641;a:2:{s:3:"tag";s:7:"level 1";s:7:"tag_url";s:7:"level-1";}i:11095;a:2:{s:3:"tag";s:20:"programe study guide";s:7:"tag_url";s:20:"programe-study-guide";}i:1512;a:2:{s:3:"tag";s:11:"study guide";s:7:"tag_url";s:11:"study-guide";}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;}}}
Run Time: 1.324459
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('For Ages 3-4-5 | My book of number games 1-70' 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 <> 11330)
AND MATCH(search_index.title) AGAINST ('For Ages 3-4-5 | My book of number games 1-70' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.123657
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 244 | Using index condition; Using where; 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.000259
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.000252
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 <> 11330)
ORDER BY RAND()
LIMIT 5
Run Time: 0.011231
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 6504 | 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 (9003, 5735, 11573, 11434, 11002))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000944
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, 146
Run Time: 0.000272
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.000214
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, 39
Run Time: 0.000309
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, 101
Run Time: 0.000305
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 = 11330)
Run Time: 0.011397
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 7212 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 2a8e6fbe642460a5362f7a40b33ad762, a:7:{s:12:"sessionStart";i:1611255397;s:2:"ip";s:4:"腍";s:11:"sessionCsrf";s:16:"uICmDlbaobVDKpUW";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1587171455;}}, 1611258997
Run Time: 0.000320
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=11330, 1611255397,
Run Time: 0.000222
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.000891
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.000270
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 4 | 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.000238
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 4 | 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.000363
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |