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.000847
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.000207
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.006757
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 11075 | |
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: 2751
Run Time: 0.048024
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: 26
Run Time: 0.000541
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: 2751
Run Time: 0.077893
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: 2751
Run Time: 0.000318
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 2751, 0
Run Time: 0.374093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25147 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1534075477)) AND (thread.thread_id <> 2751)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.383529
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 2591 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1534075477)) AND (thread.thread_id <> 2751)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.024480
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11695 | 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 <> 2751)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001105
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, 156
Run Time: 0.000633
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, 170
Run Time: 0.000349
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 = 2751 AND user_id = 0)
Params: 1715803470, a:3:{s:12:"olderThreads";a:5:{i:2750;a:22:{s:9:"thread_id";i:2750;s:7:"node_id";i:26;s:5:"title";s:52:"Tam Quốc Chí Diễn Nghĩa Q3 - Mộng Bình Sơn";s:11:"reply_count";i:0;s:10:"view_count";i:812;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075440;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:3044;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075440;s:12:"last_post_id";i:3044;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:183:"a:2:{i:947;a:2:{s:3:"tag";s:13:"mong binh son";s:7:"tag_url";s:13:"mong-binh-son";}i:3284;a:2:{s:3:"tag";s:23:"tam quoc chi dien nghia";s:7:"tag_url";s:23:"tam-quoc-chi-dien-nghia";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2749;a:22:{s:9:"thread_id";i:2749;s:7:"node_id";i:26;s:5:"title";s:133:"Phương pháp bảo vệ đấu tranh cho nhân quyền và dân quyền của Pháp - Công việc của họ ở Bắc Kỳ, trong";s:11:"reply_count";i:0;s:10:"view_count";i:729;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075257;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:3043;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075257;s:12:"last_post_id";i:3043;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:5:{i:3282;a:2:{s:3:"tag";s:4:"1910";s:7:"tag_url";s:4:"1910";}i:2794;a:2:{s:3:"tag";s:4:"1911";s:7:"tag_url";s:4:"1911";}i:3283;a:2:{s:3:"tag";s:4:"1912";s:7:"tag_url";s:4:"1912";}i:3281;a:2:{s:3:"tag";s:4:"1913";s:7:"tag_url";s:4:"1913";}i:524;a:2:{s:3:"tag";s:6:"tonkin";s:7:"tag_url";s:6:"tonkin";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2748;a:22:{s:9:"thread_id";i:2748;s:7:"node_id";i:26;s:5:"title";s:30:"Hygiène de l'Indo-Chine, 1908";s:11:"reply_count";i:0;s:10:"view_count";i:723;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075171;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:3042;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075171;s:12:"last_post_id";i:3042;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2747;a:22:{s:9:"thread_id";i:2747;s:7:"node_id";i:26;s:5:"title";s:100:"Vắc-xin ở Nam Kỳ và Y lý Trung Hoa về bịnh đậu mùa và các biến chứng - Mougeot";s:11:"reply_count";i:0;s:10:"view_count";i:701;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075090;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:3041;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075090;s:12:"last_post_id";i:3041;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2746;a:22:{s:9:"thread_id";i:2746;s:7:"node_id";i:26;s:5:"title";s:50:"Thi Ca Bình Dân Việt Nam - Q2 - Xã Hội Quan";s:11:"reply_count";i:0;s:10:"view_count";i:648;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534074998;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:3040;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534074998;s:12:"last_post_id";i:3040;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:89:"a:1:{i:3279;a:2:{s:3:"tag";s:15:"thi ca binh dan";s:7:"tag_url";s:15:"thi-ca-binh-dan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:2752;a:22:{s:9:"thread_id";i:2752;s:7:"node_id";i:26;s:5:"title";s:52:"Tam Quốc Chí Diễn Nghĩa Q5 - Mộng Bình Sơn";s:11:"reply_count";i:0;s:10:"view_count";i:791;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075511;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:3046;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075511;s:12:"last_post_id";i:3046;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:183:"a:2:{i:947;a:2:{s:3:"tag";s:13:"mong binh son";s:7:"tag_url";s:13:"mong-binh-son";}i:3284;a:2:{s:3:"tag";s:23:"tam quoc chi dien nghia";s:7:"tag_url";s:23:"tam-quoc-chi-dien-nghia";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2753;a:22:{s:9:"thread_id";i:2753;s:7:"node_id";i:26;s:5:"title";s:52:"Tam Quốc Chí Diễn Nghĩa Q1 - Mộng Bình Sơn";s:11:"reply_count";i:0;s:10:"view_count";i:790;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075566;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:3047;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075566;s:12:"last_post_id";i:3047;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:183:"a:2:{i:947;a:2:{s:3:"tag";s:13:"mong binh son";s:7:"tag_url";s:13:"mong-binh-son";}i:3284;a:2:{s:3:"tag";s:23:"tam quoc chi dien nghia";s:7:"tag_url";s:23:"tam-quoc-chi-dien-nghia";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2754;a:22:{s:9:"thread_id";i:2754;s:7:"node_id";i:26;s:5:"title";s:52:"Tam Quốc Chí Diễn Nghĩa Q2 - Mộng Bình Sơn";s:11:"reply_count";i:0;s:10:"view_count";i:889;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075610;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:3048;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075610;s:12:"last_post_id";i:3048;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:262:"a:3:{i:1613;a:2:{s:3:"tag";s:13:"la quan trung";s:7:"tag_url";s:13:"la-quan-trung";}i:947;a:2:{s:3:"tag";s:13:"mong binh son";s:7:"tag_url";s:13:"mong-binh-son";}i:3284;a:2:{s:3:"tag";s:23:"tam quoc chi dien nghia";s:7:"tag_url";s:23:"tam-quoc-chi-dien-nghia";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2755;a:22:{s:9:"thread_id";i:2755;s:7:"node_id";i:26;s:5:"title";s:37:"Tam Quốc Tam Tuyệt - Đông Tùng";s:11:"reply_count";i:0;s:10:"view_count";i:993;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075695;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:3049;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075695;s:12:"last_post_id";i:3049;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:3286;a:2:{s:3:"tag";s:9:"dong tung";s:7:"tag_url";s:9:"dong-tung";}i:3285;a:2:{s:3:"tag";s:18:"tam quoc tam tuyet";s:7:"tag_url";s:18:"tam-quoc-tam-tuyet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:2756;a:22:{s:9:"thread_id";i:2756;s:7:"node_id";i:26;s:5:"title";s:31:"Đế Quốc Nhật Dãy Chết";s:11:"reply_count";i:0;s:10:"view_count";i:810;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1534075746;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:3050;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534075746;s:12:"last_post_id";i:3050;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25619;a:22:{s:9:"thread_id";i:25619;s:7:"node_id";i:156;s:5:"title";s:45:"Smart Choice Starter 2nd Edition Student book";s:11:"reply_count";i:0;s:10:"view_count";i:19;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1715744445;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:30633;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715744445;s:12:"last_post_id";i:30633;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:253:"a:3:{i:2654;a:2:{s:3:"tag";s:12:"smart choice";s:7:"tag_url";s:12:"smart-choice";}i:21175;a:2:{s:3:"tag";s:20:"smart choice starter";s:7:"tag_url";s:20:"smart-choice-starter";}i:702;a:2:{s:3:"tag";s:12:"student book";s:7:"tag_url";s:12:"student-book";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25618;a:22:{s:9:"thread_id";i:25618;s:7:"node_id";i:170;s:5:"title";s:51:"Oxford International Primary Geography 6 Workbook 6";s:11:"reply_count";i:0;s:10:"view_count";i:42;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1715615657;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:30631;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715615657;s:12:"last_post_id";i:30631;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:367:"a:4:{i:2704;a:2:{s:3:"tag";s:9:"geography";s:7:"tag_url";s:9:"geography";}i:17213;a:2:{s:3:"tag";s:20:"oxford international";s:7:"tag_url";s:20:"oxford-international";}i:22388;a:2:{s:3:"tag";s:28:"oxford international primary";s:7:"tag_url";s:28:"oxford-international-primary";}i:22387;a:2:{s:3:"tag";s:17:"primary geography";s:7:"tag_url";s:17:"primary-geography";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25617;a:22:{s:9:"thread_id";i:25617;s:7:"node_id";i:170;s:5:"title";s:51:"Oxford International Primary Geography 5 Workbook 5";s:11:"reply_count";i:0;s:10:"view_count";i:26;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1715615625;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:30630;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715615625;s:12:"last_post_id";i:30630;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:367:"a:4:{i:2704;a:2:{s:3:"tag";s:9:"geography";s:7:"tag_url";s:9:"geography";}i:17213;a:2:{s:3:"tag";s:20:"oxford international";s:7:"tag_url";s:20:"oxford-international";}i:22388;a:2:{s:3:"tag";s:28:"oxford international primary";s:7:"tag_url";s:28:"oxford-international-primary";}i:22387;a:2:{s:3:"tag";s:17:"primary geography";s:7:"tag_url";s:17:"primary-geography";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25616;a:22:{s:9:"thread_id";i:25616;s:7:"node_id";i:170;s:5:"title";s:51:"Oxford International Primary Geography 4 Workbook 4";s:11:"reply_count";i:0;s:10:"view_count";i:21;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1715615583;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:30629;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715615583;s:12:"last_post_id";i:30629;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:367:"a:4:{i:2704;a:2:{s:3:"tag";s:9:"geography";s:7:"tag_url";s:9:"geography";}i:17213;a:2:{s:3:"tag";s:20:"oxford international";s:7:"tag_url";s:20:"oxford-international";}i:22388;a:2:{s:3:"tag";s:28:"oxford international primary";s:7:"tag_url";s:28:"oxford-international-primary";}i:22387;a:2:{s:3:"tag";s:17:"primary geography";s:7:"tag_url";s:17:"primary-geography";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25615;a:22:{s:9:"thread_id";i:25615;s:7:"node_id";i:170;s:5:"title";s:51:"Oxford International Primary Geography 3 Workbook 3";s:11:"reply_count";i:0;s:10:"view_count";i:24;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1715615543;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:30628;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715615543;s:12:"last_post_id";i:30628;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:367:"a:4:{i:2704;a:2:{s:3:"tag";s:9:"geography";s:7:"tag_url";s:9:"geography";}i:17213;a:2:{s:3:"tag";s:20:"oxford international";s:7:"tag_url";s:20:"oxford-international";}i:22388;a:2:{s:3:"tag";s:28:"oxford international primary";s:7:"tag_url";s:28:"oxford-international-primary";}i:22387;a:2:{s:3:"tag";s:17:"primary geography";s:7:"tag_url";s:17:"primary-geography";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.830185
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Tam Quốc Chí Diễn Nghĩa Q4 - Mộng Bình Sơn' 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 <> 2751)
AND MATCH(search_index.title) AGAINST ('Tam Quốc Chí Diễn Nghĩa Q4 - Mộng Bình Sơn' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.784307
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 501 | 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, 36
Run Time: 0.000340
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, 2
Run Time: 0.000147
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, 11
Run Time: 0.000102
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 <> 2751)
ORDER BY RAND()
LIMIT 5
Run Time: 0.373339
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23391 | 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 (22591, 16702, 6513, 8031, 21000))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.002132
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, 76
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, 281
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 139
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, 23
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 = 2751)
Run Time: 0.543515
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25699 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 53118afac1134d50fb790949c42fed74, , 1715807070
Run Time: 0.023634
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=2751, 1715803470,
Run Time: 0.000207
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.006348
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.000287
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.000222
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.000225
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.000199
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |