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.000838
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.000240
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.005423
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10915 | |
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: 459
Run Time: 0.001116
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: 36
Run Time: 0.000512
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: 459
Run Time: 0.009334
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 (605)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.021422
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 | 4 | 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: 459
Run Time: 0.000125
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 459, 0
Run Time: 0.343609
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25048 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1526661729)) AND (thread.thread_id <> 459)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.003021
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 423 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 33
Run Time: 0.000257
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 11
Run Time: 0.000171
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, 4
Run Time: 0.000211
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.000173
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 > 1526661729)) AND (thread.thread_id <> 459)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.005415
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 10935 | 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, 47
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 459)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000370
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | PRIMARY | post_date | 4 | | 5 | Using where |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 459 AND user_id = 0)
Params: 1714582090, a:3:{s:12:"olderThreads";a:5:{i:458;a:22:{s:9:"thread_id";i:458;s:7:"node_id";i:33;s:5:"title";s:33:"Cần tìm sách nobel văn học";s:11:"reply_count";i:0;s:10:"view_count";i:971;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526661640;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:604;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526661640;s:12:"last_post_id";i:604;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:1;s:4:"tags";s:287:"a:4:{i:740;a:2:{s:3:"tag";s:4:"2002";s:7:"tag_url";s:4:"2002";}i:881;a:2:{s:3:"tag";s:4:"2010";s:7:"tag_url";s:4:"2010";}i:879;a:2:{s:3:"tag";s:13:"kertész imre";s:7:"tag_url";s:12:"kertesz-imre";}i:880;a:2:{s:3:"tag";s:18:"mario vargas llosa";s:7:"tag_url";s:18:"mario-vargas-llosa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:457;a:22:{s:9:"thread_id";i:457;s:7:"node_id";i:11;s:5:"title";s:34:"Kịch chiến giữa voi và hổ";s:11:"reply_count";i:0;s:10:"view_count";i:806;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526661389;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:603;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526661389;s:12:"last_post_id";i:603;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:271:"a:4:{i:877;a:2:{s:3:"tag";s:4:"1904";s:7:"tag_url";s:4:"1904";}i:876;a:2:{s:3:"tag";s:8:"gia long";s:7:"tag_url";s:8:"gia-long";}i:40;a:2:{s:3:"tag";s:7:"lich su";s:7:"tag_url";s:7:"lich-su";}i:878;a:2:{s:3:"tag";s:13:"pierre poivre";s:7:"tag_url";s:13:"pierre-poivre";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:456;a:22:{s:9:"thread_id";i:456;s:7:"node_id";i:4;s:5:"title";s:76:"Chỉ ngu ngơ mới biết cười | Tao Đàn - Văn Chương Kinh Điển";s:11:"reply_count";i:0;s:10:"view_count";i:1753;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526661220;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:602;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526661220;s:12:"last_post_id";i:602;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:414:"a:6:{i:82;a:2:{s:3:"tag";s:4:"2018";s:7:"tag_url";s:4:"2018";}i:873;a:2:{s:3:"tag";s:13:"edith wharton";s:7:"tag_url";s:13:"edith-wharton";}i:875;a:2:{s:3:"tag";s:6:"ngu co";s:7:"tag_url";s:6:"ngu-co";}i:874;a:2:{s:3:"tag";s:12:"tac pham moi";s:7:"tag_url";s:12:"tac-pham-moi";}i:81;a:2:{s:3:"tag";s:7:"tao dan";s:7:"tag_url";s:7:"tao-dan";}i:153;a:2:{s:3:"tag";s:10:"van chuong";s:7:"tag_url";s:10:"van-chuong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:455;a:22:{s:9:"thread_id";i:455;s:7:"node_id";i:11;s:5:"title";s:83:"Hai tác phẩm đầu tay của Nhất Linh: Nho Phong và Người Quay Tơ";s:11:"reply_count";i:0;s:10:"view_count";i:885;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526661083;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:601;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526661083;s:12:"last_post_id";i:601;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:342:"a:5:{i:872;a:2:{s:3:"tag";s:4:"1960";s:7:"tag_url";s:4:"1960";}i:870;a:2:{s:3:"tag";s:13:"nguoi quay to";s:7:"tag_url";s:13:"nguoi-quay-to";}i:868;a:2:{s:3:"tag";s:9:"nhat linh";s:7:"tag_url";s:9:"nhat-linh";}i:869;a:2:{s:3:"tag";s:9:"nho phong";s:7:"tag_url";s:9:"nho-phong";}i:871;a:2:{s:3:"tag";s:7:"sai gon";s:7:"tag_url";s:7:"sai-gon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:454;a:22:{s:9:"thread_id";i:454;s:7:"node_id";i:7;s:5:"title";s:52:"Learning to listen 3 + Teacher guide | lin lougheed";s:11:"reply_count";i:0;s:10:"view_count";i:1341;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526660837;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:600;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526660837;s:12:"last_post_id";i:600;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:13;s:4:"tags";s:378:"a:5:{i:866;a:2:{s:3:"tag";s:18:"learning to listen";s:7:"tag_url";s:18:"learning-to-listen";}i:867;a:2:{s:3:"tag";s:12:"lin lougheed";s:7:"tag_url";s:12:"lin-lougheed";}i:864;a:2:{s:3:"tag";s:6:"listen";s:7:"tag_url";s:6:"listen";}i:257;a:2:{s:3:"tag";s:9:"listening";s:7:"tag_url";s:9:"listening";}i:865;a:2:{s:3:"tag";s:13:"teacher guide";s:7:"tag_url";s:13:"teacher-guide";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:460;a:22:{s:9:"thread_id";i:460;s:7:"node_id";i:47;s:5:"title";s:73:"rượu bổ cổ truyền chưa bách bệnh - Hà Kim Sinh biên dịch";s:11:"reply_count";i:0;s:10:"view_count";i:831;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526663547;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:606;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526663547;s:12:"last_post_id";i:606;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:220:"a:3:{i:883;a:2:{s:3:"tag";s:4:"2004";s:7:"tag_url";s:4:"2004";}i:882;a:2:{s:3:"tag";s:20:"nxb the duc the thao";s:7:"tag_url";s:20:"nxb-the-duc-the-thao";}i:884;a:2:{s:3:"tag";s:7:"ruou bo";s:7:"tag_url";s:7:"ruou-bo";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:461;a:22:{s:9:"thread_id";i:461;s:7:"node_id";i:47;s:5:"title";s:70:"Cải lương hương chính qua tài liệu và tư liệu lưu trữ";s:11:"reply_count";i:0;s:10:"view_count";i:768;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526663592;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:607;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526663592;s:12:"last_post_id";i:607;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:244:"a:3:{i:885;a:2:{s:3:"tag";s:9:"cai luong";s:7:"tag_url";s:9:"cai-luong";}i:887;a:2:{s:3:"tag";s:22:"cuc van thu va luu tru";s:7:"tag_url";s:22:"cuc-van-thu-va-luu-tru";}i:886;a:2:{s:3:"tag";s:11:"huong chinh";s:7:"tag_url";s:11:"huong-chinh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:462;a:22:{s:9:"thread_id";i:462;s:7:"node_id";i:47;s:5:"title";s:41:"NGƯỜI ĐÀN ÔNG HÓA THÀNH ĐÀN BÀ";s:11:"reply_count";i:0;s:10:"view_count";i:823;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526663692;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:608;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526663692;s:12:"last_post_id";i:608;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:260:"a:3:{i:890;a:2:{s:3:"tag";s:16:"ernest hemingway";s:7:"tag_url";s:16:"ernest-hemingway";}i:888;a:2:{s:3:"tag";s:17:"sherwood anderson";s:7:"tag_url";s:17:"sherwood-anderson";}i:889;a:2:{s:3:"tag";s:16:"william faulkner";s:7:"tag_url";s:16:"william-faulkner";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:463;a:22:{s:9:"thread_id";i:463;s:7:"node_id";i:47;s:5:"title";s:26:"HƯƠNG THIỀN NGÀN NĂM";s:11:"reply_count";i:0;s:10:"view_count";i:1083;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526663788;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:609;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526663788;s:12:"last_post_id";i:609;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:911:"a:12:{i:897;a:2:{s:3:"tag";s:8:"khong lo";s:7:"tag_url";s:8:"khong-lo";}i:896;a:2:{s:3:"tag";s:8:"man giac";s:7:"tag_url";s:8:"man-giac";}i:902;a:2:{s:3:"tag";s:15:"phap loa nhi to";s:7:"tag_url";s:15:"phap-loa-nhi-to";}i:891;a:2:{s:3:"tag";s:15:"thich giac toan";s:7:"tag_url";s:15:"thich-giac-toan";}i:892;a:2:{s:3:"tag";s:14:"thich le trang";s:7:"tag_url";s:14:"thich-le-trang";}i:894;a:2:{s:3:"tag";s:9:"thien lao";s:7:"tag_url";s:9:"thien-lao";}i:899;a:2:{s:3:"tag";s:7:"tri bao";s:7:"tag_url";s:7:"tri-bao";}i:901;a:2:{s:3:"tag";s:19:"truc lam dai dau da";s:7:"tag_url";s:19:"truc-lam-dai-dau-da";}i:898;a:2:{s:3:"tag";s:13:"truong nguyen";s:7:"tag_url";s:13:"truong-nguyen";}i:900;a:2:{s:3:"tag";s:19:"tue trung thuong si";s:7:"tag_url";s:19:"tue-trung-thuong-si";}i:893;a:2:{s:3:"tag";s:8:"van hanh";s:7:"tag_url";s:8:"van-hanh";}i:895;a:2:{s:3:"tag";s:10:"vien chieu";s:7:"tag_url";s:10:"vien-chieu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:464;a:22:{s:9:"thread_id";i:464;s:7:"node_id";i:47;s:5:"title";s:23:"THIỀN LUẬN - SUZUKI";s:11:"reply_count";i:0;s:10:"view_count";i:1281;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526663868;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:610;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526663868;s:12:"last_post_id";i:610;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:296:"a:4:{i:904;a:2:{s:3:"tag";s:22:"daisetz teitaro suzuki";s:7:"tag_url";s:22:"daisetz-teitaro-suzuki";}i:903;a:2:{s:3:"tag";s:5:"thien";s:7:"tag_url";s:5:"thien";}i:906;a:2:{s:3:"tag";s:10:"truc thien";s:7:"tag_url";s:10:"truc-thien";}i:905;a:2:{s:3:"tag";s:6:"tue sy";s:7:"tag_url";s:6:"tue-sy";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25520;a:22:{s:9:"thread_id";i:25520;s:7:"node_id";i:11;s:5:"title";s:87:"Hiệu Ứng Người Bảo Trợ: Dạy Chính Mình Bằng Cách Dạy Người Khác";s:11:"reply_count";i:0;s:10:"view_count";i:22;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517221;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30509;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517221;s:12:"last_post_id";i:30509;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25519;a:22:{s:9:"thread_id";i:25519;s:7:"node_id";i:11;s:5:"title";s:85:"Nghệ Thuật 'Fake It Till You Make It' Của Huyền Thoại Cờ Vua Thế Giới";s:11:"reply_count";i:0;s:10:"view_count";i:21;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517172;s:6:"sticky";i:0;s:16:"discussion_state";s:7:"visible";s:15:"discussion_open";i:1;s:15:"discussion_type";s:0:"";s:13:"first_post_id";i:30508;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517172;s:12:"last_post_id";i:30508;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25518;a:22:{s:9:"thread_id";i:25518;s:7:"node_id";i:11;s:5:"title";s:86:"35 BÍ QUYẾT ĐỌC SÁCH MÌNH HỌC ĐƯỢC SAU KHI ĐỌC HƠN 350 CUỐN SÁCH.";s:11:"reply_count";i:0;s:10:"view_count";i:17;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517111;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:30507;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517111;s:12:"last_post_id";i:30507;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25517;a:22:{s:9:"thread_id";i:25517;s:7:"node_id";i:11;s:5:"title";s:92:"Hiệu Ứng Thỏa Mãn Vượt Ngưỡng (Phần 1): Tiền Có Mua Được Hạnh Phúc?";s:11:"reply_count";i:0;s:10:"view_count";i:20;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517080;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:30506;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517080;s:12:"last_post_id";i:30506;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25516;a:22:{s:9:"thread_id";i:25516;s:7:"node_id";i:11;s:5:"title";s:56:"VÌ SAO CHÚNG TA KHÔNG LÀM NHỮNG GÌ ĐÃ ĐỀ RA?";s:11:"reply_count";i:0;s:10:"view_count";i:22;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1714517042;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:30505;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714517042;s:12:"last_post_id";i:30505;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.648237
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('THÀNH PHỐ VÀ LŨ CHÓ' 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 <> 459)
AND MATCH(search_index.title) AGAINST ('THÀNH PHỐ VÀ LŨ CHÓ' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.383822
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 497 | Using index condition; Using where; Using temporary; Using filesort |
SIMPLE | thread | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.search_index.content_id | 1 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 34
Run Time: 0.000298
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, 29
Run Time: 0.000234
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 22
Run Time: 0.000234
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 459)
ORDER BY RAND()
LIMIT 5
Run Time: 0.200318
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 21870 | 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 (1661, 22997, 24542, 20262, 21951))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.058497
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.000227
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, 361
Run Time: 0.000183
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, 217
Run Time: 0.000191
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, 231
Run Time: 0.000179
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 = 459)
Run Time: 0.209511
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25589 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 79cfae25f249200acd02417ff5e2d64e, , 1714585690
Run Time: 0.000227
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=459, 1714582090,
Run Time: 0.000156
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.007306
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.000305
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.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 | |
SELECT adv.*
FROM xf_advertisement AS adv
WHERE (adv.active = 1) AND (adv.positive = 3)
Run Time: 0.000246
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.000191
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |