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.001089
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.000336
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.000242
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 33 | |
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: 7329
Run Time: 0.000644
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: 15
Run Time: 0.000816
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: 7329
Run Time: 0.001669
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: 7329
Run Time: 0.000275
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 7329, 0
Run Time: 0.089761
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 8091 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1568187490)) AND (thread.thread_id <> 7329)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001964
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 6990 | 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.000240
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.000286
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, 19
Run Time: 0.000204
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 > 1568187490)) AND (thread.thread_id <> 7329)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.000455
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 959 | 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, 17
Run Time: 0.000223
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.000186
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, 91
Run Time: 0.000356
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.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 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 7329)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000350
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | PRIMARY | post_date | 4 | | 6 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 108
Run Time: 0.000332
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, 99
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, 100
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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 7329 AND user_id = 0)
Params: 1575722261, a:3:{s:12:"olderThreads";a:5:{i:7328;a:22:{s:9:"thread_id";i:7328;s:7:"node_id";i:48;s:5:"title";s:36:"The America we deserve | Donal Trump";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568187188;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:8227;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568187188;s:12:"last_post_id";i:8227;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:5893;a:2:{s:3:"tag";s:7:"america";s:7:"tag_url";s:7:"america";}i:5892;a:2:{s:3:"tag";s:11:"donal trump";s:7:"tag_url";s:11:"donal-trump";}i:5208;a:2:{s:3:"tag";s:5:"trump";s:7:"tag_url";s:5:"trump";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7327;a:22:{s:9:"thread_id";i:7327;s:7:"node_id";i:131;s:5:"title";s:44:"Tâm lý học đám đông | Gustave le Bon";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568186907;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:8226;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568186907;s:12:"last_post_id";i:8226;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:27;s:4:"tags";s:87:"a:1:{i:5891;a:2:{s:3:"tag";s:14:"gustave le bon";s:7:"tag_url";s:14:"gustave-le-bon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7326;a:22:{s:9:"thread_id";i:7326;s:7:"node_id";i:131;s:5:"title";s:58:"The Complete Resource Book for preschoolers - Kay Hastings";s:11:"reply_count";i:0;s:10:"view_count";i:12;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568186803;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:8225;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568186803;s:12:"last_post_id";i:8225;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:27;s:4:"tags";s:160:"a:2:{i:5889;a:2:{s:3:"tag";s:12:"kay hastings";s:7:"tag_url";s:12:"kay-hastings";}i:5890;a:2:{s:3:"tag";s:12:"preschoolers";s:7:"tag_url";s:12:"preschoolers";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7325;a:22:{s:9:"thread_id";i:7325;s:7:"node_id";i:48;s:5:"title";s:41:"The Vietnam Nationalist Party (1927-1954)";s:11:"reply_count";i:0;s:10:"view_count";i:32;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568186696;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:8224;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568186696;s:12:"last_post_id";i:8224;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:63:"a:1:{i:5888;a:2:{s:3:"tag";s:3:"vnp";s:7:"tag_url";s:3:"vnp";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7324;a:22:{s:9:"thread_id";i:7324;s:7:"node_id";i:19;s:5:"title";s:48:"Why Startups Fail And How Your - David Feinleib";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:1568186442;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:8223;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568186442;s:12:"last_post_id";i:8223;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:5887;a:2:{s:3:"tag";s:14:"david feinleib";s:7:"tag_url";s:14:"david-feinleib";}i:4868;a:2:{s:3:"tag";s:7:"startup";s:7:"tag_url";s:7:"startup";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:7330;a:22:{s:9:"thread_id";i:7330;s:7:"node_id";i:17;s:5:"title";s:70:"Canh tác hữu cơ (tham khảo cho sản xuất rau, quả và chè)";s:11:"reply_count";i:0;s:10:"view_count";i:67;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568187703;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:8229;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568187703;s:12:"last_post_id";i:8229;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:210:"a:3:{i:5897;a:2:{s:3:"tag";s:8:"canh tac";s:7:"tag_url";s:8:"canh-tac";}i:5896;a:2:{s:3:"tag";s:6:"huu co";s:7:"tag_url";s:6:"huu-co";}i:412;a:2:{s:3:"tag";s:11:"nong nghiep";s:7:"tag_url";s:11:"nong-nghiep";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7331;a:22:{s:9:"thread_id";i:7331;s:7:"node_id";i:131;s:5:"title";s:62:"Tuyển tập các bài viết của GS - Nguyễn Văn Tuấn";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:1568187951;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:8230;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568187951;s:12:"last_post_id";i:8230;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:27;s:4:"tags";s:138:"a:2:{i:781;a:2:{s:3:"tag";s:7:"giao su";s:7:"tag_url";s:7:"giao-su";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7332;a:22:{s:9:"thread_id";i:7332;s:7:"node_id";i:21;s:5:"title";s:44:"Piano Lessons by Anna Goldsworthy | a Memoir";s:11:"reply_count";i:0;s:10:"view_count";i:47;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568188049;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:8231;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568188049;s:12:"last_post_id";i:8231;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:91:"a:1:{i:5898;a:2:{s:3:"tag";s:16:"anna goldsworthy";s:7:"tag_url";s:16:"anna-goldsworthy";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7333;a:22:{s:9:"thread_id";i:7333;s:7:"node_id";i:91;s:5:"title";s:75:"The usborne book of the future (a trip in time to the year 2000 and beyond)";s:11:"reply_count";i:0;s:10:"view_count";i:38;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568188152;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:8232;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568188152;s:12:"last_post_id";i:8232;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:250:"a:4:{i:3837;a:2:{s:3:"tag";s:4:"1979";s:7:"tag_url";s:4:"1979";}i:753;a:2:{s:3:"tag";s:4:"2000";s:7:"tag_url";s:4:"2000";}i:5899;a:2:{s:3:"tag";s:6:"future";s:7:"tag_url";s:6:"future";}i:272;a:2:{s:3:"tag";s:7:"usborne";s:7:"tag_url";s:7:"usborne";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7334;a:22:{s:9:"thread_id";i:7334;s:7:"node_id";i:43;s:5:"title";s:45:"The Usborne illustrated dictionary of biology";s:11:"reply_count";i:0;s:10:"view_count";i:44;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1568188267;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:8233;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1568188267;s:12:"last_post_id";i:8233;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:135:"a:2:{i:1146;a:2:{s:3:"tag";s:7:"biology";s:7:"tag_url";s:7:"biology";}i:272;a:2:{s:3:"tag";s:7:"usborne";s:7:"tag_url";s:7:"usborne";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:8290;a:22:{s:9:"thread_id";i:8290;s:7:"node_id";i:108;s:5:"title";s:52:"Thuật yêu đương | Thu Giang Nguyễn Duy Cần";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1575719866;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:9261;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1575719866;s:12:"last_post_id";i:9261;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:239:"a:3:{i:1725;a:2:{s:3:"tag";s:14:"nguyen duy can";s:7:"tag_url";s:14:"nguyen-duy-can";}i:1726;a:2:{s:3:"tag";s:9:"thu giang";s:7:"tag_url";s:9:"thu-giang";}i:6818;a:2:{s:3:"tag";s:15:"thuat yeu duong";s:7:"tag_url";s:15:"thuat-yeu-duong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8289;a:22:{s:9:"thread_id";i:8289;s:7:"node_id";i:108;s:5:"title";s:58:"Lời hay ý đẹp của cổ nhân | Nguyễn Vi Khiêm";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1575719803;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:9260;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1575719803;s:12:"last_post_id";i:9260;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:89:"a:1:{i:6817;a:2:{s:3:"tag";s:15:"nguyen vi khiem";s:7:"tag_url";s:15:"nguyen-vi-khiem";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8288;a:22:{s:9:"thread_id";i:8288;s:7:"node_id";i:99;s:5:"title";s:25:"Cánh buồm đỏ thắm";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1575719734;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:9259;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1575719734;s:12:"last_post_id";i:9259;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8287;a:22:{s:9:"thread_id";i:8287;s:7:"node_id";i:99;s:5:"title";s:53:"cổ tích dân gian việt nam | Truyện khôi hài";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1575719695;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:9258;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1575719695;s:12:"last_post_id";i:9258;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:8286;a:22:{s:9:"thread_id";i:8286;s:7:"node_id";i:100;s:5:"title";s:54:"Khảo luận tư tưởng Chu dịch | Lê Văn Quán";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1575719634;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:9257;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1575719634;s:12:"last_post_id";i:9257;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:26;s:4:"tags";s:147:"a:2:{i:1134;a:2:{s:3:"tag";s:8:"chu dich";s:7:"tag_url";s:8:"chu-dich";}i:778;a:2:{s:3:"tag";s:11:"le van quan";s:7:"tag_url";s:11:"le-van-quan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.177909
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Raising Kids who READ (What parents and teachers can do) | Jossey Bass | Daniel T. Willingham' 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 <> 7329)
AND MATCH(search_index.title) AGAINST ('Raising Kids who READ (What parents and teachers can do) | Jossey Bass | Daniel T. Willingham' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.073205
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | range | PRIMARY | PRIMARY | 81 | | 6242 | 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, 28
Run Time: 0.000220
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, 25
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, 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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 7329)
ORDER BY RAND()
LIMIT 5
Run Time: 0.011796
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 5775 | 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 (2598, 5370, 1341, 6472, 466))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000913
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, 50
Run Time: 0.000235
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, 35
Run Time: 0.000199
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, 30
Run Time: 0.000199
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.000197
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, 47
Run Time: 0.000197
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 = 7329)
Run Time: 0.013058
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: 0ab7901454c61605d70712067e126dfb, , 1575725861
Run Time: 0.000313
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=7329, 1575722261,
Run Time: 0.000189
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.001392
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.000268
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.000207
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.000231
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.000188
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |