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.000635
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.000245
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.006295
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10928 | |
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: 6995
Run Time: 0.028338
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.000817
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: 6995
Run Time: 0.019441
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: 6995
Run Time: 0.000349
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 6995, 0
Run Time: 0.387481
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25051 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1566322287)) AND (thread.thread_id <> 6995)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.013194
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11239 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 55
Run Time: 0.000319
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, 137
Run Time: 0.000200
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, 119
Run Time: 0.000195
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1566322287)) AND (thread.thread_id <> 6995)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.010134
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11239 | 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, 131
Run Time: 0.000283
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, 140
Run Time: 0.000219
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 6995)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000467
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, 57
Run Time: 0.000229
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, 218
Run Time: 0.000224
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 163
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, 11
Run Time: 0.000226
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 = 6995 AND user_id = 0)
Params: 1714649461, a:3:{s:12:"olderThreads";a:5:{i:6994;a:22:{s:9:"thread_id";i:6994;s:7:"node_id";i:26;s:5:"title";s:85:"Văn học Việt Nam đối kháng Trung Hoa (từ đầu đến 1428) | Thanh Lãng";s:11:"reply_count";i:0;s:10:"view_count";i:565;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566322140;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:7877;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566322140;s:12:"last_post_id";i:7877;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:209:"a:3:{i:5573;a:2:{s:3:"tag";s:4:"1428";s:7:"tag_url";s:4:"1428";}i:2441;a:2:{s:3:"tag";s:4:"1969";s:7:"tag_url";s:4:"1969";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6993;a:22:{s:9:"thread_id";i:6993;s:7:"node_id";i:55;s:5:"title";s:63:"Tuyển tập tác phẩm Yasunari Kawabata - Yasunari Kawabata";s:11:"reply_count";i:0;s:10:"view_count";i:762;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566321996;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:7876;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566321996;s:12:"last_post_id";i:7876;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:182:"a:2:{i:3187;a:2:{s:3:"tag";s:18:"tuyen tap tac pham";s:7:"tag_url";s:18:"tuyen-tap-tac-pham";}i:3159;a:2:{s:3:"tag";s:17:"yasunari kawabata";s:7:"tag_url";s:17:"yasunari-kawabata";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6992;a:22:{s:9:"thread_id";i:6992;s:7:"node_id";i:55;s:5:"title";s:62:"Cao Hành Kiện- Tuyển tập tác phẩm | Nobel văn học";s:11:"reply_count";i:0;s:10:"view_count";i:565;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566321924;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:7875;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566321924;s:12:"last_post_id";i:7875;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:234:"a:3:{i:74;a:2:{s:3:"tag";s:16:"cao hành kiện";s:7:"tag_url";s:12:"cao-hanh-kin";}i:101;a:2:{s:3:"tag";s:5:"nobel";s:7:"tag_url";s:5:"nobel";}i:3187;a:2:{s:3:"tag";s:18:"tuyen tap tac pham";s:7:"tag_url";s:18:"tuyen-tap-tac-pham";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6991;a:22:{s:9:"thread_id";i:6991;s:7:"node_id";i:137;s:5:"title";s:34:"Tự học chữ hán | Lưu Khôn";s:11:"reply_count";i:0;s:10:"view_count";i:1387;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566321811;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:7874;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566321811;s:12:"last_post_id";i:7874;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:132:"a:2:{i:3311;a:2:{s:3:"tag";s:4:"1965";s:7:"tag_url";s:4:"1965";}i:3891;a:2:{s:3:"tag";s:8:"luu khon";s:7:"tag_url";s:8:"luu-khon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6990;a:22:{s:9:"thread_id";i:6990;s:7:"node_id";i:119;s:5:"title";s:58:"Tốn Từ Vân trọn bộ | người dịch: Thanh Phong";s:11:"reply_count";i:0;s:10:"view_count";i:631;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566321681;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:7873;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566321681;s:12:"last_post_id";i:7873;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:1630;a:2:{s:3:"tag";s:4:"1976";s:7:"tag_url";s:4:"1976";}i:5572;a:2:{s:3:"tag";s:11:"tong tu van";s:7:"tag_url";s:11:"tong-tu-van";}i:2456;a:2:{s:3:"tag";s:8:"xuan thu";s:7:"tag_url";s:8:"xuan-thu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:6996;a:22:{s:9:"thread_id";i:6996;s:7:"node_id";i:131;s:5:"title";s:22:"Nhị thập binh thư";s:11:"reply_count";i:0;s:10:"view_count";i:813;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566323483;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:7880;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566323483;s:12:"last_post_id";i:7880;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:229:"a:3:{i:126;a:2:{s:3:"tag";s:9:"binh phap";s:7:"tag_url";s:9:"binh-phap";}i:5574;a:2:{s:3:"tag";s:8:"binh thu";s:7:"tag_url";s:8:"binh-thu";}i:5575;a:2:{s:3:"tag";s:19:"nhị thap binh thu";s:7:"tag_url";s:16:"nh-thap-binh-thu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6997;a:22:{s:9:"thread_id";i:6997;s:7:"node_id";i:140;s:5:"title";s:70:"Binh Pháp Tinh Hoa (Sài Gòn 1970) - Nguyễn Quang Trứ, 199 Trang";s:11:"reply_count";i:0;s:10:"view_count";i:738;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566323592;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:7881;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566323592;s:12:"last_post_id";i:7881;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:307:"a:4:{i:1231;a:2:{s:3:"tag";s:4:"1970";s:7:"tag_url";s:4:"1970";}i:126;a:2:{s:3:"tag";s:9:"binh phap";s:7:"tag_url";s:9:"binh-phap";}i:5055;a:2:{s:3:"tag";s:18:"binh phap tinh hoa";s:7:"tag_url";s:18:"binh-phap-tinh-hoa";}i:5056;a:2:{s:3:"tag";s:16:"nguyen quang tru";s:7:"tag_url";s:16:"nguyen-quang-tru";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6998;a:22:{s:9:"thread_id";i:6998;s:7:"node_id";i:140;s:5:"title";s:74:"Binh Pháp Tôn Tử (NXB Lao Động 2006) - Nguyễn Huy Cố, 343 Trang";s:11:"reply_count";i:0;s:10:"view_count";i:778;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566323661;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:7882;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566323661;s:12:"last_post_id";i:7882;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:297:"a:4:{i:1650;a:2:{s:3:"tag";s:4:"2006";s:7:"tag_url";s:4:"2006";}i:126;a:2:{s:3:"tag";s:9:"binh phap";s:7:"tag_url";s:9:"binh-phap";}i:5576;a:2:{s:3:"tag";s:16:"binh phap ton tu";s:7:"tag_url";s:16:"binh-phap-ton-tu";}i:5577;a:2:{s:3:"tag";s:13:"nguyen huy co";s:7:"tag_url";s:13:"nguyen-huy-co";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:6999;a:22:{s:9:"thread_id";i:6999;s:7:"node_id";i:140;s:5:"title";s:84:"Binh Pháp Và Chiến Trường (NXB Trí Đạt 1965) - Phan Quý Bình, 169 Trang";s:11:"reply_count";i:0;s:10:"view_count";i:747;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566323747;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:7883;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566323747;s:12:"last_post_id";i:7883;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:212:"a:3:{i:3311;a:2:{s:3:"tag";s:4:"1965";s:7:"tag_url";s:4:"1965";}i:126;a:2:{s:3:"tag";s:9:"binh phap";s:7:"tag_url";s:9:"binh-phap";}i:3312;a:2:{s:3:"tag";s:13:"phan quy binh";s:7:"tag_url";s:13:"phan-quy-binh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7000;a:22:{s:9:"thread_id";i:7000;s:7:"node_id";i:140;s:5:"title";s:88:"Binh Thơ Tôn Tử Quyển Hạ (NXB Học Thuật 1958) - Nguyễn Duy Hinh, 198 Trang";s:11:"reply_count";i:0;s:10:"view_count";i:565;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1566323852;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:7884;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1566323852;s:12:"last_post_id";i:7884;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:278:"a:4:{i:580;a:2:{s:3:"tag";s:4:"1958";s:7:"tag_url";s:4:"1958";}i:126;a:2:{s:3:"tag";s:9:"binh phap";s:7:"tag_url";s:9:"binh-phap";}i:1402;a:2:{s:3:"tag";s:15:"nguyen duy hinh";s:7:"tag_url";s:15:"nguyen-duy-hinh";}i:1401;a:2:{s:3:"tag";s:6:"ton tu";s:7:"tag_url";s:6:"ton-tu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25523;a:22:{s:9:"thread_id";i:25523;s:7:"node_id";i:57;s:5:"title";s:103:"Hán ngữ Msutong 4, Expressway to Chinese, cao cấp 4, Hứa Kim Sinh, Hồ Văn Hoa, Ngô Trung Vĩ";s:11:"reply_count";i:0;s:10:"view_count";i:3;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714648980;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:30513;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714648980;s:12:"last_post_id";i:30513;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:570:"a:8:{i:8601;a:2:{s:3:"tag";s:7:"cao cap";s:7:"tag_url";s:7:"cao-cap";}i:359;a:2:{s:3:"tag";s:7:"chinese";s:7:"tag_url";s:7:"chinese";}i:1480;a:2:{s:3:"tag";s:7:"han ngu";s:7:"tag_url";s:7:"han-ngu";}i:14504;a:2:{s:3:"tag";s:10:"ho van hoa";s:7:"tag_url";s:10:"ho-van-hoa";}i:22310;a:2:{s:3:"tag";s:12:"hua kim sinh";s:7:"tag_url";s:12:"hua-kim-sinh";}i:20778;a:2:{s:3:"tag";s:7:"msutong";s:7:"tag_url";s:7:"msutong";}i:22311;a:2:{s:3:"tag";s:12:"ngo trung vi";s:7:"tag_url";s:12:"ngo-trung-vi";}i:231;a:2:{s:3:"tag";s:11:"tieng trung";s:7:"tag_url";s:11:"tieng-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25522;a:22:{s:9:"thread_id";i:25522;s:7:"node_id";i:218;s:5:"title";s:52:"Sadlier Vocabulary Workshop. Level E ,Jerome Shostak";s:11:"reply_count";i:0;s:10:"view_count";i:12;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714615139;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:30512;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714615139;s:12:"last_post_id";i:30512;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:249:"a:3:{i:22309;a:2:{s:3:"tag";s:14:"jerome shostak";s:7:"tag_url";s:14:"jerome-shostak";}i:22308;a:2:{s:3:"tag";s:18:"sadlier vocabulary";s:7:"tag_url";s:18:"sadlier-vocabulary";}i:89;a:2:{s:3:"tag";s:10:"vocabulary";s:7:"tag_url";s:10:"vocabulary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25521;a:22:{s:9:"thread_id";i:25521;s:7:"node_id";i:163;s:5:"title";s:64:"The PMI Guide to Business Analysis ,Project Management Institute";s:11:"reply_count";i:0;s:10:"view_count";i:17;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714614805;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:30511;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714614805;s:12:"last_post_id";i:30511;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:238:"a:3:{i:22307;a:2:{s:3:"tag";s:17:"business analysis";s:7:"tag_url";s:17:"business-analysis";}i:622;a:2:{s:3:"tag";s:3:"pmi";s:7:"tag_url";s:3:"pmi";}i:621;a:2:{s:3:"tag";s:18:"project management";s:7:"tag_url";s:18:"project-management";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25520;a:22:{s:9:"thread_id";i:25520;s:7:"node_id";i:11;s:5:"title";s:87:"Hiệu Ứng Người Bảo Trợ: Dạy Chính Mình Bằng Cách Dạy Người Khác";s:11:"reply_count";i:0;s:10:"view_count";i:27;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517221;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:30509;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517221;s:12:"last_post_id";i:30509;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25519;a:22:{s:9:"thread_id";i:25519;s:7:"node_id";i:11;s:5:"title";s:85:"Nghệ Thuật 'Fake It Till You Make It' Của Huyền Thoại Cờ Vua Thế Giới";s:11:"reply_count";i:0;s:10:"view_count";i:25;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517172;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:30508;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517172;s:12:"last_post_id";i:30508;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.719413
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Việt Nam pháp thuộc sử | Phan Khoang' 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 <> 6995)
AND MATCH(search_index.title) AGAINST ('Việt Nam pháp thuộc sử | Phan Khoang' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.667240
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, 10
Run Time: 0.000215
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, 34
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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 6995)
ORDER BY RAND()
LIMIT 5
Run Time: 0.221558
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22478 | 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 (17926, 24311, 9125, 24360, 10837))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000890
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, 374
Run Time: 0.000230
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, 274
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, 284
Run Time: 0.000234
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.000213
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 6995)
Run Time: 0.329199
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25593 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: fd5eea404d9ab8f8888fa96fd6cded30, , 1714653061
Run Time: 0.000335
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=6995, 1714649461,
Run Time: 0.000201
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.005172
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.000399
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.000291
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.000316
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.000261
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |