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.000702
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.000247
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.006140
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10788 | |
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: 5554
Run Time: 0.001315
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: 54
Run Time: 0.000571
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: 5554
Run Time: 0.004231
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: 5554
Run Time: 0.000279
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 5554, 0
Run Time: 0.777403
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 24913 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1551088256)) AND (thread.thread_id <> 5554)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000719
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 5262 | 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.000268
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, 17
Run Time: 0.000247
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.000212
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 > 1551088256)) AND (thread.thread_id <> 5554)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.005229
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11205 | 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, 48
Run Time: 0.000275
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.000218
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, 128
Run Time: 0.000210
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, 49
Run Time: 0.000217
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 <> 5554)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000866
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, 364
Run Time: 0.000299
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, 196
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, 210
Run Time: 0.001585
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, 217
Run Time: 0.000260
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 = 5554 AND user_id = 0)
Params: 1713606378, a:3:{s:12:"olderThreads";a:5:{i:5553;a:22:{s:9:"thread_id";i:5553;s:7:"node_id";i:126;s:5:"title";s:24:"High probability trading";s:11:"reply_count";i:0;s:10:"view_count";i:1032;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551088078;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:6302;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551088078;s:12:"last_post_id";i:6302;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:71:"a:1:{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;}i:5552;a:22:{s:9:"thread_id";i:5552;s:7:"node_id";i:17;s:5:"title";s:32:"Introduction to Algorithms (2nd)";s:11:"reply_count";i:0;s:10:"view_count";i:834;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551087834;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:6301;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551087834;s:12:"last_post_id";i:6301;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:79:"a:1:{i:4877;a:2:{s:3:"tag";s:10:"algorithms";s:7:"tag_url";s:10:"algorithms";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5551;a:22:{s:9:"thread_id";i:5551;s:7:"node_id";i:126;s:5:"title";s:71:"Predicting the markets : A professional Autobiography by Edward Yardeni";s:11:"reply_count";i:0;s:10:"view_count";i:755;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551087590;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:6300;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551087590;s:12:"last_post_id";i:6300;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:152:"a:2:{i:4876;a:2:{s:3:"tag";s:14:"edward yardeni";s:7:"tag_url";s:14:"edward-yardeni";}i:1999;a:2:{s:3:"tag";s:7:"predict";s:7:"tag_url";s:7:"predict";}}";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;}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:1378;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;}}s:12:"newerThreads";a:5:{i:5555;a:22:{s:9:"thread_id";i:5555;s:7:"node_id";i:48;s:5:"title";s:52:"Mastering Your Hidden Self (A guide to the Huna Way)";s:11:"reply_count";i:0;s:10:"view_count";i:736;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551088434;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:6304;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551088434;s:12:"last_post_id";i:6304;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:73:"a:1:{i:4880;a:2:{s:3:"tag";s:8:"huna way";s:7:"tag_url";s:8:"huna-way";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5556;a:22:{s:9:"thread_id";i:5556;s:7:"node_id";i:28;s:5:"title";s:73:"Nudge Improving Decisions About Health, Wealth, and Happiness (Cú hích)";s:11:"reply_count";i:0;s:10:"view_count";i:671;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551088839;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:6305;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551088839;s:12:"last_post_id";i:6305;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:263:"a:4:{i:4882;a:2:{s:3:"tag";s:9:"cú hích";s:7:"tag_url";s:7:"cu-hich";}i:2084;a:2:{s:3:"tag";s:9:"economics";s:7:"tag_url";s:9:"economics";}i:101;a:2:{s:3:"tag";s:5:"nobel";s:7:"tag_url";s:5:"nobel";}i:4881;a:2:{s:3:"tag";s:5:"nudge";s:7:"tag_url";s:5:"nudge";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5557;a:22:{s:9:"thread_id";i:5557;s:7:"node_id";i:128;s:5:"title";s:26:"Deep Learning with PyTorch";s:11:"reply_count";i:0;s:10:"view_count";i:1113;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551089473;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:6306;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551089473;s:12:"last_post_id";i:6306;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:300:"a:4:{i:4884;a:2:{s:3:"tag";s:13:"deep learning";s:7:"tag_url";s:13:"deep-learning";}i:4886;a:2:{s:3:"tag";s:5:"packt";s:7:"tag_url";s:5:"packt";}i:4883;a:2:{s:3:"tag";s:7:"pytorch";s:7:"tag_url";s:7:"pytorch";}i:4885;a:2:{s:3:"tag";s:18:"vishnu subramanian";s:7:"tag_url";s:18:"vishnu-subramanian";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5558;a:22:{s:9:"thread_id";i:5558;s:7:"node_id";i:17;s:5:"title";s:84:"The complete book of essential oils and aromatherapy (tinh dầu và hương liệu)";s:11:"reply_count";i:0;s:10:"view_count";i:761;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551089778;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:6307;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551089778;s:12:"last_post_id";i:6307;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:361:"a:5:{i:4887;a:2:{s:3:"tag";s:12:"aromatherapy";s:7:"tag_url";s:12:"aromatherapy";}i:3091;a:2:{s:3:"tag";s:13:"complete book";s:7:"tag_url";s:13:"complete-book";}i:4890;a:2:{s:3:"tag";s:10:"huong lieu";s:7:"tag_url";s:10:"huong-lieu";}i:4888;a:2:{s:3:"tag";s:4:"oils";s:7:"tag_url";s:4:"oils";}i:4889;a:2:{s:3:"tag";s:8:"tinh dau";s:7:"tag_url";s:8:"tinh-dau";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5559;a:22:{s:9:"thread_id";i:5559;s:7:"node_id";i:49;s:5:"title";s:84:"Owning your own shadow (understanding the dark side of the psyche) Robert A. Johnson";s:11:"reply_count";i:0;s:10:"view_count";i:952;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1551089947;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:6308;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1551089947;s:12:"last_post_id";i:6308;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:131:"a:2:{i:4891;a:2:{s:3:"tag";s:6:"psyche";s:7:"tag_url";s:6:"psyche";}i:367;a:2:{s:3:"tag";s:6:"tam ly";s:7:"tag_url";s:6:"tam-ly";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25385;a:22:{s:9:"thread_id";i:25385;s:7:"node_id";i:364;s:5:"title";s:100:"Accounting for Cambridge International AS & A Level Coursebook Answer Keys, Third Edition (Teacher's";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:1713606159;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:30323;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713606159;s:12:"last_post_id";i:30323;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:16031;a:2:{s:3:"tag";s:7:"a level";s:7:"tag_url";s:7:"a-level";}i:2155;a:2:{s:3:"tag";s:10:"accounting";s:7:"tag_url";s:10:"accounting";}i:22071;a:2:{s:3:"tag";s:12:"as & a level";s:7:"tag_url";s:10:"as-a-level";}i:12598;a:2:{s:3:"tag";s:23:"cambridge international";s:7:"tag_url";s:23:"cambridge-international";}i:4515;a:2:{s:3:"tag";s:18:"teacher's resource";s:7:"tag_url";s:17:"teachers-resource";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25384;a:22:{s:9:"thread_id";i:25384;s:7:"node_id";i:196;s:5:"title";s:133:"Tuyển chọn đề thi toán vào lớp 10 của một số trường chuyên và chất lượng cao, có đáp án chi tiết, Ng";s:11:"reply_count";i:0;s:10:"view_count";i:76;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713460724;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:30322;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460724;s:12:"last_post_id";i:30322;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:752:"a:9:{i:8869;a:2:{s:3:"tag";s:14:"chat luong cao";s:7:"tag_url";s:14:"chat-luong-cao";}i:11260;a:2:{s:3:"tag";s:11:"chuyen toan";s:7:"tag_url";s:11:"chuyen-toan";}i:22070;a:2:{s:3:"tag";s:20:"nguyen thi quynh mai";s:7:"tag_url";s:20:"nguyen-thi-quynh-mai";}i:11597;a:2:{s:3:"tag";s:16:"nguyen van thanh";s:7:"tag_url";s:16:"nguyen-van-thanh";}i:22068;a:2:{s:3:"tag";s:18:"nguyen xuan nguyen";s:7:"tag_url";s:18:"nguyen-xuan-nguyen";}i:8813;a:2:{s:3:"tag";s:17:"on thi vao lop 10";s:7:"tag_url";s:17:"on-thi-vao-lop-10";}i:22069;a:2:{s:3:"tag";s:21:"phung thi thuy nguyen";s:7:"tag_url";s:21:"phung-thi-thuy-nguyen";}i:8512;a:2:{s:3:"tag";s:6:"toan 9";s:7:"tag_url";s:6:"toan-9";}i:8079;a:2:{s:3:"tag";s:10:"tuyen chon";s:7:"tag_url";s:10:"tuyen-chon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25383;a:22:{s:9:"thread_id";i:25383;s:7:"node_id";i:28;s:5:"title";s:104:"Phương pháp rèn luyện bộ não tập trung tức thì, Kenichiro Mogi, Hoàng Thị Hồng dịch";s:11:"reply_count";i:1;s:10:"view_count";i:30;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713460381;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:30320;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460389;s:12:"last_post_id";i:30321;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:379:"a:5:{i:22067;a:2:{s:3:"tag";s:14:"hoang thi hong";s:7:"tag_url";s:14:"hoang-thi-hong";}i:22065;a:2:{s:3:"tag";s:14:"kenichiro mogi";s:7:"tag_url";s:14:"kenichiro-mogi";}i:11042;a:2:{s:3:"tag";s:6:"nao bo";s:7:"tag_url";s:6:"nao-bo";}i:2063;a:2:{s:3:"tag";s:11:"phuong phap";s:7:"tag_url";s:11:"phuong-phap";}i:22066;a:2:{s:3:"tag";s:9:"tap trung";s:7:"tag_url";s:9:"tap-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25382;a:22:{s:9:"thread_id";i:25382;s:7:"node_id";i:210;s:5:"title";s:87:"Những vấn đề ngữ pháp tiếng Việt hiện đại, Giáo Sư Lưu Vân Lăng";s:11:"reply_count";i:1;s:10:"view_count";i:29;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459938;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:30318;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713460048;s:12:"last_post_id";i:30319;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:415:"a:5:{i:22064;a:2:{s:3:"tag";s:12:"luu van lang";s:7:"tag_url";s:12:"luu-van-lang";}i:7900;a:2:{s:3:"tag";s:12:"ngon ngu hoc";s:7:"tag_url";s:12:"ngon-ngu-hoc";}i:12220;a:2:{s:3:"tag";s:19:"ngu phap tieng viet";s:7:"tag_url";s:19:"ngu-phap-tieng-viet";}i:572;a:2:{s:3:"tag";s:10:"tieng viet";s:7:"tag_url";s:10:"tieng-viet";}i:13887;a:2:{s:3:"tag";s:18:"vietnamese grammar";s:7:"tag_url";s:18:"vietnamese-grammar";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25381;a:22:{s:9:"thread_id";i:25381;s:7:"node_id";i:217;s:5:"title";s:117:"Các lỗi thường gặp trong ngữ pháp tiếng Anh, Ngô Quốc Ân, Common mistakes in English Grammar and how";s:11:"reply_count";i:0;s:10:"view_count";i:36;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1713459495;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:30317;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1713459495;s:12:"last_post_id";i:30317;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:313:"a:4:{i:4020;a:2:{s:3:"tag";s:15:"common mistakes";s:7:"tag_url";s:15:"common-mistakes";}i:3849;a:2:{s:3:"tag";s:15:"english grammar";s:7:"tag_url";s:15:"english-grammar";}i:1516;a:2:{s:3:"tag";s:7:"mistake";s:7:"tag_url";s:7:"mistake";}i:22063;a:2:{s:3:"tag";s:11:"ngo quoc an";s:7:"tag_url";s:11:"ngo-quoc-an";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 1.480524
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Game Theory and Animal Behavior' 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 <> 5554)
AND MATCH(search_index.title) AGAINST ('Game Theory and Animal Behavior' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.231336
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, 20
Run Time: 0.000330
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.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, 10
Run Time: 0.000268
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 <> 5554)
ORDER BY RAND()
LIMIT 5
Run Time: 0.025753
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22411 | 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 (3157, 14248, 24718, 11853, 10314))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000852
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, 170
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 77
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 21
Run Time: 0.000190
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 136
Run Time: 0.000207
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, 7
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 5554)
Run Time: 0.045465
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25463 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 283eb81b4d3b30910042599d1e23889b, , 1713609978
Run Time: 0.000237
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=5554, 1713606378,
Run Time: 0.000172
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.000663
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.000440
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.000274
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.000391
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.000271
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |