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.000661
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.000351
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.009850
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10940 | |
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: 18015
Run Time: 0.002756
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: 119
Run Time: 0.001089
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: 18015
Run Time: 0.008473
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: 18015
Run Time: 0.000186
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 18015, 0
Run Time: 0.331377
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25072 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1652411429)) AND (thread.thread_id <> 18015)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001143
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 12528 | Using where |
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.000221
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 > 1652411429)) AND (thread.thread_id <> 18015)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.002782
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 6969 | 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, 284
Run Time: 0.000976
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.000820
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, 136
Run Time: 0.000256
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 <> 18015)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000483
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, 135
Run Time: 0.000249
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, 356
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, 125
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, 126
Run Time: 0.000269
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 = 18015 AND user_id = 0)
Params: 1714755513, a:3:{s:12:"olderThreads";a:5:{i:18014;a:22:{s:9:"thread_id";i:18014;s:7:"node_id";i:119;s:5:"title";s:36:"Nam Việt Sử Ký Lê Văn Duyệt";s:11:"reply_count";i:0;s:10:"view_count";i:633;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652411373;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:20365;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652411373;s:12:"last_post_id";i:20365;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:166:"a:2:{i:9652;a:2:{s:3:"tag";s:12:"le van duyet";s:7:"tag_url";s:12:"le-van-duyet";}i:4459;a:2:{s:3:"tag";s:15:"tuong cai luong";s:7:"tag_url";s:15:"tuong-cai-luong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18013;a:22:{s:9:"thread_id";i:18013;s:7:"node_id";i:26;s:5:"title";s:47:"Lê Văn Duyệt - Đặng Thúc Liêng";s:11:"reply_count";i:0;s:10:"view_count";i:466;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652411250;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:20364;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652411250;s:12:"last_post_id";i:20364;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:167:"a:2:{i:16051;a:2:{s:3:"tag";s:15:"dang thuc lieng";s:7:"tag_url";s:15:"dang-thuc-lieng";}i:9652;a:2:{s:3:"tag";s:12:"le van duyet";s:7:"tag_url";s:12:"le-van-duyet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18012;a:22:{s:9:"thread_id";i:18012;s:7:"node_id";i:26;s:5:"title";s:40:"Lê Văn Duyệt - Cao Hải Để";s:11:"reply_count";i:0;s:10:"view_count";i:333;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652411200;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:20363;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652411200;s:12:"last_post_id";i:20363;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:83:"a:1:{i:9652;a:2:{s:3:"tag";s:12:"le van duyet";s:7:"tag_url";s:12:"le-van-duyet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18011;a:22:{s:9:"thread_id";i:18011;s:7:"node_id";i:119;s:5:"title";s:46:"Hoàng Tử Cảnh Như Tây, Quyển 2";s:11:"reply_count";i:0;s:10:"view_count";i:536;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652411132;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:20362;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652411132;s:12:"last_post_id";i:20362;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:94:"a:1:{i:16050;a:2:{s:3:"tag";s:17:"gia long tau quoc";s:7:"tag_url";s:17:"gia-long-tau-quoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18010;a:22:{s:9:"thread_id";i:18010;s:7:"node_id";i:119;s:5:"title";s:46:"Hoàng Tử Cảnh Như Tây, Quyển 1";s:11:"reply_count";i:0;s:10:"view_count";i:406;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652411087;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:20361;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652411087;s:12:"last_post_id";i:20361;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:94:"a:1:{i:16050;a:2:{s:3:"tag";s:17:"gia long tau quoc";s:7:"tag_url";s:17:"gia-long-tau-quoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:18016;a:22:{s:9:"thread_id";i:18016;s:7:"node_id";i:26;s:5:"title";s:30:"Ngự Giá Như Tây Ký";s:11:"reply_count";i:0;s:10:"view_count";i:454;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652411515;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:20367;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652411515;s:12:"last_post_id";i:20367;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18017;a:22:{s:9:"thread_id";i:18017;s:7:"node_id";i:26;s:5:"title";s:32:"Tả Quân Lê Văn Duyệt";s:11:"reply_count";i:1;s:10:"view_count";i:599;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652411590;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:20368;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1671359556;s:12:"last_post_id";i:23784;s:17:"last_post_user_id";i:70593;s:18:"last_post_username";s:9:"nhattrang";s:9:"prefix_id";i:2;s:4:"tags";s:83:"a:1:{i:9652;a:2:{s:3:"tag";s:12:"le van duyet";s:7:"tag_url";s:12:"le-van-duyet";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18018;a:22:{s:9:"thread_id";i:18018;s:7:"node_id";i:284;s:5:"title";s:110:"14 ngày đạt điểm số tối đa hàm số và các bài toán liên quan, thầy Nguyễn Tiến Đạt";s:11:"reply_count";i:0;s:10:"view_count";i:2105;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652413294;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:20369;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652413294;s:12:"last_post_id";i:20369;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:134:"a:2:{i:3097;a:2:{s:3:"tag";s:6:"thptqg";s:7:"tag_url";s:6:"thptqg";}i:8515;a:2:{s:3:"tag";s:7:"toan 12";s:7:"tag_url";s:7:"toan-12";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18019;a:22:{s:9:"thread_id";i:18019;s:7:"node_id";i:217;s:5:"title";s:54:"Chinh phục cụm động từ tiếng Anh, Trang Anh";s:11:"reply_count";i:0;s:10:"view_count";i:761;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1652415581;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:20370;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652415581;s:12:"last_post_id";i:20370;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:2;s:4:"tags";s:223:"a:3:{i:8598;a:2:{s:3:"tag";s:10:"chinh phuc";s:7:"tag_url";s:10:"chinh-phuc";}i:9078;a:2:{s:3:"tag";s:11:"cum dong tu";s:7:"tag_url";s:11:"cum-dong-tu";}i:8822;a:2:{s:3:"tag";s:9:"trang anh";s:7:"tag_url";s:9:"trang-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:18020;a:22:{s:9:"thread_id";i:18020;s:7:"node_id";i:136;s:5:"title";s:93:"5 Practice Tests for The VNU-EPT NXB Đại Học Quốc Gia 2015 - Đỗ Thị Diệu Ngọc";s:11:"reply_count";i:0;s:10:"view_count";i:580;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1652430288;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:20371;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1652430288;s:12:"last_post_id";i:20371;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:228:"a:3:{i:16052;a:2:{s:3:"tag";s:16:"do thi dieu ngoc";s:7:"tag_url";s:16:"do-thi-dieu-ngoc";}i:262;a:2:{s:3:"tag";s:13:"practice test";s:7:"tag_url";s:13:"practice-test";}i:10512;a:2:{s:3:"tag";s:3:"vnu";s:7:"tag_url";s:3:"vnu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25544;a:22:{s:9:"thread_id";i:25544;s:7:"node_id";i:135;s:5:"title";s:111:"Tuyển chọn những bài văn đạt giải cấp tỉnh, thành phố và quốc gia, Nguyễn Thành Huân";s:11:"reply_count";i:1;s:10:"view_count";i:0;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714755193;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:30535;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714755389;s:12:"last_post_id";i:30536;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:224:"a:3:{i:2483;a:2:{s:3:"tag";s:3:"hsg";s:7:"tag_url";s:3:"hsg";}i:16934;a:2:{s:3:"tag";s:17:"nguyen thanh huan";s:7:"tag_url";s:17:"nguyen-thanh-huan";}i:8079;a:2:{s:3:"tag";s:10:"tuyen chon";s:7:"tag_url";s:10:"tuyen-chon";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25543;a:22:{s:9:"thread_id";i:25543;s:7:"node_id";i:356;s:5:"title";s:90:"Quản trị khách sạn, biên đam mê thành dịch vụ hoàn hảo, Bùi Xuân Phong";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714755092;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:30534;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714755092;s:12:"last_post_id";i:30534;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:372:"a:5:{i:14729;a:2:{s:3:"tag";s:14:"bui xuan phong";s:7:"tag_url";s:14:"bui-xuan-phong";}i:1802;a:2:{s:3:"tag";s:7:"dich vu";s:7:"tag_url";s:7:"dich-vu";}i:927;a:2:{s:3:"tag";s:5:"hotel";s:7:"tag_url";s:5:"hotel";}i:8003;a:2:{s:3:"tag";s:9:"khach san";s:7:"tag_url";s:9:"khach-san";}i:16867;a:2:{s:3:"tag";s:18:"quan tri khach san";s:7:"tag_url";s:18:"quan-tri-khach-san";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25542;a:22:{s:9:"thread_id";i:25542;s:7:"node_id";i:125;s:5:"title";s:83:"Phong cách PR chuyên nghiệp, Hoàng Xuân Phương, Nguyễn Thị Ngọc Châu";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714754990;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:30533;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714754990;s:12:"last_post_id";i:30533;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:415:"a:5:{i:8624;a:2:{s:3:"tag";s:7:"bao chi";s:7:"tag_url";s:7:"bao-chi";}i:22331;a:2:{s:3:"tag";s:17:"hoang xuan phuong";s:7:"tag_url";s:17:"hoang-xuan-phuong";}i:22332;a:2:{s:3:"tag";s:20:"nguyen thi ngoc chau";s:7:"tag_url";s:20:"nguyen-thi-ngoc-chau";}i:2753;a:2:{s:3:"tag";s:16:"public relations";s:7:"tag_url";s:16:"public-relations";}i:8081;a:2:{s:3:"tag";s:12:"truyen thong";s:7:"tag_url";s:12:"truyen-thong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25541;a:22:{s:9:"thread_id";i:25541;s:7:"node_id";i:126;s:5:"title";s:76:"Nghề tay trái, 100 cách kiếm tiền thời bão giá, Chris Guillebeau";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714754905;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:30532;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714754905;s:12:"last_post_id";i:30532;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:235:"a:3:{i:5239;a:2:{s:3:"tag";s:16:"chris guillebeau";s:7:"tag_url";s:16:"chris-guillebeau";}i:15612;a:2:{s:3:"tag";s:9:"freelance";s:7:"tag_url";s:9:"freelance";}i:160;a:2:{s:3:"tag";s:11:"nghe nghiep";s:7:"tag_url";s:11:"nghe-nghiep";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25540;a:22:{s:9:"thread_id";i:25540;s:7:"node_id";i:125;s:5:"title";s:74:"Những đòn tâm lý trong bán hang, Brian Tracy, Psychology of selling";s:11:"reply_count";i:0;s:10:"view_count";i:0;s:7:"user_id";i:38393;s:8:"username";s:9:"mod_Hoang";s:9:"post_date";i:1714754810;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:30531;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714754810;s:12:"last_post_id";i:30531;s:17:"last_post_user_id";i:38393;s:18:"last_post_username";s:9:"mod_Hoang";s:9:"prefix_id";i:2;s:4:"tags";s:371:"a:5:{i:5634;a:2:{s:3:"tag";s:8:"ban hang";s:7:"tag_url";s:8:"ban-hang";}i:2640;a:2:{s:3:"tag";s:11:"brian tracy";s:7:"tag_url";s:11:"brian-tracy";}i:22330;a:2:{s:3:"tag";s:21:"psychology of selling";s:7:"tag_url";s:21:"psychology-of-selling";}i:5635;a:2:{s:3:"tag";s:7:"selling";s:7:"tag_url";s:7:"selling";}i:367;a:2:{s:3:"tag";s:6:"tam ly";s:7:"tag_url";s:6:"tam-ly";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.717785
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Nam Sử - Gia Long Tẩu Quốc' 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 <> 18015)
AND MATCH(search_index.title) AGAINST ('Nam Sử - Gia Long Tẩu Quốc' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.214445
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 498 | 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, 42
Run Time: 0.000316
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 41
Run Time: 0.000242
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.000246
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 <> 18015)
ORDER BY RAND()
LIMIT 5
Run Time: 0.029002
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 25057 | 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 (9839, 12222, 11604, 5924, 12382))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001193
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, 192
Run Time: 0.001087
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, 39
Run Time: 0.000265
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 152
Run Time: 0.002167
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 43
Run Time: 0.001075
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 = 18015)
Run Time: 0.022752
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25618 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 06624416dda6a6d1e33b64a96d7642de, , 1714759113
Run Time: 0.000212
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=18015, 1714755513,
Run Time: 0.000144
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.000648
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.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_top')
AND style_id = ?
AND language_id = ?
Params: 3, 2
Run Time: 0.000211
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.000263
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.000247
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |