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.009463
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.001605
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.033116
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: 552
Run Time: 0.001054
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: 28
Run Time: 0.003993
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: 552
Run Time: 0.027452
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: 552
Run Time: 0.000191
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 552, 0
Run Time: 0.398900
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 < 1526839542)) AND (thread.thread_id <> 552)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.002605
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 512 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 49
Run Time: 0.000826
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 > 1526839542)) AND (thread.thread_id <> 552)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.004955
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, 27
Run Time: 0.000240
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, 47
Run Time: 0.000193
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 <> 552)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000358
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, 11
Run Time: 0.000212
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 = 552 AND user_id = 0)
Params: 1714593783, a:3:{s:12:"olderThreads";a:5:{i:551;a:22:{s:9:"thread_id";i:551;s:7:"node_id";i:49;s:5:"title";s:43:"thăm dò tiềm thức by Carl Gustav Jung";s:11:"reply_count";i:0;s:10:"view_count";i:929;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526839473;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:704;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526839473;s:12:"last_post_id";i:704;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:296:"a:4:{i:1058;a:2:{s:3:"tag";s:16:"carl gustav jung";s:7:"tag_url";s:16:"carl-gustav-jung";}i:1057;a:2:{s:3:"tag";s:5:"freud";s:7:"tag_url";s:5:"freud";}i:1056;a:2:{s:3:"tag";s:9:"tiem thuc";s:7:"tag_url";s:9:"tiem-thuc";}i:1059;a:2:{s:3:"tag";s:11:"vu dinh luu";s:7:"tag_url";s:11:"vu-dinh-luu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:550;a:22:{s:9:"thread_id";i:550;s:7:"node_id";i:49;s:5:"title";s:24:"Tâm lý học xã hội";s:11:"reply_count";i:2;s:10:"view_count";i:1253;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526839215;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:703;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1644398944;s:12:"last_post_id";i:18987;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:280:"a:4:{i:1055;a:2:{s:3:"tag";s:16:"c. george boeree";s:7:"tag_url";s:15:"c-george-boeree";}i:435;a:2:{s:3:"tag";s:10:"tam ly hoc";s:7:"tag_url";s:10:"tam-ly-hoc";}i:91;a:2:{s:3:"tag";s:3:"vip";s:7:"tag_url";s:3:"vip";}i:1054;a:2:{s:3:"tag";s:6:"xa hoi";s:7:"tag_url";s:6:"xa-hoi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:549;a:22:{s:9:"thread_id";i:549;s:7:"node_id";i:49;s:5:"title";s:57:"TÂM LÝ HỌC DỊ BIỆT VÀ LÂM SÀNG by Paul bennett";s:11:"reply_count";i:0;s:10:"view_count";i:929;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526838978;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:702;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526838978;s:12:"last_post_id";i:702;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:222:"a:3:{i:1053;a:2:{s:3:"tag";s:8:"lam sang";s:7:"tag_url";s:8:"lam-sang";}i:1052;a:2:{s:3:"tag";s:12:"paul bennett";s:7:"tag_url";s:12:"paul-bennett";}i:435;a:2:{s:3:"tag";s:10:"tam ly hoc";s:7:"tag_url";s:10:"tam-ly-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:548;a:22:{s:9:"thread_id";i:548;s:7:"node_id";i:49;s:5:"title";s:46:"Tâm Lý Học Hài Hước by Richard Wiseman";s:11:"reply_count";i:1;s:10:"view_count";i:1272;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526838808;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:701;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1533710077;s:12:"last_post_id";i:2952;s:17:"last_post_user_id";i:1098;s:18:"last_post_username";s:9:"hungkt123";s:9:"prefix_id";i:2;s:4:"tags";s:283:"a:4:{i:1051;a:2:{s:3:"tag";s:8:"hai huoc";s:7:"tag_url";s:8:"hai-huoc";}i:1050;a:2:{s:3:"tag";s:15:"richard wiseman";s:7:"tag_url";s:15:"richard-wiseman";}i:435;a:2:{s:3:"tag";s:10:"tam ly hoc";s:7:"tag_url";s:10:"tam-ly-hoc";}i:91;a:2:{s:3:"tag";s:3:"vip";s:7:"tag_url";s:3:"vip";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:547;a:22:{s:9:"thread_id";i:547;s:7:"node_id";i:49;s:5:"title";s:64:"Tâm lý đám đông và phân tích cái tôi by Sigmund Freud";s:11:"reply_count";i:0;s:10:"view_count";i:897;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526838614;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:700;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526838614;s:12:"last_post_id";i:700;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:351:"a:5:{i:1049;a:2:{s:3:"tag";s:7:"cai toi";s:7:"tag_url";s:7:"cai-toi";}i:1048;a:2:{s:3:"tag";s:8:"dam dong";s:7:"tag_url";s:8:"dam-dong";}i:1009;a:2:{s:3:"tag";s:13:"sigmund freud";s:7:"tag_url";s:13:"sigmund-freud";}i:367;a:2:{s:3:"tag";s:6:"tam ly";s:7:"tag_url";s:6:"tam-ly";}i:435;a:2:{s:3:"tag";s:10:"tam ly hoc";s:7:"tag_url";s:10:"tam-ly-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:553;a:22:{s:9:"thread_id";i:553;s:7:"node_id";i:28;s:5:"title";s:40:"Tự luyện phương pháp đọc nhanh";s:11:"reply_count";i:0;s:10:"view_count";i:886;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526839808;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:706;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526839808;s:12:"last_post_id";i:706;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:215:"a:3:{i:1062;a:2:{s:3:"tag";s:9:"doc nhanh";s:7:"tag_url";s:9:"doc-nhanh";}i:1064;a:2:{s:3:"tag";s:10:"nxb tp hcm";s:7:"tag_url";s:10:"nxb-tp-hcm";}i:1063;a:2:{s:3:"tag";s:8:"tu luyen";s:7:"tag_url";s:8:"tu-luyen";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:554;a:22:{s:9:"thread_id";i:554;s:7:"node_id";i:49;s:5:"title";s:54:"Tương lai của một ảo tưởng by Sigmund Freud";s:11:"reply_count";i:0;s:10:"view_count";i:905;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526840000;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:707;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526840000;s:12:"last_post_id";i:707;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:293:"a:4:{i:1066;a:2:{s:3:"tag";s:8:"ao tuong";s:7:"tag_url";s:8:"ao-tuong";}i:1009;a:2:{s:3:"tag";s:13:"sigmund freud";s:7:"tag_url";s:13:"sigmund-freud";}i:435;a:2:{s:3:"tag";s:10:"tam ly hoc";s:7:"tag_url";s:10:"tam-ly-hoc";}i:1065;a:2:{s:3:"tag";s:9:"tuong lai";s:7:"tag_url";s:9:"tuong-lai";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:555;a:22:{s:9:"thread_id";i:555;s:7:"node_id";i:49;s:5:"title";s:58:"Văn minh và những bất mãn từ nó by Sigmund Freud";s:11:"reply_count";i:0;s:10:"view_count";i:844;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526840156;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:708;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526840156;s:12:"last_post_id";i:708;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:233:"a:3:{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";}i:435;a:2:{s:3:"tag";s:10:"tam ly hoc";s:7:"tag_url";s:10:"tam-ly-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:556;a:22:{s:9:"thread_id";i:556;s:7:"node_id";i:27;s:5:"title";s:70:"TÀI LIỆU TÂM BỆNH HỌC Biên soạn: ThS. LÊ HOÀNG THẾ HUY";s:11:"reply_count";i:0;s:10:"view_count";i:1381;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526840257;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:709;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526840257;s:12:"last_post_id";i:709;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:235:"a:3:{i:1069;a:2:{s:3:"tag";s:16:"le hoang the huy";s:7:"tag_url";s:16:"le-hoang-the-huy";}i:1068;a:2:{s:3:"tag";s:8:"tam benh";s:7:"tag_url";s:8:"tam-benh";}i:1067;a:2:{s:3:"tag";s:12:"tam benh hoc";s:7:"tag_url";s:12:"tam-benh-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:557;a:22:{s:9:"thread_id";i:557;s:7:"node_id";i:47;s:5:"title";s:69:"Những cây thuốc và vị thuốc Việt Nam by Đỗ Tất Lợi";s:11:"reply_count";i:0;s:10:"view_count";i:703;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526844433;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:710;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526844433;s:12:"last_post_id";i:710;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:237:"a:3:{i:1071;a:2:{s:3:"tag";s:9:"cay thuoc";s:7:"tag_url";s:9:"cay-thuoc";}i:1070;a:2:{s:3:"tag";s:21:"nxb khoa hoc ky thuat";s:7:"tag_url";s:21:"nxb-khoa-hoc-ky-thuat";}i:1072;a:2:{s:3:"tag";s:8:"vi thuoc";s:7:"tag_url";s:8:"vi-thuoc";}}";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:23;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:23;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:19;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:21;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:24;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.883407
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Tính cách quyết định số phận' 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 <> 552)
AND MATCH(search_index.title) AGAINST ('Tính cách quyết định số phận' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.577389
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.000439
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.000416
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, 44
Run Time: 0.000566
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 <> 552)
ORDER BY RAND()
LIMIT 5
Run Time: 0.120980
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 (6184, 17471, 4688, 4561, 8791))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001491
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, 245
Run Time: 0.001365
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.000195
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, 21
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, 113
Run Time: 0.000728
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 = 552)
Run Time: 0.081325
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: 54cf81a53d7a7dc4322afd3073ecc6e1, , 1714597383
Run Time: 0.000858
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=552, 1714593783,
Run Time: 0.000181
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.000620
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.000313
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.000253
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.000247
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.000243
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |