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.000513
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.000361
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.011247
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10831 | |
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: 12744
Run Time: 0.005321
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: 201
Run Time: 0.000603
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: 12744
Run Time: 0.007976
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 (13997)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.004248
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: 12744
Run Time: 0.000630
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 12744, 0
Run Time: 0.409331
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25038 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1611149623)) AND (thread.thread_id <> 12744)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.012562
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11498 | 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.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, 88
Run Time: 0.000267
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, 196
Run Time: 0.000252
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 > 1611149623)) AND (thread.thread_id <> 12744)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.005479
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11498 | Using index condition; Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 12744)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000571
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, 79
Run Time: 0.000263
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, 216
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, 349
Run Time: 0.000265
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, 224
Run Time: 0.000255
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 = 12744 AND user_id = 0)
Params: 1714162131, a:3:{s:12:"olderThreads";a:5:{i:12743;a:22:{s:9:"thread_id";i:12743;s:7:"node_id";i:201;s:5:"title";s:58:"Daily warm-ups, reading Grade 1, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:622;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611149166;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:13994;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611149166;s:12:"last_post_id";i:13994;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:2571;a:2:{s:3:"tag";s:7:"grade 1";s:7:"tag_url";s:7:"grade-1";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12742;a:22:{s:9:"thread_id";i:12742;s:7:"node_id";i:201;s:5:"title";s:65:"Daily warm-ups, Prefixes, suffixes, roots, level 2, Liza Kleinman";s:11:"reply_count";i:0;s:10:"view_count";i:507;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611148978;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:13993;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611148978;s:12:"last_post_id";i:13993;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:301:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:11078;a:2:{s:3:"tag";s:13:"liza kleinman";s:7:"tag_url";s:13:"liza-kleinman";}i:7435;a:2:{s:3:"tag";s:8:"prefixes";s:7:"tag_url";s:8:"prefixes";}i:7436;a:2:{s:3:"tag";s:8:"suffixes";s:7:"tag_url";s:8:"suffixes";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12739;a:22:{s:9:"thread_id";i:12739;s:7:"node_id";i:136;s:5:"title";s:128:"Tài liệu ôn thi tuyển sinh sau đại học môn Tiếng Anh, Trường Đại học kinh tế TP. HCM, Lưu hành nội b";s:11:"reply_count";i:0;s:10:"view_count";i:555;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611147729;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:13992;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611147729;s:12:"last_post_id";i:13992;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:369:"a:5:{i:1283;a:2:{s:3:"tag";s:15:"luu hanh noi bo";s:7:"tag_url";s:15:"luu-hanh-noi-bo";}i:9904;a:2:{s:3:"tag";s:11:"sau dai hoc";s:7:"tag_url";s:11:"sau-dai-hoc";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}i:11077;a:2:{s:3:"tag";s:6:"tp hcm";s:7:"tag_url";s:6:"tp-hcm";}i:2952;a:2:{s:3:"tag";s:10:"tuyen sinh";s:7:"tag_url";s:10:"tuyen-sinh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12738;a:22:{s:9:"thread_id";i:12738;s:7:"node_id";i:88;s:5:"title";s:35:"Kiểm tra tài liệu hàng tháng";s:11:"reply_count";i:3;s:10:"view_count";i:8;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611147236;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:13990;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1614874648;s:12:"last_post_id";i:14653;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:0;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12737;a:22:{s:9:"thread_id";i:12737;s:7:"node_id";i:196;s:5:"title";s:109:"Ôn tập thi vào lớp 10 môn tiếng Anh Năm học 2021-2022, Nguyễn Thị Chi, Nguyễn Hữu Cương";s:11:"reply_count";i:0;s:10:"view_count";i:3204;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1611114970;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:13989;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611114970;s:12:"last_post_id";i:13989;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:453:"a:6:{i:8078;a:2:{s:3:"tag";s:4:"2021";s:7:"tag_url";s:4:"2021";}i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:3769;a:2:{s:3:"tag";s:16:"nguyen huu cuong";s:7:"tag_url";s:16:"nguyen-huu-cuong";}i:3768;a:2:{s:3:"tag";s:14:"nguyen thi chi";s:7:"tag_url";s:14:"nguyen-thi-chi";}i:8813;a:2:{s:3:"tag";s:17:"on thi vao lop 10";s:7:"tag_url";s:17:"on-thi-vao-lop-10";}i:6115;a:2:{s:3:"tag";s:11:"tieng anh 9";s:7:"tag_url";s:11:"tieng-anh-9";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:12745;a:22:{s:9:"thread_id";i:12745;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 4, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:717;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611149785;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:13998;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611149785;s:12:"last_post_id";i:13998;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:2993;a:2:{s:3:"tag";s:7:"grade 4";s:7:"tag_url";s:7:"grade-4";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12746;a:22:{s:9:"thread_id";i:12746;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 5, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:713;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611149952;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:13999;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611149952;s:12:"last_post_id";i:13999;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:5834;a:2:{s:3:"tag";s:7:"grade 5";s:7:"tag_url";s:7:"grade-5";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12747;a:22:{s:9:"thread_id";i:12747;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 6, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:628;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611151098;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:14000;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611151098;s:12:"last_post_id";i:14000;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:320:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:6234;a:2:{s:3:"tag";s:7:"grade 6";s:7:"tag_url";s:7:"grade-6";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12748;a:22:{s:9:"thread_id";i:12748;s:7:"node_id";i:201;s:5:"title";s:59:"Daily warm-ups reading, Grade 8, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:667;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611151432;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:14001;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611151432;s:12:"last_post_id";i:14001;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:321:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:11080;a:2:{s:3:"tag";s:7:"grade 8";s:7:"tag_url";s:7:"grade-8";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:11079;a:2:{s:3:"tag";s:25:"teacher created resources";s:7:"tag_url";s:25:"teacher-created-resources";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12749;a:22:{s:9:"thread_id";i:12749;s:7:"node_id";i:201;s:5:"title";s:70:"Daily warm-ups Nonfiction reading, Grade 6, Teacher Created Resources";s:11:"reply_count";i:0;s:10:"view_count";i:722;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1611151774;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:14002;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611151774;s:12:"last_post_id";i:14002;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:289:"a:4:{i:7835;a:2:{s:3:"tag";s:14:"daily warm-ups";s:7:"tag_url";s:14:"daily-warm-ups";}i:6234;a:2:{s:3:"tag";s:7:"grade 6";s:7:"tag_url";s:7:"grade-6";}i:9015;a:2:{s:3:"tag";s:10:"nonfiction";s:7:"tag_url";s:10:"nonfiction";}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;}}s:13:"latestThreads";a:5:{i:25510;a:22:{s:9:"thread_id";i:25510;s:7:"node_id";i:79;s:5:"title";s:39:"The Phantom of the Opera ,Leroux Gaston";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157342;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:30495;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157342;s:12:"last_post_id";i:30495;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:188:"a:2:{i:22296;a:2:{s:3:"tag";s:13:"leroux gaston";s:7:"tag_url";s:13:"leroux-gaston";}i:22297;a:2:{s:3:"tag";s:24:"the phantom of the opera";s:7:"tag_url";s:24:"the-phantom-of-the-opera";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25509;a:22:{s:9:"thread_id";i:25509;s:7:"node_id";i:216;s:5:"title";s:85:"Ready to write 2, 4th edition, Perfecting Paragraphs, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157208;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:30494;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157208;s:12:"last_post_id";i:30494;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:414:"a:5:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:22295;a:2:{s:3:"tag";s:10:"paragraphs";s:7:"tag_url";s:10:"paragraphs";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:22055;a:2:{s:3:"tag";s:16:"ready to write 2";s:7:"tag_url";s:16:"ready-to-write-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25508;a:22:{s:9:"thread_id";i:25508;s:7:"node_id";i:349;s:5:"title";s:125:"Tài liệu giáo khoa chuyên sinh học trung học phổ thông, di truyền và tiến hóa, Phạm Văn Lập, Trần Ng";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:1714156662;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:30493;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714156662;s:12:"last_post_id";i:30493;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:505:"a:7:{i:9057;a:2:{s:3:"tag";s:11:"chuyen sinh";s:7:"tag_url";s:11:"chuyen-sinh";}i:22294;a:2:{s:3:"tag";s:14:"dinh doan long";s:7:"tag_url";s:14:"dinh-doan-long";}i:22292;a:2:{s:3:"tag";s:12:"pham van lap";s:7:"tag_url";s:12:"pham-van-lap";}i:7928;a:2:{s:3:"tag";s:3:"sgk";s:7:"tag_url";s:3:"sgk";}i:4722;a:2:{s:3:"tag";s:8:"sinh hoc";s:7:"tag_url";s:8:"sinh-hoc";}i:433;a:2:{s:3:"tag";s:4:"thpt";s:7:"tag_url";s:4:"thpt";}i:22293;a:2:{s:3:"tag";s:14:"tran ngoc danh";s:7:"tag_url";s:14:"tran-ngoc-danh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25507;a:22:{s:9:"thread_id";i:25507;s:7:"node_id";i:224;s:5:"title";s:77:"Tiếng Anh thực dụng trong đàm phán kinh doanh, Nguyễn Thành Yến";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714156427;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:30492;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714156427;s:12:"last_post_id";i:30492;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:486:"a:6:{i:3556;a:2:{s:3:"tag";s:20:"business english pod";s:7:"tag_url";s:20:"business-english-pod";}i:2091;a:2:{s:3:"tag";s:8:"dam phan";s:7:"tag_url";s:8:"dam-phan";}i:22291;a:2:{s:3:"tag";s:19:"dam phan kinh doanh";s:7:"tag_url";s:19:"dam-phan-kinh-doanh";}i:3557;a:2:{s:3:"tag";s:11:"negotiation";s:7:"tag_url";s:11:"negotiation";}i:3767;a:2:{s:3:"tag";s:16:"nguyen thanh yen";s:7:"tag_url";s:16:"nguyen-thanh-yen";}i:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25506;a:22:{s:9:"thread_id";i:25506;s:7:"node_id";i:224;s:5:"title";s:115:"Tiếng Anh đàm thoại dành cho nhân viên văn phòng, Spoken English for Office Staff, Nguyễn Thành Yến";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:1714156181;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:30491;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714156181;s:12:"last_post_id";i:30491;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:482:"a:6:{i:2115;a:2:{s:3:"tag";s:9:"dam thoai";s:7:"tag_url";s:9:"dam-thoai";}i:22289;a:2:{s:3:"tag";s:18:"english for office";s:7:"tag_url";s:18:"english-for-office";}i:3767;a:2:{s:3:"tag";s:16:"nguyen thanh yen";s:7:"tag_url";s:16:"nguyen-thanh-yen";}i:7956;a:2:{s:3:"tag";s:19:"nhan vien van phong";s:7:"tag_url";s:19:"nhan-vien-van-phong";}i:2852;a:2:{s:3:"tag";s:6:"office";s:7:"tag_url";s:6:"office";}i:22290;a:2:{s:3:"tag";s:12:"office staff";s:7:"tag_url";s:12:"office-staff";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.844796
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Daily warm-ups reading, Grade 3, Teacher Created Resources' 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 <> 12744)
AND MATCH(search_index.title) AGAINST ('Daily warm-ups reading, Grade 3, Teacher Created Resources' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.549944
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 496 | 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, 56
Run Time: 0.000429
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.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, 43
Run Time: 0.000335
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, 32
Run Time: 0.000316
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 <> 12744)
ORDER BY RAND()
LIMIT 5
Run Time: 0.131033
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22996 | 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 (3591, 11613, 8890, 4198, 8782))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001489
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, 134
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 138
Run Time: 0.000259
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, 75
Run Time: 0.000231
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.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 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 77
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 12744)
Run Time: 0.203305
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25586 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: b67bedaec05783a0bc051b3481fae6b9, , 1714165731
Run Time: 0.000273
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=12744, 1714162131,
Run Time: 0.000134
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.018373
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.000916
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.004438
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.000275
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.000201
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |