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.000785
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.000239
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.005377
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10936 | |
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: 318
Run Time: 0.002911
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: 26
Run Time: 0.001083
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: 318
Run Time: 0.011731
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: 318
Run Time: 0.000463
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 318, 0
Run Time: 0.346626
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25059 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1526240895)) AND (thread.thread_id <> 318)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.004673
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 286 | Using where |
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.000203
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.000141
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 > 1526240895)) AND (thread.thread_id <> 318)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.004724
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11243 | 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, 36
Run Time: 0.000161
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.000148
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 <> 318)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000275
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, 361
Run Time: 0.000170
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, 296
Run Time: 0.000209
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, 89
Run Time: 0.000142
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 = 318 AND user_id = 0)
Params: 1714734278, a:3:{s:12:"olderThreads";a:5:{i:317;a:22:{s:9:"thread_id";i:317;s:7:"node_id";i:26;s:5:"title";s:49:"Hoa Thiên Lý - Duyên Anh | Tập truyện 1963";s:11:"reply_count";i:0;s:10:"view_count";i:931;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526240764;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:434;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526240764;s:12:"last_post_id";i:434;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:276:"a:4:{i:585;a:2:{s:3:"tag";s:4:"1963";s:7:"tag_url";s:4:"1963";}i:586;a:2:{s:3:"tag";s:9:"duyen anh";s:7:"tag_url";s:9:"duyen-anh";}i:588;a:2:{s:3:"tag";s:9:"giao diem";s:7:"tag_url";s:9:"giao-diem";}i:587;a:2:{s:3:"tag";s:12:"hoa thien ly";s:7:"tag_url";s:12:"hoa-thien-ly";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:316;a:22:{s:9:"thread_id";i:316;s:7:"node_id";i:10;s:5:"title";s:94:"REVIEW: “MÀU XANH TRONG SUỐT” – SAO LẠI CÓ THỂ DÙNG HAI TỪ “DÂM THƯ”???";s:11:"reply_count";i:1;s:10:"view_count";i:1426;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526240590;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:432;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526240613;s:12:"last_post_id";i:433;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:180:"a:2:{i:584;a:2:{s:3:"tag";s:23:"almost transparent blue";s:7:"tag_url";s:23:"almost-transparent-blue";}i:583;a:2:{s:3:"tag";s:12:"ryu murakami";s:7:"tag_url";s:12:"ryu-murakami";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:315;a:22:{s:9:"thread_id";i:315;s:7:"node_id";i:11;s:5:"title";s:46:"TRUYỆN KIỀU DIỄN NGHĨA - Thái Bá Tân";s:11:"reply_count";i:0;s:10:"view_count";i:1146;s:7:"user_id";i:3;s:8:"username";s:10:"user_vip_1";s:9:"post_date";i:1526240386;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:431;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526240386;s:12:"last_post_id";i:431;s:17:"last_post_user_id";i:3;s:18:"last_post_username";s:10:"user_vip_1";s:9:"prefix_id";i:0;s:4:"tags";s:148:"a:2:{i:582;a:2:{s:3:"tag";s:9:"nguyen du";s:7:"tag_url";s:9:"nguyen-du";}i:249;a:2:{s:3:"tag";s:11:"truyen kieu";s:7:"tag_url";s:11:"truyen-kieu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:314;a:22:{s:9:"thread_id";i:314;s:7:"node_id";i:26;s:5:"title";s:40:"Tam Ngươn Đồ Hình - Lê Văn Nhàn";s:11:"reply_count";i:0;s:10:"view_count";i:2683;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526238731;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:430;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526238731;s:12:"last_post_id";i:430;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:80:"a:1:{i:522;a:2:{s:3:"tag";s:11:"le van nhan";s:7:"tag_url";s:11:"le-van-nhan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:313;a:22:{s:9:"thread_id";i:313;s:7:"node_id";i:26;s:5:"title";s:64:"Tam Ngươn Đại Lược (NXB Xuân Thu 1958) - Lê Văn Nhàn";s:11:"reply_count";i:0;s:10:"view_count";i:3926;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526238663;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:429;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526238663;s:12:"last_post_id";i:429;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:214:"a:3:{i:580;a:2:{s:3:"tag";s:4:"1958";s:7:"tag_url";s:4:"1958";}i:522;a:2:{s:3:"tag";s:11:"le van nhan";s:7:"tag_url";s:11:"le-van-nhan";}i:581;a:2:{s:3:"tag";s:12:"nxb xuan thu";s:7:"tag_url";s:12:"nxb-xuan-thu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:319;a:22:{s:9:"thread_id";i:319;s:7:"node_id";i:36;s:5:"title";s:46:"TAM QUỐC BÌNH GIẢNG - Nguyễn Tử Quang";s:11:"reply_count";i:0;s:10:"view_count";i:1864;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526241278;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:437;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526241278;s:12:"last_post_id";i:437;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:446:"a:6:{i:595;a:2:{s:3:"tag";s:9:"kinh dien";s:7:"tag_url";s:9:"kinh-dien";}i:593;a:2:{s:3:"tag";s:15:"nguyen tu quang";s:7:"tag_url";s:15:"nguyen-tu-quang";}i:592;a:2:{s:3:"tag";s:8:"tam quoc";s:7:"tag_url";s:8:"tam-quoc";}i:594;a:2:{s:3:"tag";s:19:"tam quoc binh giang";s:7:"tag_url";s:19:"tam-quoc-binh-giang";}i:79;a:2:{s:3:"tag";s:10:"trung quoc";s:7:"tag_url";s:10:"trung-quoc";}i:71;a:2:{s:3:"tag";s:7:"van hoc";s:7:"tag_url";s:7:"van-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:320;a:22:{s:9:"thread_id";i:320;s:7:"node_id";i:26;s:5:"title";s:46:"Triển Lãm Nhiếp Ảnh Toàn Quốc - 1971";s:11:"reply_count";i:0;s:10:"view_count";i:750;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526276415;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:439;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526276415;s:12:"last_post_id";i:439;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:268:"a:4:{i:599;a:2:{s:3:"tag";s:4:"1971";s:7:"tag_url";s:4:"1971";}i:596;a:2:{s:3:"tag";s:9:"nhiep anh";s:7:"tag_url";s:9:"nhiep-anh";}i:597;a:2:{s:3:"tag";s:9:"toan quoc";s:7:"tag_url";s:9:"toan-quoc";}i:598;a:2:{s:3:"tag";s:9:"trien lam";s:7:"tag_url";s:9:"trien-lam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:321;a:22:{s:9:"thread_id";i:321;s:7:"node_id";i:26;s:5:"title";s:57:"Văn Học Miền Nam - Phạm Việt Huyền | Khai Trí";s:11:"reply_count";i:0;s:10:"view_count";i:734;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526277039;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:441;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526277039;s:12:"last_post_id";i:441;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:283:"a:4:{i:601;a:2:{s:3:"tag";s:8:"khai tri";s:7:"tag_url";s:8:"khai-tri";}i:600;a:2:{s:3:"tag";s:8:"mien nam";s:7:"tag_url";s:8:"mien-nam";}i:602;a:2:{s:3:"tag";s:15:"pham viet huyen";s:7:"tag_url";s:15:"pham-viet-huyen";}i:71;a:2:{s:3:"tag";s:7:"van hoc";s:7:"tag_url";s:7:"van-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:322;a:22:{s:9:"thread_id";i:322;s:7:"node_id";i:23;s:5:"title";s:70:"Hành trình về phương đông by Blair T. Spalding - Nguyên Phong";s:11:"reply_count";i:0;s:10:"view_count";i:982;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526277784;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:442;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526277784;s:12:"last_post_id";i:442;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:241:"a:3:{i:603;a:2:{s:3:"tag";s:17:"blair t. spalding";s:7:"tag_url";s:16:"blair-t-spalding";}i:604;a:2:{s:3:"tag";s:12:"nguyen phong";s:7:"tag_url";s:12:"nguyen-phong";}i:535;a:2:{s:3:"tag";s:11:"phuong dong";s:7:"tag_url";s:11:"phuong-dong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:323;a:22:{s:9:"thread_id";i:323;s:7:"node_id";i:26;s:5:"title";s:25:"Từ Hàn cử yếu 1924";s:11:"reply_count";i:0;s:10:"view_count";i:777;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1526278656;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:443;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526278656;s:12:"last_post_id";i:443;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:120:"a:2:{i:605;a:2:{s:3:"tag";s:4:"1924";s:7:"tag_url";s:4:"1924";}i:176;a:2:{s:3:"tag";s:3:"pdf";s:7:"tag_url";s:3:"pdf";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25531;a:22:{s:9:"thread_id";i:25531;s:7:"node_id";i:361;s:5:"title";s:90:"Collins Cambridge IGCSE English as Second Language Student Book (Collins) 2023 New Edition";s:11:"reply_count";i:0;s:10:"view_count";i:23;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652775;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:30522;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652775;s:12:"last_post_id";i:30522;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:376:"a:5:{i:14754;a:2:{s:3:"tag";s:4:"2023";s:7:"tag_url";s:4:"2023";}i:9940;a:2:{s:3:"tag";s:15:"cambridge igcse";s:7:"tag_url";s:15:"cambridge-igcse";}i:1591;a:2:{s:3:"tag";s:7:"collins";s:7:"tag_url";s:7:"collins";}i:22318;a:2:{s:3:"tag";s:26:"english as second language";s:7:"tag_url";s:26:"english-as-second-language";}i:729;a:2:{s:3:"tag";s:3:"esl";s:7:"tag_url";s:3:"esl";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25530;a:22:{s:9:"thread_id";i:25530;s:7:"node_id";i:296;s:5:"title";s:79:"Cambridge English Business Vantage 5 with answer (Business English Certificate)";s:11:"reply_count";i:0;s:10:"view_count";i:15;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652506;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:30521;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652506;s:12:"last_post_id";i:30521;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:260:"a:3:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:22317;a:2:{s:3:"tag";s:28:"business english certificate";s:7:"tag_url";s:28:"business-english-certificate";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25529;a:22:{s:9:"thread_id";i:25529;s:7:"node_id";i:296;s:5:"title";s:58:"Cambridge English Business Preliminary 5 with answer (BEC)";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714652297;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:30520;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714652297;s:12:"last_post_id";i:30520;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:28;s:4:"tags";s:150:"a:2:{i:21915;a:2:{s:3:"tag";s:3:"bec";s:7:"tag_url";s:3:"bec";}i:15602;a:2:{s:3:"tag";s:16:"english business";s:7:"tag_url";s:16:"english-business";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25528;a:22:{s:9:"thread_id";i:25528;s:7:"node_id";i:89;s:5:"title";s:85:"Tuyển tập văn học dân gian Việt Nam tập II, quyển 1 Truyện cổ tích";s:11:"reply_count";i:1;s:10:"view_count";i:19;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714651047;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:30518;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714651316;s:12:"last_post_id";i:30519;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:391:"a:5:{i:1270;a:2:{s:3:"tag";s:7:"co tich";s:7:"tag_url";s:7:"co-tich";}i:22316;a:2:{s:3:"tag";s:14:"truyen co tich";s:7:"tag_url";s:14:"truyen-co-tich";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25527;a:22:{s:9:"thread_id";i:25527;s:7:"node_id";i:89;s:5:"title";s:86:"Tuyển tập văn học dân gian Việt Nam tập IV, quyển 1 Tục ngữ, cao dao";s:11:"reply_count";i:0;s:10:"view_count";i:18;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714650709;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:30517;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714650709;s:12:"last_post_id";i:30517;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:2;s:4:"tags";s:375:"a:5:{i:11962;a:2:{s:3:"tag";s:7:"cao dao";s:7:"tag_url";s:7:"cao-dao";}i:9144;a:2:{s:3:"tag";s:7:"tuc ngu";s:7:"tag_url";s:7:"tuc-ngu";}i:632;a:2:{s:3:"tag";s:9:"tuyen tap";s:7:"tag_url";s:9:"tuyen-tap";}i:6833;a:2:{s:3:"tag";s:16:"van hoc dan gian";s:7:"tag_url";s:16:"van-hoc-dan-gian";}i:2458;a:2:{s:3:"tag";s:16:"van hoc viet nam";s:7:"tag_url";s:16:"van-hoc-viet-nam";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.664901
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Phạm Công Tân Truyệ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 <> 318)
AND MATCH(search_index.title) AGAINST ('Phạm Công Tân Truyện' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 1.114232
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, 22
Run Time: 0.000330
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, 34
Run Time: 0.000232
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, 32
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 4
Run Time: 0.000196
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 <> 318)
ORDER BY RAND()
LIMIT 5
Run Time: 0.106237
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 22486 | 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 (14906, 3923, 22096, 20869, 10371))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000850
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, 43
Run Time: 0.000209
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, 166
Run Time: 0.000187
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, 133
Run Time: 0.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
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.000182
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, 84
Run Time: 0.000197
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 = 318)
Run Time: 0.172106
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 25602 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 0632c028515491bc4beeebf52af57a36, a:7:{s:12:"sessionStart";i:1714734278;s:2:"ip";s:4:"ߠ=";s:11:"sessionCsrf";s:16:"VUqQxedaXulks6J8";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;}}, 1714737878
Run Time: 0.000223
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=318, 1714734278,
Run Time: 0.000149
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.004823
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.000715
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.000347
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.000344
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.000854
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |