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.000545
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.000213
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.004725
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10904 | |
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: 1901
Run Time: 0.000532
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: 11
Run Time: 0.001839
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: 1901
Run Time: 0.005617
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: 1901
Run Time: 0.000176
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 1901, 0
Run Time: 0.918866
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 < 1530935851)) AND (thread.thread_id <> 1901)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000523
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 1772 | Using where |
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.000238
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, 10
Run Time: 0.000178
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, 186
Run Time: 0.000974
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.000235
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 51
Run Time: 0.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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1530935851)) AND (thread.thread_id <> 1901)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.001638
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 10971 | 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, 15
Run Time: 0.000184
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.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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 23
Run Time: 0.000243
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, 48
Run Time: 0.000178
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 <> 1901)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000340
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 = 1901 AND user_id = 0)
Params: 1714523797, a:3:{s:12:"olderThreads";a:5:{i:1898;a:22:{s:9:"thread_id";i:1898;s:7:"node_id";i:57;s:5:"title";s:66:"Hướng dẫn học tiếng Trung cho người mới bắt đầu";s:11:"reply_count";i:5;s:10:"view_count";i:1056;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530851966;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:2123;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1576314785;s:12:"last_post_id";i:9286;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:385:"a:5:{i:174;a:2:{s:3:"tag";s:13:"chinese chess";s:7:"tag_url";s:13:"chinese-chess";}i:236;a:2:{s:3:"tag";s:15:"hoc tieng trung";s:7:"tag_url";s:15:"hoc-tieng-trung";}i:1509;a:2:{s:3:"tag";s:9:"huong dan";s:7:"tag_url";s:9:"huong-dan";}i:2128;a:2:{s:3:"tag";s:11:"kinh nghiem";s:7:"tag_url";s:11:"kinh-nghiem";}i:2724;a:2:{s:3:"tag";s:11:"moi bat dau";s:7:"tag_url";s:11:"moi-bat-dau";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:1897;a:22:{s:9:"thread_id";i:1897;s:7:"node_id";i:10;s:5:"title";s:25:"Chuyện ở nông trại";s:11:"reply_count";i:0;s:10:"view_count";i:1140;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530850639;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:2122;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530850639;s:12:"last_post_id";i:2122;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:8;s:4:"tags";s:220:"a:3:{i:1004;a:2:{s:3:"tag";s:11:"animal farm";s:7:"tag_url";s:11:"animal-farm";}i:564;a:2:{s:3:"tag";s:13:"george orwell";s:7:"tag_url";s:13:"george-orwell";}i:38;a:2:{s:3:"tag";s:6:"review";s:7:"tag_url";s:6:"review";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:1896;a:22:{s:9:"thread_id";i:1896;s:7:"node_id";i:186;s:5:"title";s:18:"Cambridge Ielts 11";s:11:"reply_count";i:0;s:10:"view_count";i:962;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530850483;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:2121;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530850483;s:12:"last_post_id";i:2121;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:156:"a:2:{i:1714;a:2:{s:3:"tag";s:15:"cambridge ielts";s:7:"tag_url";s:15:"cambridge-ielts";}i:2723;a:2:{s:3:"tag";s:8:"ielts 11";s:7:"tag_url";s:8:"ielts-11";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:1895;a:22:{s:9:"thread_id";i:1895;s:7:"node_id";i:56;s:5:"title";s:40:"The best preparation for ielts (4 books)";s:11:"reply_count";i:0;s:10:"view_count";i:1064;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530850200;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:2120;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530850200;s:12:"last_post_id";i:2120;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:12;s:4:"tags";s:486:"a:7:{i:2722;a:2:{s:3:"tag";s:16:"best preparation";s:7:"tag_url";s:16:"best-preparation";}i:90;a:2:{s:3:"tag";s:5:"ielts";s:7:"tag_url";s:5:"ielts";}i:257;a:2:{s:3:"tag";s:9:"listening";s:7:"tag_url";s:9:"listening";}i:241;a:2:{s:3:"tag";s:11:"preparation";s:7:"tag_url";s:11:"preparation";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}i:619;a:2:{s:3:"tag";s:8:"speaking";s:7:"tag_url";s:8:"speaking";}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;}i:1894;a:22:{s:9:"thread_id";i:1894;s:7:"node_id";i:51;s:5:"title";s:39:"Bảng chữ cái hiragana và katakana";s:11:"reply_count";i:0;s:10:"view_count";i:827;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530797603;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:2117;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530797603;s:12:"last_post_id";i:2117;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:140:"a:2:{i:2720;a:2:{s:3:"tag";s:8:"hiragana";s:7:"tag_url";s:8:"hiragana";}i:2721;a:2:{s:3:"tag";s:8:"katakana";s:7:"tag_url";s:8:"katakana";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:1902;a:22:{s:9:"thread_id";i:1902;s:7:"node_id";i:15;s:5:"title";s:101:"Bài tập tiếng Anh lớp 6 Lưu Hoằng Trí, chương trình thí điểm pearson, có đáp án";s:11:"reply_count";i:0;s:10:"view_count";i:1398;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530936521;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:2130;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530936521;s:12:"last_post_id";i:2130;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:484:"a:7:{i:182;a:2:{s:3:"tag";s:7:"bai tap";s:7:"tag_url";s:7:"bai-tap";}i:2729;a:2:{s:3:"tag";s:17:"bai tap tieng anh";s:7:"tag_url";s:17:"bai-tap-tieng-anh";}i:2730;a:2:{s:3:"tag";s:3:"bgd";s:7:"tag_url";s:3:"bgd";}i:187;a:2:{s:3:"tag";s:5:"lop 6";s:7:"tag_url";s:5:"lop-6";}i:192;a:2:{s:3:"tag";s:13:"luu hoang tri";s:7:"tag_url";s:13:"luu-hoang-tri";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}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:1903;a:22:{s:9:"thread_id";i:1903;s:7:"node_id";i:15;s:5:"title";s:101:"Bài tập tiếng Anh lớp 7 Lưu Hoằng Trí, chương trình thí điểm pearson, có đáp án";s:11:"reply_count";i:2;s:10:"view_count";i:1995;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530936726;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:2131;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1534569006;s:12:"last_post_id";i:3362;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:427:"a:6:{i:182;a:2:{s:3:"tag";s:7:"bai tap";s:7:"tag_url";s:7:"bai-tap";}i:2729;a:2:{s:3:"tag";s:17:"bai tap tieng anh";s:7:"tag_url";s:17:"bai-tap-tieng-anh";}i:198;a:2:{s:3:"tag";s:5:"lop 7";s:7:"tag_url";s:5:"lop-7";}i:192;a:2:{s:3:"tag";s:13:"luu hoang tri";s:7:"tag_url";s:13:"luu-hoang-tri";}i:188;a:2:{s:3:"tag";s:7:"pearson";s:7:"tag_url";s:7:"pearson";}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:1904;a:22:{s:9:"thread_id";i:1904;s:7:"node_id";i:36;s:5:"title";s:28:"PHÂN TÂM HỌC NHẬP MÔN";s:11:"reply_count";i:0;s:10:"view_count";i:872;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530936818;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:2132;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530936818;s:12:"last_post_id";i:2132;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:268:"a:3:{i:2731;a:2:{s:3:"tag";s:27:"nxb dai hoc quoc gia ha noi";s:7:"tag_url";s:27:"nxb-dai-hoc-quoc-gia-ha-noi";}i:114;a:2:{s:3:"tag";s:12:"phan tam hoc";s:7:"tag_url";s:12:"phan-tam-hoc";}i:1009;a:2:{s:3:"tag";s:13:"sigmund freud";s:7:"tag_url";s:13:"sigmund-freud";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:1905;a:22:{s:9:"thread_id";i:1905;s:7:"node_id";i:23;s:5:"title";s:35:"Bộ sách cho người xem tử vi";s:11:"reply_count";i:0;s:10:"view_count";i:1157;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530937204;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:2133;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530937204;s:12:"last_post_id";i:2133;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:412:"a:6:{i:459;a:2:{s:3:"tag";s:9:"huyen hoc";s:7:"tag_url";s:9:"huyen-hoc";}i:628;a:2:{s:3:"tag";s:10:"le quy don";s:7:"tag_url";s:10:"le-quy-don";}i:176;a:2:{s:3:"tag";s:3:"pdf";s:7:"tag_url";s:3:"pdf";}i:2733;a:2:{s:3:"tag";s:14:"thai van thinh";s:7:"tag_url";s:14:"thai-van-thinh";}i:510;a:2:{s:3:"tag";s:5:"tu vi";s:7:"tag_url";s:5:"tu-vi";}i:2732;a:2:{s:3:"tag";s:9:"xem tu vi";s:7:"tag_url";s:9:"xem-tu-vi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:1906;a:22:{s:9:"thread_id";i:1906;s:7:"node_id";i:48;s:5:"title";s:93:"Tổng hợp sách về ngôn ngữ cơ thể và đọc vị hành vi + nhân tướng học";s:11:"reply_count";i:0;s:10:"view_count";i:778;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1530937673;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:2134;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1530937673;s:12:"last_post_id";i:2134;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:377:"a:5:{i:2737;a:2:{s:3:"tag";s:8:"bihavior";s:7:"tag_url";s:8:"bihavior";}i:1983;a:2:{s:3:"tag";s:13:"body language";s:7:"tag_url";s:13:"body-language";}i:2735;a:2:{s:3:"tag";s:12:"face reading";s:7:"tag_url";s:12:"face-reading";}i:2734;a:2:{s:3:"tag";s:8:"joey yap";s:7:"tag_url";s:8:"joey-yap";}i:2736;a:2:{s:3:"tag";s:14:"reading people";s:7:"tag_url";s:14:"reading-people";}}";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:9;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:10;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:7;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:8;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:8;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.750985
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Sherlock Holmes khinh thường phụ nữ! Và vài ba cái tệ của bộ tiểu thuyết Sherlock Holmes.' 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 <> 1901)
AND MATCH(search_index.title) AGAINST ('Sherlock Holmes khinh thường phụ nữ! Và vài ba cái tệ của bộ tiểu thuyết Sherlock Holmes.' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.181523
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, 37
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, 25
Run Time: 0.000146
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 <> 1901)
ORDER BY RAND()
LIMIT 5
Run Time: 0.017037
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 21943 | 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 (13017, 741, 13957, 1683, 16632))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000783
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, 126
Run Time: 0.000896
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, 243
Run Time: 0.000136
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.000122
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 = 1901)
Run Time: 0.024188
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: 5e99fcb28bef04c5ef96e3e007e49978, a:7:{s:12:"sessionStart";i:1714523797;s:2:"ip";s:4:"],";s:11:"sessionCsrf";s:16:"zltd6AGkMFbIYizZ";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;}}, 1714527397
Run Time: 0.000209
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=1901, 1714523797,
Run Time: 0.000105
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.000702
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 10 | Using where |
SELECT adv.*
FROM xf_advertisement AS adv
WHERE (adv.active = 1) AND (adv.positive = 1)
Run Time: 0.000399
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 5 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('tailieu_advertisement_top')
AND style_id = ?
AND language_id = ?
Params: 3, 2
Run Time: 0.000164
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.000204
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.000185
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |