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.000700
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | ALL | PRIMARY | | | | 34 | Using where |
SELECT session_data
FROM xf_session
WHERE session_id = ?
AND expiry_date >= ?
Params: adf5c5c15deccd697727ca2380353f71, 1715927630
Run Time: 0.000245
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_session | const | PRIMARY,expiry_date | PRIMARY | 34 | const | 1 | |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000313
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.009257
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 11091 | |
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: 12548
Run Time: 0.000809
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: 119
Run Time: 0.001126
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: 12548
Run Time: 0.004847
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 (13775)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.004444
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: 12548
Run Time: 0.000176
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 12548, 0
Run Time: 0.432058
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25150 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1610275820)) AND (thread.thread_id <> 12548)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.007925
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11729 | 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.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, 225
Run Time: 0.000239
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, 59
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, 57
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, 7
Run Time: 0.000369
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 > 1610275820)) AND (thread.thread_id <> 12548)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.012460
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11729 | 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, 176
Run Time: 0.000347
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, 226
Run Time: 0.000376
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 <> 12548)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000477
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, 136
Run Time: 0.000194
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.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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 170
Run Time: 0.000185
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 = 12548 AND user_id = 0)
Params: 1715927630, a:3:{s:12:"olderThreads";a:5:{i:12547;a:22:{s:9:"thread_id";i:12547;s:7:"node_id";i:156;s:5:"title";s:27:"Macmillan Science 3 Cd-room";s:11:"reply_count";i:0;s:10:"view_count";i:735;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1610275448;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:13774;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610275448;s:12:"last_post_id";i:13774;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:22;s:4:"tags";s:226:"a:3:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:6697;a:2:{s:3:"tag";s:17:"macmillan science";s:7:"tag_url";s:17:"macmillan-science";}i:312;a:2:{s:3:"tag";s:7:"science";s:7:"tag_url";s:7:"science";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12546;a:22:{s:9:"thread_id";i:12546;s:7:"node_id";i:225;s:5:"title";s:100:"Lsat Reading Comprehension Bible 2020, PowerScore, David M. Killoran, A comprehensive system for Att";s:11:"reply_count";i:1;s:10:"view_count";i:703;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1610185510;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:13772;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610185582;s:12:"last_post_id";i:13773;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:508:"a:7:{i:4174;a:2:{s:3:"tag";s:4:"2020";s:7:"tag_url";s:4:"2020";}i:3055;a:2:{s:3:"tag";s:5:"bible";s:7:"tag_url";s:5:"bible";}i:4848;a:2:{s:3:"tag";s:17:"david m. killoran";s:7:"tag_url";s:16:"david-m-killoran";}i:4850;a:2:{s:3:"tag";s:4:"lsat";s:7:"tag_url";s:4:"lsat";}i:7875;a:2:{s:3:"tag";s:9:"lsat 2020";s:7:"tag_url";s:9:"lsat-2020";}i:4846;a:2:{s:3:"tag";s:10:"powerscore";s:7:"tag_url";s:10:"powerscore";}i:3089;a:2:{s:3:"tag";s:21:"reading comprehension";s:7:"tag_url";s:21:"reading-comprehension";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12545;a:22:{s:9:"thread_id";i:12545;s:7:"node_id";i:59;s:5:"title";s:55:"SAT Subject Test Math 1 vs Math 2: Which Should I Take?";s:11:"reply_count";i:0;s:10:"view_count";i:603;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1610182531;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:13771;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610182531;s:12:"last_post_id";i:13771;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12544;a:22:{s:9:"thread_id";i:12544;s:7:"node_id";i:57;s:5:"title";s:44:"Bí ẩn thiên nhiên, sách tiếng Trung";s:11:"reply_count";i:0;s:10:"view_count";i:766;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610105044;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:13769;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610105044;s:12:"last_post_id";i:13769;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:134:"a:2:{i:359;a:2:{s:3:"tag";s:7:"chinese";s:7:"tag_url";s:7:"chinese";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12543;a:22:{s:9:"thread_id";i:12543;s:7:"node_id";i:7;s:5:"title";s:118:"Viết đúng tiếng anh, How to write english correctly, giúp trí nhớ ngữ pháp tiếng Anh | Ngọc Ánh, Duy";s:11:"reply_count";i:0;s:10:"view_count";i:729;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610104898;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:13768;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610104898;s:12:"last_post_id";i:13768;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:331:"a:5:{i:10869;a:2:{s:3:"tag";s:7:"duy lam";s:7:"tag_url";s:7:"duy-lam";}i:261;a:2:{s:3:"tag";s:7:"grammar";s:7:"tag_url";s:7:"grammar";}i:8304;a:2:{s:3:"tag";s:6:"memory";s:7:"tag_url";s:6:"memory";}i:10868;a:2:{s:3:"tag";s:8:"ngoc anh";s:7:"tag_url";s:8:"ngoc-anh";}i:330;a:2:{s:3:"tag";s:7:"writing";s:7:"tag_url";s:7:"writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:12549;a:22:{s:9:"thread_id";i:12549;s:7:"node_id";i:176;s:5:"title";s:68:"Kinh điển văn hóa 5000 năm Trung Hoa - Tập 1 | Dương Lục";s:11:"reply_count";i:0;s:10:"view_count";i:934;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610340387;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:13776;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610340387;s:12:"last_post_id";i:13776;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:336:"a:5:{i:2774;a:2:{s:3:"tag";s:4:"5000";s:7:"tag_url";s:4:"5000";}i:10875;a:2:{s:3:"tag";s:9:"duong luc";s:7:"tag_url";s:9:"duong-luc";}i:595;a:2:{s:3:"tag";s:9:"kinh dien";s:7:"tag_url";s:9:"kinh-dien";}i:1260;a:2:{s:3:"tag";s:9:"trung hoa";s:7:"tag_url";s:9:"trung-hoa";}i:443;a:2:{s:3:"tag";s:7:"van hoa";s:7:"tag_url";s:7:"van-hoa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12550;a:22:{s:9:"thread_id";i:12550;s:7:"node_id";i:176;s:5:"title";s:68:"Kinh điển văn hóa 5000 năm Trung Hoa - Tập 2 | Dương Lục";s:11:"reply_count";i:0;s:10:"view_count";i:673;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610340693;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:13777;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610340693;s:12:"last_post_id";i:13777;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:334:"a:5:{i:1905;a:2:{s:3:"tag";s:3:"500";s:7:"tag_url";s:3:"500";}i:10875;a:2:{s:3:"tag";s:9:"duong luc";s:7:"tag_url";s:9:"duong-luc";}i:595;a:2:{s:3:"tag";s:9:"kinh dien";s:7:"tag_url";s:9:"kinh-dien";}i:1260;a:2:{s:3:"tag";s:9:"trung hoa";s:7:"tag_url";s:9:"trung-hoa";}i:443;a:2:{s:3:"tag";s:7:"van hoa";s:7:"tag_url";s:7:"van-hoa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12551;a:22:{s:9:"thread_id";i:12551;s:7:"node_id";i:176;s:5:"title";s:68:"Kinh điển văn hóa 5000 năm Trung Hoa - Tập 3 | Dương Lục";s:11:"reply_count";i:1;s:10:"view_count";i:631;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610341055;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:13778;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610341151;s:12:"last_post_id";i:13779;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:334:"a:5:{i:1905;a:2:{s:3:"tag";s:3:"500";s:7:"tag_url";s:3:"500";}i:10875;a:2:{s:3:"tag";s:9:"duong luc";s:7:"tag_url";s:9:"duong-luc";}i:595;a:2:{s:3:"tag";s:9:"kinh dien";s:7:"tag_url";s:9:"kinh-dien";}i:1260;a:2:{s:3:"tag";s:9:"trung hoa";s:7:"tag_url";s:9:"trung-hoa";}i:443;a:2:{s:3:"tag";s:7:"van hoa";s:7:"tag_url";s:7:"van-hoa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12552;a:22:{s:9:"thread_id";i:12552;s:7:"node_id";i:176;s:5:"title";s:68:"Kinh điển văn hóa 5000 năm Trung Hoa - Tập 4 | Dương Lục";s:11:"reply_count";i:2;s:10:"view_count";i:622;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1610341262;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:13780;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610341560;s:12:"last_post_id";i:13782;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:334:"a:5:{i:1905;a:2:{s:3:"tag";s:3:"500";s:7:"tag_url";s:3:"500";}i:10875;a:2:{s:3:"tag";s:9:"duong luc";s:7:"tag_url";s:9:"duong-luc";}i:595;a:2:{s:3:"tag";s:9:"kinh dien";s:7:"tag_url";s:9:"kinh-dien";}i:1260;a:2:{s:3:"tag";s:9:"trung hoa";s:7:"tag_url";s:9:"trung-hoa";}i:443;a:2:{s:3:"tag";s:7:"van hoa";s:7:"tag_url";s:7:"van-hoa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12553;a:22:{s:9:"thread_id";i:12553;s:7:"node_id";i:226;s:5:"title";s:75:"Dr. John Chung's SAT Math 16 complete tests, 63 perfect tips, Fifth Edition";s:11:"reply_count";i:0;s:10:"view_count";i:2325;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1610358283;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:13783;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1610358283;s:12:"last_post_id";i:13783;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:343:"a:5:{i:9983;a:2:{s:3:"tag";s:14:"complete tests";s:7:"tag_url";s:14:"complete-tests";}i:9982;a:2:{s:3:"tag";s:10:"john chung";s:7:"tag_url";s:10:"john-chung";}i:1098;a:2:{s:3:"tag";s:3:"sat";s:7:"tag_url";s:3:"sat";}i:6145;a:2:{s:3:"tag";s:8:"sat math";s:7:"tag_url";s:8:"sat-math";}i:3101;a:2:{s:3:"tag";s:4:"tips";s:7:"tag_url";s:4:"tips";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25622;a:22:{s:9:"thread_id";i:25622;s:7:"node_id";i:136;s:5:"title";s:46:"Hiệu ứng chim mồi tập 1 - Hạo Nhiên";s:11:"reply_count";i:0;s:10:"view_count";i:20;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1715873461;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:30654;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715873461;s:12:"last_post_id";i:30654;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:368:"a:5:{i:5634;a:2:{s:3:"tag";s:8:"ban hang";s:7:"tag_url";s:8:"ban-hang";}i:3926;a:2:{s:3:"tag";s:9:"hao nhien";s:7:"tag_url";s:9:"hao-nhien";}i:19828;a:2:{s:3:"tag";s:17:"hieu ung chim moi";s:7:"tag_url";s:17:"hieu-ung-chim-moi";}i:2493;a:2:{s:3:"tag";s:9:"marketing";s:7:"tag_url";s:9:"marketing";}i:5191;a:2:{s:3:"tag";s:9:"quang cao";s:7:"tag_url";s:9:"quang-cao";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25621;a:22:{s:9:"thread_id";i:25621;s:7:"node_id";i:43;s:5:"title";s:47:"Usborne Illustrated English Spelling dictionary";s:11:"reply_count";i:0;s:10:"view_count";i:31;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1715836379;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:30650;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715836379;s:12:"last_post_id";i:30650;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:304:"a:4:{i:709;a:2:{s:3:"tag";s:11:"illustrated";s:7:"tag_url";s:11:"illustrated";}i:21930;a:2:{s:3:"tag";s:8:"kid book";s:7:"tag_url";s:8:"kid-book";}i:22392;a:2:{s:3:"tag";s:19:"spelling dictionary";s:7:"tag_url";s:19:"spelling-dictionary";}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:25620;a:22:{s:9:"thread_id";i:25620;s:7:"node_id";i:43;s:5:"title";s:59:"Rhyming and Spelling Dictionary. ,Pie Corbett, Ruth Thomson";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:1715836305;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:30649;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715836305;s:12:"last_post_id";i:30649;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:385:"a:5:{i:22390;a:2:{s:3:"tag";s:11:"pie corbett";s:7:"tag_url";s:11:"pie-corbett";}i:22393;a:2:{s:3:"tag";s:7:"rhyming";s:7:"tag_url";s:7:"rhyming";}i:22391;a:2:{s:3:"tag";s:12:"ruth thomson";s:7:"tag_url";s:12:"ruth-thomson";}i:4444;a:2:{s:3:"tag";s:8:"spelling";s:7:"tag_url";s:8:"spelling";}i:22392;a:2:{s:3:"tag";s:19:"spelling dictionary";s:7:"tag_url";s:19:"spelling-dictionary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}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:34;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:60;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;}}}
Run Time: 0.840623
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Đầu Xanh Tuổi Trẻ Dostoievski Phiên dịch: Vũ Trinh (dịch từ bản Pháp ngữ tựa đề L’ADOLESCENT)' 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 <> 12548)
AND MATCH(search_index.title) AGAINST ('Đầu Xanh Tuổi Trẻ Dostoievski Phiên dịch: Vũ Trinh (dịch từ bản Pháp ngữ tựa đề L’ADOLESCENT)' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.709004
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, 10
Run Time: 0.000307
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, 36
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, 147
Run Time: 0.000250
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.000207
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 12548)
ORDER BY RAND()
LIMIT 5
Run Time: 0.068519
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23459 | 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 (20113, 3644, 1269, 24519, 23749))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001143
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, 163
Run Time: 0.000309
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, 368
Run Time: 0.000299
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 198
Run Time: 0.000817
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.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, 30
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 12548)
Run Time: 0.424727
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25702 | Using where |
UPDATE `xf_session` SET `expiry_date` = ?, `session_data` = ? WHERE (session_id = 'adf5c5c15deccd697727ca2380353f71')
Params: 1715931230, a:7:{s:12:"sessionStart";i:1715927603;s:2:"ip";s:4:"t";s:11:"sessionCsrf";s:16:"GO-IVY5kMKYIhyHL";s:9:"userAgent";s:103:"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1587171455;}}
Run Time: 0.000359
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, t, t, XenForo_ControllerPublic_Thread, Index, valid, thread_id=12548, 1715927630,
Run Time: 0.000182
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.006447
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.000359
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.000249
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.000309
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.000255
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |