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.002883
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.001637
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.009299
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10914 | |
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: 7893
Run Time: 0.000693
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: 111
Run Time: 0.005891
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: 7893
Run Time: 0.010179
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: 7893
Run Time: 0.000232
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 7893, 0
Run Time: 0.678526
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 < 1573186578)) AND (thread.thread_id <> 7893)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.010521
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 10935 | Using where |
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.000536
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, 82
Run Time: 0.000546
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 > 1573186578)) AND (thread.thread_id <> 7893)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.009465
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.000332
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, 138
Run Time: 0.000304
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, 63
Run Time: 0.000275
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, 54
Run Time: 0.000285
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 <> 7893)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000696
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.000286
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 = 7893 AND user_id = 0)
Params: 1714567395, a:3:{s:12:"olderThreads";a:5:{i:7892;a:22:{s:9:"thread_id";i:7892;s:7:"node_id";i:111;s:5:"title";s:109:"《 tượng kì bố cục phi đao hãm tịnh 》 dương điển 《象棋布局飞刀陷阱》杨典_CBL";s:11:"reply_count";i:0;s:10:"view_count";i:883;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573186550;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:8846;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573186550;s:12:"last_post_id";i:8846;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7891;a:22:{s:9:"thread_id";i:7891;s:7:"node_id";i:111;s:5:"title";s:79:"Tượng Kỳ Bố Cục Phi Đao _ 象棋布局飞刀兵法编者葛维蒲 XQF";s:11:"reply_count";i:0;s:10:"view_count";i:902;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573186502;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:8845;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573186502;s:12:"last_post_id";i:8845;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:136:"a:2:{i:145;a:2:{s:3:"tag";s:8:"co tuong";s:7:"tag_url";s:8:"co-tuong";}i:173;a:2:{s:3:"tag";s:7:"xiangqi";s:7:"tag_url";s:7:"xiangqi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7890;a:22:{s:9:"thread_id";i:7890;s:7:"node_id";i:39;s:5:"title";s:27:"象棋破士象巧杀200着";s:11:"reply_count";i:0;s:10:"view_count";i:554;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573186400;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:8844;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573186400;s:12:"last_post_id";i:8844;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:136:"a:2:{i:145;a:2:{s:3:"tag";s:8:"co tuong";s:7:"tag_url";s:8:"co-tuong";}i:173;a:2:{s:3:"tag";s:7:"xiangqi";s:7:"tag_url";s:7:"xiangqi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7889;a:22:{s:9:"thread_id";i:7889;s:7:"node_id";i:39;s:5:"title";s:60:"兵帅士相妙用 tốt tướng sĩ tượng diệu dụng";s:11:"reply_count";i:0;s:10:"view_count";i:599;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573182264;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:8843;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573182264;s:12:"last_post_id";i:8843;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:136:"a:2:{i:145;a:2:{s:3:"tag";s:8:"co tuong";s:7:"tag_url";s:8:"co-tuong";}i:173;a:2:{s:3:"tag";s:7:"xiangqi";s:7:"tag_url";s:7:"xiangqi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7888;a:22:{s:9:"thread_id";i:7888;s:7:"node_id";i:82;s:5:"title";s:84:"Engine (động cơ chơi phần mềm cờ tướng) cho máy tính 32 bit (XQatom)";s:11:"reply_count";i:0;s:10:"view_count";i:1297;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573181784;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:8841;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573181784;s:12:"last_post_id";i:8841;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:22;s:4:"tags";s:132:"a:2:{i:6351;a:2:{s:3:"tag";s:6:"engine";s:7:"tag_url";s:6:"engine";}i:6350;a:2:{s:3:"tag";s:6:"xqatom";s:7:"tag_url";s:6:"xqatom";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:7894;a:22:{s:9:"thread_id";i:7894;s:7:"node_id";i:39;s:5:"title";s:119:"Tượng kì bố cục khí tử chiến thuật _Dương Điển_象棋布局弃子战术[PDF]杨典编著(完整版)";s:11:"reply_count";i:0;s:10:"view_count";i:581;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573186686;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:8848;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573186686;s:12:"last_post_id";i:8848;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7895;a:22:{s:9:"thread_id";i:7895;s:7:"node_id";i:27;s:5:"title";s:66:"THỰC DƯỠNG CHƯA BAO GIỜ LÀ PHƯƠNG PHÁP CHỮA UNG THƯ";s:11:"reply_count";i:0;s:10:"view_count";i:754;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573287189;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:8849;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573287189;s:12:"last_post_id";i:8849;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7896;a:22:{s:9:"thread_id";i:7896;s:7:"node_id";i:138;s:5:"title";s:100:"Phương pháp mới phiên dịch - Biên dịch Anh - Việt, Việt - Anh | Nguyễn Đức Châu";s:11:"reply_count";i:0;s:10:"view_count";i:1918;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573287579;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:8850;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573287579;s:12:"last_post_id";i:8850;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:362:"a:5:{i:230;a:2:{s:3:"tag";s:8:"anh viet";s:7:"tag_url";s:8:"anh-viet";}i:4965;a:2:{s:3:"tag";s:9:"bien dich";s:7:"tag_url";s:9:"bien-dich";}i:6352;a:2:{s:3:"tag";s:15:"nguyen duc chau";s:7:"tag_url";s:15:"nguyen-duc-chau";}i:227;a:2:{s:3:"tag";s:10:"phien dich";s:7:"tag_url";s:10:"phien-dich";}i:229;a:2:{s:3:"tag";s:8:"viet anh";s:7:"tag_url";s:8:"viet-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7897;a:22:{s:9:"thread_id";i:7897;s:7:"node_id";i:63;s:5:"title";s:116:"Các tội xâm phạm tình dục trẻ em trong luật hình sự Việt Nam (Luận văn thạc sĩ luật học)";s:11:"reply_count";i:0;s:10:"view_count";i:716;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573287825;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:8851;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573287825;s:12:"last_post_id";i:8851;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:291:"a:4:{i:465;a:2:{s:3:"tag";s:8:"luan van";s:7:"tag_url";s:8:"luan-van";}i:2187;a:2:{s:3:"tag";s:8:"luat hoc";s:7:"tag_url";s:8:"luat-hoc";}i:2163;a:2:{s:3:"tag";s:7:"thac si";s:7:"tag_url";s:7:"thac-si";}i:6353;a:2:{s:3:"tag";s:17:"xam pham tinh duc";s:7:"tag_url";s:17:"xam-pham-tinh-duc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7898;a:22:{s:9:"thread_id";i:7898;s:7:"node_id";i:54;s:5:"title";s:110:"Tâm - Tủ sách tinh hoa về các phạm trù triết học Trung Quốc | Chủ biên: Trương Lập Văn";s:11:"reply_count";i:0;s:10:"view_count";i:689;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1573288470;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:8852;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1573288470;s:12:"last_post_id";i:8852;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:950:"a:12:{i:56;a:2:{s:3:"tag";s:4:"1999";s:7:"tag_url";s:4:"1999";}i:6361;a:2:{s:3:"tag";s:13:"ho trung trai";s:7:"tag_url";s:13:"ho-trung-trai";}i:6360;a:2:{s:3:"tag";s:14:"nguyen van duc";s:7:"tag_url";s:14:"nguyen-van-duc";}i:235;a:2:{s:3:"tag";s:19:"nxb khoa hoc xa hoi";s:7:"tag_url";s:19:"nxb-khoa-hoc-xa-hoi";}i:6356;a:2:{s:3:"tag";s:11:"sam hien an";s:7:"tag_url";s:11:"sam-hien-an";}i:6359;a:2:{s:3:"tag";s:11:"ta phu minh";s:7:"tag_url";s:11:"ta-phu-minh";}i:6358;a:2:{s:3:"tag";s:15:"thai phuong loc";s:7:"tag_url";s:15:"thai-phuong-loc";}i:750;a:2:{s:3:"tag";s:9:"triet hoc";s:7:"tag_url";s:9:"triet-hoc";}i:6354;a:2:{s:3:"tag";s:21:"triet hoc phuong dong";s:7:"tag_url";s:21:"triet-hoc-phuong-dong";}i:6355;a:2:{s:3:"tag";s:16:"truong hoai thua";s:7:"tag_url";s:16:"truong-hoai-thua";}i:534;a:2:{s:3:"tag";s:14:"truong lap van";s:7:"tag_url";s:14:"truong-lap-van";}i:6357;a:2:{s:3:"tag";s:11:"tu ton minh";s:7:"tag_url";s:11:"tu-ton-minh";}}";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:18;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:16;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:13;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:15;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:13;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: 1.066437
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('bảo ngọc phi đao hãm tịnh _CHM _ 宝钰飞刀陷阱' 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 <> 7893)
AND MATCH(search_index.title) AGAINST ('bảo ngọc phi đao hãm tịnh _CHM _ 宝钰飞刀陷阱' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.559982
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.000317
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, 37
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, 10
Run Time: 0.000228
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.000228
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.000250
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 <> 7893)
ORDER BY RAND()
LIMIT 5
Run Time: 0.201574
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 (9206, 751, 8081, 2895, 9625))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000797
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, 172
Run Time: 0.000253
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, 46
Run Time: 0.002964
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.000180
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.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 | |
SELECT post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 7893)
Run Time: 0.197893
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: cd23c0032f9508834cf1721a06e483bd, , 1714570995
Run Time: 0.001018
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=7893, 1714567395,
Run Time: 0.000186
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.000668
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.000356
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.000286
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.000310
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.000229
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |