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.000804
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: 4c89e6b7ae36c31821d63374a3a96ef2, 1715937790
Run Time: 0.000520
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.000294
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.010415
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 11092 | |
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: 16642
Run Time: 0.000762
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: 216
Run Time: 0.004398
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: 16642
Run Time: 0.015367
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | ref | thread_id_post_date,thread_id_position | thread_id_post_date | 4 | const | 1 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | dien7104_tailieu.post.user_id,func | 1 | Using where |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 16642
Run Time: 0.000256
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 16642, 0
Run Time: 0.560504
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25159 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1642329723)) AND (thread.thread_id <> 16642)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000657
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11424 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 343
Run Time: 0.001023
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, 253
Run Time: 0.000219
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1642329723)) AND (thread.thread_id <> 16642)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.001155
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11424 | 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, 196
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 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 219
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 16642)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000558
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, 382
Run Time: 0.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 16642 AND user_id = 0)
Params: 1715937790, a:3:{s:12:"olderThreads";a:5:{i:16641;a:22:{s:9:"thread_id";i:16641;s:7:"node_id";i:216;s:5:"title";s:100:"Grammar for great Writing B, Keith S. Folse, Deborah Gordon, Barbara Smith-Palinkas, National Geogra";s:11:"reply_count";i:0;s:10:"view_count";i:1182;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329522;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:18592;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329522;s:12:"last_post_id";i:18592;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:565:"a:6:{i:10032;a:2:{s:3:"tag";s:22:"barbara smith-palinkas";s:7:"tag_url";s:22:"barbara-smith-palinkas";}i:1561;a:2:{s:3:"tag";s:16:"cengage learning";s:7:"tag_url";s:16:"cengage-learning";}i:14752;a:2:{s:3:"tag";s:14:"deborah gordon";s:7:"tag_url";s:14:"deborah-gordon";}i:13479;a:2:{s:3:"tag";s:25:"grammar for great writing";s:7:"tag_url";s:25:"grammar-for-great-writing";}i:10030;a:2:{s:3:"tag";s:14:"keith s. folse";s:7:"tag_url";s:13:"keith-s-folse";}i:4450;a:2:{s:3:"tag";s:28:"national geographic learning";s:7:"tag_url";s:28:"national-geographic-learning";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16640;a:22:{s:9:"thread_id";i:16640;s:7:"node_id";i:343;s:5:"title";s:70:"Motivate! 2 Student's Book, Emma Heyderman, Fiona Mauchline, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:985;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329182;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:18591;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329182;s:12:"last_post_id";i:18591;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:28;s:4:"tags";s:385:"a:5:{i:6986;a:2:{s:3:"tag";s:14:"emma heyderman";s:7:"tag_url";s:14:"emma-heyderman";}i:14748;a:2:{s:3:"tag";s:15:"fiona mauchline";s:7:"tag_url";s:15:"fiona-mauchline";}i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}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:16639;a:22:{s:9:"thread_id";i:16639;s:7:"node_id";i:343;s:5:"title";s:70:"Motivate! 1 Student's Book, Emma Heyderman, Fiona Mauchline, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:1017;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329088;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:18590;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329088;s:12:"last_post_id";i:18590;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:28;s:4:"tags";s:385:"a:5:{i:6986;a:2:{s:3:"tag";s:14:"emma heyderman";s:7:"tag_url";s:14:"emma-heyderman";}i:14748;a:2:{s:3:"tag";s:15:"fiona mauchline";s:7:"tag_url";s:15:"fiona-mauchline";}i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}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:16638;a:22:{s:9:"thread_id";i:16638;s:7:"node_id";i:253;s:5:"title";s:71:"Motivate! 3 Student's Book, Patrick Howarth, Patricia Reilly, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:862;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642329008;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:18589;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642329008;s:12:"last_post_id";i:18589;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:388:"a:5:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}i:14751;a:2:{s:3:"tag";s:15:"patricia reilly";s:7:"tag_url";s:15:"patricia-reilly";}i:14750;a:2:{s:3:"tag";s:15:"patrick howarth";s:7:"tag_url";s:15:"patrick-howarth";}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:16637;a:22:{s:9:"thread_id";i:16637;s:7:"node_id";i:253;s:5:"title";s:71:"Motivate! 4 Student's Book, Patrick Howarth, Patricia Reilly, Macmillan";s:11:"reply_count";i:0;s:10:"view_count";i:591;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642328946;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:18588;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642328946;s:12:"last_post_id";i:18588;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:388:"a:5:{i:1694;a:2:{s:3:"tag";s:9:"macmillan";s:7:"tag_url";s:9:"macmillan";}i:14749;a:2:{s:3:"tag";s:9:"motivate!";s:7:"tag_url";s:8:"motivate";}i:14751;a:2:{s:3:"tag";s:15:"patricia reilly";s:7:"tag_url";s:15:"patricia-reilly";}i:14750;a:2:{s:3:"tag";s:15:"patrick howarth";s:7:"tag_url";s:15:"patrick-howarth";}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;}}s:12:"newerThreads";a:5:{i:16643;a:22:{s:9:"thread_id";i:16643;s:7:"node_id";i:196;s:5:"title";s:105:"Ôn tập thi vào lớp 10 môn Ngữ Văn Năm học 2022 - 2023, Nguyễn Thị Nương, Chu Thị Lý";s:11:"reply_count";i:0;s:10:"view_count";i:2610;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642347589;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:18594;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642347589;s:12:"last_post_id";i:18594;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:699:"a:10:{i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:14755;a:2:{s:3:"tag";s:9:"2022-2023";s:7:"tag_url";s:9:"2022-2023";}i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:8845;a:2:{s:3:"tag";s:10:"chu thi ly";s:7:"tag_url";s:10:"chu-thi-ly";}i:2687;a:2:{s:3:"tag";s:7:"ngu van";s:7:"tag_url";s:7:"ngu-van";}i:9730;a:2:{s:3:"tag";s:9:"ngu van 9";s:7:"tag_url";s:9:"ngu-van-9";}i:8844;a:2:{s:3:"tag";s:16:"nguyen thi nuong";s:7:"tag_url";s:16:"nguyen-thi-nuong";}i:939;a:2:{s:3:"tag";s:6:"on tap";s:7:"tag_url";s:6:"on-tap";}i:7993;a:2:{s:3:"tag";s:9:"on thi 10";s:7:"tag_url";s:9:"on-thi-10";}i:7886;a:2:{s:3:"tag";s:13:"on thi lop 10";s:7:"tag_url";s:13:"on-thi-lop-10";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16644;a:22:{s:9:"thread_id";i:16644;s:7:"node_id";i:196;s:5:"title";s:120:"Ôn tập thi vào lớp 10 môn toán năm học 2022 - 2023, Nguyễn Ngọc Đạm, Tạ Hữu Phơ, Đoàn Văn Tề";s:11:"reply_count";i:0;s:10:"view_count";i:6336;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642347860;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:18595;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642347860;s:12:"last_post_id";i:18595;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:638:"a:9:{i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:14755;a:2:{s:3:"tag";s:9:"2022-2023";s:7:"tag_url";s:9:"2022-2023";}i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:8848;a:2:{s:3:"tag";s:11:"doan van te";s:7:"tag_url";s:11:"doan-van-te";}i:8847;a:2:{s:3:"tag";s:15:"nguyen ngoc dam";s:7:"tag_url";s:15:"nguyen-ngoc-dam";}i:7993;a:2:{s:3:"tag";s:9:"on thi 10";s:7:"tag_url";s:9:"on-thi-10";}i:7886;a:2:{s:3:"tag";s:13:"on thi lop 10";s:7:"tag_url";s:13:"on-thi-lop-10";}i:8849;a:2:{s:3:"tag";s:10:"ta huu pho";s:7:"tag_url";s:10:"ta-huu-pho";}i:8512;a:2:{s:3:"tag";s:6:"toan 9";s:7:"tag_url";s:6:"toan-9";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16645;a:22:{s:9:"thread_id";i:16645;s:7:"node_id";i:196;s:5:"title";s:111:"Ôn tập thi vào lớp 10 môn Tiếng Anh năm học 2022 - 2023, Nguyễn Thị Chi, Nguyễn Hữu Cương";s:11:"reply_count";i:0;s:10:"view_count";i:2041;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642348118;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:18596;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642348118;s:12:"last_post_id";i:18596;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:3;s:4:"tags";s:790:"a:11:{i:11076;a:2:{s:3:"tag";s:4:"2022";s:7:"tag_url";s:4:"2022";}i:14755;a:2:{s:3:"tag";s:9:"2022-2023";s:7:"tag_url";s:9:"2022-2023";}i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:11619;a:2:{s:3:"tag";s:7:"grade 9";s:7:"tag_url";s:7:"grade-9";}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:939;a:2:{s:3:"tag";s:6:"on tap";s:7:"tag_url";s:6:"on-tap";}i:7993;a:2:{s:3:"tag";s:9:"on thi 10";s:7:"tag_url";s:9:"on-thi-10";}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:185;a:2:{s:3:"tag";s:9:"tieng anh";s:7:"tag_url";s:9:"tieng-anh";}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;}i:16646;a:22:{s:9:"thread_id";i:16646;s:7:"node_id";i:219;s:5:"title";s:60:"109 bài luyện dịch Anh - Việt, Nguyễn Thuần Hậu";s:11:"reply_count";i:0;s:10:"view_count";i:687;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1642348833;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:18597;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642348833;s:12:"last_post_id";i:18597;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:524:"a:7:{i:11882;a:2:{s:3:"tag";s:3:"109";s:7:"tag_url";s:3:"109";}i:230;a:2:{s:3:"tag";s:8:"anh viet";s:7:"tag_url";s:8:"anh-viet";}i:5548;a:2:{s:3:"tag";s:10:"luyen dich";s:7:"tag_url";s:10:"luyen-dich";}i:14756;a:2:{s:3:"tag";s:19:"luyen dich anh viet";s:7:"tag_url";s:19:"luyen-dich-anh-viet";}i:9555;a:2:{s:3:"tag";s:16:"nguyen thuan hau";s:7:"tag_url";s:16:"nguyen-thuan-hau";}i:4798;a:2:{s:3:"tag";s:9:"practical";s:7:"tag_url";s:9:"practical";}i:3695;a:2:{s:3:"tag";s:11:"translation";s:7:"tag_url";s:11:"translation";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:16647;a:22:{s:9:"thread_id";i:16647;s:7:"node_id";i:216;s:5:"title";s:51:"First Steps in Academic Writing, Ann Hogue, Longman";s:11:"reply_count";i:0;s:10:"view_count";i:644;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1642467959;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:18598;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1642467959;s:12:"last_post_id";i:18598;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:302:"a:4:{i:3816;a:2:{s:3:"tag";s:16:"academic writing";s:7:"tag_url";s:16:"academic-writing";}i:10309;a:2:{s:3:"tag";s:9:"ann hogue";s:7:"tag_url";s:9:"ann-hogue";}i:14758;a:2:{s:3:"tag";s:11:"first steps";s:7:"tag_url";s:11:"first-steps";}i:1236;a:2:{s:3:"tag";s:7:"longman";s:7:"tag_url";s:7:"longman";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25631;a:22:{s:9:"thread_id";i:25631;s:7:"node_id";i:382;s:5:"title";s:90:"Pathways Foundation Reading and Writing Classroom Presentation Tool (itools) second edtion";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:1715936745;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:30663;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936745;s:12:"last_post_id";i:30663;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:338:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:16410;a:2:{s:3:"tag";s:20:"pathways foundations";s:7:"tag_url";s:20:"pathways-foundations";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25630;a:22:{s:9:"thread_id";i:25630;s:7:"node_id";i:382;s:5:"title";s:84:"Pathways 4 Listening and Speaking Classroom Presentation Tool (itools) second edtion";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:1715936686;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:30662;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936686;s:12:"last_post_id";i:30662;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:15249;a:2:{s:3:"tag";s:10:"pathways 4";s:7:"tag_url";s:10:"pathways-4";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25629;a:22:{s:9:"thread_id";i:25629;s:7:"node_id";i:382;s:5:"title";s:81:"Pathways 3 Reading and Writing Classroom Presentation Tool (itools) second edtion";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:1715936629;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:30661;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936629;s:12:"last_post_id";i:30661;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:15248;a:2:{s:3:"tag";s:10:"pathways 3";s:7:"tag_url";s:10:"pathways-3";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25628;a:22:{s:9:"thread_id";i:25628;s:7:"node_id";i:382;s:5:"title";s:81:"Pathways 1 Reading and Writing Classroom Presentation Tool (itools) second edtion";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:1715936533;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:30660;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936533;s:12:"last_post_id";i:30660;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:13672;a:2:{s:3:"tag";s:10:"pathways 1";s:7:"tag_url";s:10:"pathways-1";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25627;a:22:{s:9:"thread_id";i:25627;s:7:"node_id";i:382;s:5:"title";s:81:"Pathways 2 Reading and Writing Classroom Presentation Tool (itools) second edtion";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:1715936328;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:30659;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1715936328;s:12:"last_post_id";i:30659;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:32;s:4:"tags";s:318:"a:4:{i:16236;a:2:{s:3:"tag";s:27:"classroom presentation tool";s:7:"tag_url";s:27:"classroom-presentation-tool";}i:2690;a:2:{s:3:"tag";s:6:"itools";s:7:"tag_url";s:6:"itools";}i:3868;a:2:{s:3:"tag";s:8:"pathways";s:7:"tag_url";s:8:"pathways";}i:15519;a:2:{s:3:"tag";s:10:"pathways 2";s:7:"tag_url";s:10:"pathways-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.879732
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Grammar for great Writing C, Keith S. Folse, Lida Baker, robyn Brinks Lockwood, Kristin Donnalley Sh' 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 <> 16642)
AND MATCH(search_index.title) AGAINST ('Grammar for great Writing C, Keith S. Folse, Lida Baker, robyn Brinks Lockwood, Kristin Donnalley Sh' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.330068
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, 43
Run Time: 0.000544
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.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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 16642)
ORDER BY RAND()
LIMIT 5
Run Time: 0.037555
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22848 | 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 (5649, 12734, 11156, 18027, 3702))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001277
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, 224
Run Time: 0.000463
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, 144
Run Time: 0.001057
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, 179
Run Time: 0.000925
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, 56
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, 26
Run Time: 0.000378
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 = 16642)
Run Time: 0.046734
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25711 | Using where |
UPDATE `xf_session` SET `expiry_date` = ? WHERE (session_id = '4c89e6b7ae36c31821d63374a3a96ef2')
Params: 1715941390
Run Time: 0.000350
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=16642, 1715937790,
Run Time: 0.000241
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.008149
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.000389
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.000206
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.000400
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.000187
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |