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.000978
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.000244
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.012672
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: 14178
Run Time: 0.001814
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: 217
Run Time: 0.000988
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: 14178
Run Time: 0.015496
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 |
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xf_attachment AS attachment
INNER JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE attachment.content_type = ?
AND attachment.content_id IN (15692)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.008013
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 31 | const,const | 1 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.attachment.data_id | 1 | |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 14178
Run Time: 0.000271
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 14178, 0
Run Time: 0.399157
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25056 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1626119467)) AND (thread.thread_id <> 14178)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000882
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11241 | Using where |
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.000337
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, 130
Run Time: 0.000241
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, 45
Run Time: 0.000248
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, 126
Run Time: 0.000278
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, 64
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 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1626119467)) AND (thread.thread_id <> 14178)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.004481
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11241 | 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, 49
Run Time: 0.000294
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, 51
Run Time: 0.000214
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 134
Run Time: 0.000257
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, 15
Run Time: 0.000205
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 28
Run Time: 0.000222
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 <> 14178)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000651
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, 89
Run Time: 0.000322
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, 138
Run Time: 0.000287
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, 150
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, 169
Run Time: 0.000277
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 = 14178 AND user_id = 0)
Params: 1714652096, a:3:{s:12:"olderThreads";a:5:{i:14177;a:22:{s:9:"thread_id";i:14177;s:7:"node_id";i:50;s:5:"title";s:38:"Hội họa thực hành, Việt Trung";s:11:"reply_count";i:0;s:10:"view_count";i:509;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626119338;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:15691;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626119338;s:12:"last_post_id";i:15691;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:275:"a:4:{i:3090;a:2:{s:3:"tag";s:7:"drawing";s:7:"tag_url";s:7:"drawing";}i:117;a:2:{s:3:"tag";s:7:"hoi hoa";s:7:"tag_url";s:7:"hoi-hoa";}i:539;a:2:{s:3:"tag";s:8:"my thuat";s:7:"tag_url";s:8:"my-thuat";}i:12462;a:2:{s:3:"tag";s:10:"viet trung";s:7:"tag_url";s:10:"viet-trung";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14176;a:22:{s:9:"thread_id";i:14176;s:7:"node_id";i:130;s:5:"title";s:85:"Đổi mới trong nghệ thuật kiến trúc cuộc đời của Frank LLoyd Wright";s:11:"reply_count";i:0;s:10:"view_count";i:646;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626119219;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:15690;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626119219;s:12:"last_post_id";i:15690;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:147:"a:2:{i:1323;a:2:{s:3:"tag";s:9:"kien truc";s:7:"tag_url";s:9:"kien-truc";}i:608;a:2:{s:3:"tag";s:10:"nghe thuat";s:7:"tag_url";s:10:"nghe-thuat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14175;a:22:{s:9:"thread_id";i:14175;s:7:"node_id";i:45;s:5:"title";s:123:"Premier League - Lịch Sử Giải Ngoại Hạng Anh Và Sự Phát Triển Của Chiến Thuật Bóng Đá, Michael Cox";s:11:"reply_count";i:0;s:10:"view_count";i:1906;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626119057;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:15689;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626119057;s:12:"last_post_id";i:15689;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:582:"a:8:{i:3143;a:2:{s:3:"tag";s:7:"bong da";s:7:"tag_url";s:7:"bong-da";}i:2387;a:2:{s:3:"tag";s:11:"chien thuat";s:7:"tag_url";s:11:"chien-thuat";}i:12459;a:2:{s:3:"tag";s:7:"england";s:7:"tag_url";s:7:"england";}i:3195;a:2:{s:3:"tag";s:8:"football";s:7:"tag_url";s:8:"football";}i:40;a:2:{s:3:"tag";s:7:"lich su";s:7:"tag_url";s:7:"lich-su";}i:12460;a:2:{s:3:"tag";s:11:"michael cox";s:7:"tag_url";s:11:"michael-cox";}i:12461;a:2:{s:3:"tag";s:14:"ngoai hang anh";s:7:"tag_url";s:14:"ngoai-hang-anh";}i:12458;a:2:{s:3:"tag";s:14:"premier league";s:7:"tag_url";s:14:"premier-league";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14174;a:22:{s:9:"thread_id";i:14174;s:7:"node_id";i:126;s:5:"title";s:94:"Giáo trình môi giới và tư vấn đầu tư chứng khoán, Ts. Bùi Thị Thanh Hương";s:11:"reply_count";i:0;s:10:"view_count";i:1100;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626118922;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:15688;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626118922;s:12:"last_post_id";i:15688;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:526:"a:7:{i:12457;a:2:{s:3:"tag";s:19:"bui thi thanh huong";s:7:"tag_url";s:19:"bui-thi-thanh-huong";}i:849;a:2:{s:3:"tag";s:11:"chung khoan";s:7:"tag_url";s:11:"chung-khoan";}i:861;a:2:{s:3:"tag";s:6:"dau tu";s:7:"tag_url";s:6:"dau-tu";}i:12456;a:2:{s:3:"tag";s:18:"dau tu chung khoan";s:7:"tag_url";s:18:"dau-tu-chung-khoan";}i:1261;a:2:{s:3:"tag";s:10:"giao trinh";s:7:"tag_url";s:10:"giao-trinh";}i:2738;a:2:{s:3:"tag";s:8:"moi gioi";s:7:"tag_url";s:8:"moi-gioi";}i:393;a:2:{s:3:"tag";s:6:"tu van";s:7:"tag_url";s:6:"tu-van";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14173;a:22:{s:9:"thread_id";i:14173;s:7:"node_id";i:64;s:5:"title";s:57:"Tiếng Pháp cấp tốc, Le Francais Immediat, Ánh Nga";s:11:"reply_count";i:0;s:10:"view_count";i:875;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626118742;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:15687;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626118742;s:12:"last_post_id";i:15687;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:212:"a:3:{i:12455;a:2:{s:3:"tag";s:7:"anh nga";s:7:"tag_url";s:7:"anh-nga";}i:4365;a:2:{s:3:"tag";s:8:"francais";s:7:"tag_url";s:8:"francais";}i:1861;a:2:{s:3:"tag";s:10:"tieng phap";s:7:"tag_url";s:10:"tieng-phap";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:14179;a:22:{s:9:"thread_id";i:14179;s:7:"node_id";i:49;s:5:"title";s:124:"Tuyển tập tâm lý học J. Piaget, Phạm Minh Hạc, Nguyễn anh Tuyết, Lê Văn Hồng, Đỗ Long, Nguyễn Quang";s:11:"reply_count";i:0;s:10:"view_count";i:1373;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626119770;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:15693;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626119770;s:12:"last_post_id";i:15693;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:805:"a:11:{i:1477;a:2:{s:3:"tag";s:4:"1896";s:7:"tag_url";s:4:"1896";}i:2836;a:2:{s:3:"tag";s:4:"1996";s:7:"tag_url";s:4:"1996";}i:12470;a:2:{s:3:"tag";s:14:"dang xuan hoai";s:7:"tag_url";s:14:"dang-xuan-hoai";}i:12468;a:2:{s:3:"tag";s:7:"do long";s:7:"tag_url";s:7:"do-long";}i:12467;a:2:{s:3:"tag";s:11:"le van hong";s:7:"tag_url";s:11:"le-van-hong";}i:12466;a:2:{s:3:"tag";s:16:"nguyen anh tuyet";s:7:"tag_url";s:16:"nguyen-anh-tuyet";}i:12469;a:2:{s:3:"tag";s:16:"nguyen quang uan";s:7:"tag_url";s:16:"nguyen-quang-uan";}i:12465;a:2:{s:3:"tag";s:13:"pham minh hac";s:7:"tag_url";s:13:"pham-minh-hac";}i:12464;a:2:{s:3:"tag";s:6:"piaget";s:7:"tag_url";s:6:"piaget";}i:435;a:2:{s:3:"tag";s:10:"tam ly hoc";s:7:"tag_url";s:10:"tam-ly-hoc";}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:14180;a:22:{s:9:"thread_id";i:14180;s:7:"node_id";i:51;s:5:"title";s:56:"Tập viết Tiếng Nhật phần căn bản, Hoàn Vũ";s:11:"reply_count";i:0;s:10:"view_count";i:779;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626119953;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:15694;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626119953;s:12:"last_post_id";i:15694;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:276:"a:4:{i:1032;a:2:{s:3:"tag";s:7:"can ban";s:7:"tag_url";s:7:"can-ban";}i:370;a:2:{s:3:"tag";s:8:"japanese";s:7:"tag_url";s:8:"japanese";}i:2502;a:2:{s:3:"tag";s:8:"tap viet";s:7:"tag_url";s:8:"tap-viet";}i:371;a:2:{s:3:"tag";s:10:"tieng nhat";s:7:"tag_url";s:10:"tieng-nhat";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14181;a:22:{s:9:"thread_id";i:14181;s:7:"node_id";i:134;s:5:"title";s:79:"Đánh thức tài năng toán học 6, Maths Olypiad, the next lap, Terry Chew";s:11:"reply_count";i:0;s:10:"view_count";i:997;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626279384;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:15696;s:16:"first_post_likes";i:1;s:14:"last_post_date";i:1626279384;s:12:"last_post_id";i:15696;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:537:"a:7:{i:12471;a:2:{s:3:"tag";s:9:"danh thuc";s:7:"tag_url";s:9:"danh-thuc";}i:14764;a:2:{s:3:"tag";s:27:"danh thuc tai nang toan hoc";s:7:"tag_url";s:27:"danh-thuc-tai-nang-toan-hoc";}i:12472;a:2:{s:3:"tag";s:13:"maths olypiad";s:7:"tag_url";s:13:"maths-olypiad";}i:5605;a:2:{s:3:"tag";s:8:"olympiad";s:7:"tag_url";s:8:"olympiad";}i:7030;a:2:{s:3:"tag";s:8:"tai nang";s:7:"tag_url";s:8:"tai-nang";}i:9945;a:2:{s:3:"tag";s:10:"terry chew";s:7:"tag_url";s:10:"terry-chew";}i:707;a:2:{s:3:"tag";s:8:"toan hoc";s:7:"tag_url";s:8:"toan-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14182;a:22:{s:9:"thread_id";i:14182;s:7:"node_id";i:15;s:5:"title";s:88:"Vẻ Đẹp Toán Học – Những Bài Toán Gợi Mở Tư Duy, ALfred S. Posamentier";s:11:"reply_count";i:1;s:10:"view_count";i:983;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626279818;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:15697;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626279823;s:12:"last_post_id";i:15698;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:317:"a:4:{i:12473;a:2:{s:3:"tag";s:21:"alfred s. posamentier";s:7:"tag_url";s:20:"alfred-s-posamentier";}i:217;a:2:{s:3:"tag";s:5:"maths";s:7:"tag_url";s:5:"maths";}i:14765;a:2:{s:3:"tag";s:18:"pham ngoc thai hoa";s:7:"tag_url";s:18:"pham-ngoc-thai-hoa";}i:707;a:2:{s:3:"tag";s:8:"toan hoc";s:7:"tag_url";s:8:"toan-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:14183;a:22:{s:9:"thread_id";i:14183;s:7:"node_id";i:28;s:5:"title";s:59:"Thành Công Đâu Chỉ Tiền Quyền, Arianna Huffington";s:11:"reply_count";i:1;s:10:"view_count";i:805;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1626280078;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:15699;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1626280083;s:12:"last_post_id";i:15700;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:235:"a:3:{i:12474;a:2:{s:3:"tag";s:18:"arianna huffington";s:7:"tag_url";s:18:"arianna-huffington";}i:1939;a:2:{s:3:"tag";s:7:"success";s:7:"tag_url";s:7:"success";}i:12475;a:2:{s:3:"tag";s:10:"thanh cong";s:7:"tag_url";s:10:"thanh-cong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25528;a:22:{s:9:"thread_id";i:25528;s:7:"node_id";i:89;s:5:"title";s:85:"Tuyển tập văn học dân gian Việt Nam tập II, quyển 1 Truyện cổ tích";s:11:"reply_count";i:1;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714651047;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:30518;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714651316;s:12:"last_post_id";i:30519;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:391:"a:5:{i:1270;a:2:{s:3:"tag";s:7:"co tich";s:7:"tag_url";s:7:"co-tich";}i:22316;a:2:{s:3:"tag";s:14:"truyen co tich";s:7:"tag_url";s:14:"truyen-co-tich";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}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:25527;a:22:{s:9:"thread_id";i:25527;s:7:"node_id";i:89;s:5:"title";s:86:"Tuyển tập văn học dân gian Việt Nam tập IV, quyển 1 Tục ngữ, cao dao";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714650709;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:30517;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714650709;s:12:"last_post_id";i:30517;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:375:"a:5:{i:11962;a:2:{s:3:"tag";s:7:"cao dao";s:7:"tag_url";s:7:"cao-dao";}i:9144;a:2:{s:3:"tag";s:7:"tuc ngu";s:7:"tag_url";s:7:"tuc-ngu";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}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:25526;a:22:{s:9:"thread_id";i:25526;s:7:"node_id";i:138;s:5:"title";s:134:"Từ điển kỹ thuật lạnh và điều hòa không khí Anh Việt Pháp, 11000 thuật ngữ, Nguyễn Đức Lợi, Hà Mạnh";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714650159;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:30516;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714650159;s:12:"last_post_id";i:30516;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:748:"a:10:{i:22315;a:2:{s:3:"tag";s:5:"11000";s:7:"tag_url";s:5:"11000";}i:22314;a:2:{s:3:"tag";s:13:"anh viet phap";s:7:"tag_url";s:13:"anh-viet-phap";}i:279;a:2:{s:3:"tag";s:10:"dictionary";s:7:"tag_url";s:10:"dictionary";}i:13692;a:2:{s:3:"tag";s:8:"dieu hoa";s:7:"tag_url";s:8:"dieu-hoa";}i:13693;a:2:{s:3:"tag";s:18:"dieu hoa khong khi";s:7:"tag_url";s:18:"dieu-hoa-khong-khi";}i:22313;a:2:{s:3:"tag";s:11:"ha manh thu";s:7:"tag_url";s:11:"ha-manh-thu";}i:6248;a:2:{s:3:"tag";s:13:"ky thuat lanh";s:7:"tag_url";s:13:"ky-thuat-lanh";}i:6249;a:2:{s:3:"tag";s:14:"nguyen duc loi";s:7:"tag_url";s:14:"nguyen-duc-loi";}i:5392;a:2:{s:3:"tag";s:9:"thuat ngu";s:7:"tag_url";s:9:"thuat-ngu";}i:294;a:2:{s:3:"tag";s:7:"tu dien";s:7:"tag_url";s:7:"tu-dien";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25525;a:22:{s:9:"thread_id";i:25525;s:7:"node_id";i:150;s:5:"title";s:38:"Tiếng Anh Wonderful World 3 Workbook";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714649978;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:30515;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714649978;s:12:"last_post_id";i:30515;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:319:"a:4:{i:6065;a:2:{s:3:"tag";s:11:"tieng anh 3";s:7:"tag_url";s:11:"tieng-anh-3";}i:10290;a:2:{s:3:"tag";s:15:"wonderful world";s:7:"tag_url";s:15:"wonderful-world";}i:20844;a:2:{s:3:"tag";s:17:"wonderful world 3";s:7:"tag_url";s:17:"wonderful-world-3";}i:703;a:2:{s:3:"tag";s:8:"workbook";s:7:"tag_url";s:8:"workbook";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25524;a:22:{s:9:"thread_id";i:25524;s:7:"node_id";i:169;s:5:"title";s:72:"New Finnish English General Dictionary, Uusisuomi Englanti Suur Sanakija";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714649858;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:30514;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714649858;s:12:"last_post_id";i:30514;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:211:"a:3:{i:279;a:2:{s:3:"tag";s:10:"dictionary";s:7:"tag_url";s:10:"dictionary";}i:1268;a:2:{s:3:"tag";s:7:"finnish";s:7:"tag_url";s:7:"finnish";}i:22312;a:2:{s:3:"tag";s:8:"phan lan";s:7:"tag_url";s:8:"phan-lan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.701476
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Cẩm nang sử dụng mẫu câu đặc biệt trong tiếng Anh, Lê Tuệ Minh' 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 <> 14178)
AND MATCH(search_index.title) AGAINST ('Cẩm nang sử dụng mẫu câu đặc biệt trong tiếng Anh, Lê Tuệ Minh' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.337116
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.000362
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.000222
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.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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 11
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.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 14178)
ORDER BY RAND()
LIMIT 5
Run Time: 0.020321
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22483 | 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 (1097, 5602, 1805, 1399, 11800))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000968
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, 48
Run Time: 0.000214
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 25
Run Time: 0.000164
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, 27
Run Time: 0.000159
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 = 14178)
Run Time: 0.024087
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25598 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 981917053a80bc245e68101fe2b6f7d1, , 1714655696
Run Time: 0.000342
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=14178, 1714652096,
Run Time: 0.000178
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.001015
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.000269
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.000348
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.000233
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |