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.000709
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.000339
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.011133
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: 20338
Run Time: 0.028517
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: 91
Run Time: 0.000727
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: 20338
Run Time: 0.010765
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: 20338
Run Time: 0.000500
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 20338, 0
Run Time: 0.402066
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 < 1670921478)) AND (thread.thread_id <> 20338)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.009012
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, 224
Run Time: 0.000320
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, 326
Run Time: 0.000201
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, 314
Run Time: 0.000132
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 > 1670921478)) AND (thread.thread_id <> 20338)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.007032
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 4766 | 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, 64
Run Time: 0.000263
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, 50
Run Time: 0.000189
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, 222
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, 28
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 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 20338)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000414
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.000184
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 20338 AND user_id = 0)
Params: 1714581137, a:3:{s:12:"olderThreads";a:5:{i:20337;a:22:{s:9:"thread_id";i:20337;s:7:"node_id";i:224;s:5:"title";s:91:"The business 2.0 C1 Advanced Student's Book, John Allison, Rachel Appleby, Edward de Chazal";s:11:"reply_count";i:0;s:10:"view_count";i:340;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670919429;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:23712;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670919429;s:12:"last_post_id";i:23712;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:481:"a:6:{i:256;a:2:{s:3:"tag";s:8:"advanced";s:7:"tag_url";s:8:"advanced";}i:14779;a:2:{s:3:"tag";s:16:"edward de chazal";s:7:"tag_url";s:16:"edward-de-chazal";}i:12175;a:2:{s:3:"tag";s:12:"john allison";s:7:"tag_url";s:12:"john-allison";}i:18416;a:2:{s:3:"tag";s:14:"rachel appleby";s:7:"tag_url";s:14:"rachel-appleby";}i:12173;a:2:{s:3:"tag";s:12:"the business";s:7:"tag_url";s:12:"the-business";}i:18417;a:2:{s:3:"tag";s:16:"the business 2.0";s:7:"tag_url";s:15:"the-business-20";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20336;a:22:{s:9:"thread_id";i:20336;s:7:"node_id";i:326;s:5:"title";s:53:"CFA L2 2023 Schweser QbanK (Question Banks) + Answers";s:11:"reply_count";i:0;s:10:"view_count";i:1010;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670838171;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:23710;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670838171;s:12:"last_post_id";i:23710;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:430:"a:6:{i:373;a:2:{s:3:"tag";s:3:"cfa";s:7:"tag_url";s:3:"cfa";}i:16742;a:2:{s:3:"tag";s:8:"cfa 2023";s:7:"tag_url";s:8:"cfa-2023";}i:6673;a:2:{s:3:"tag";s:11:"cfa level 2";s:7:"tag_url";s:11:"cfa-level-2";}i:17670;a:2:{s:3:"tag";s:16:"cfa level 2 2023";s:7:"tag_url";s:16:"cfa-level-2-2023";}i:789;a:2:{s:3:"tag";s:5:"qbank";s:7:"tag_url";s:5:"qbank";}i:1621;a:2:{s:3:"tag";s:13:"question bank";s:7:"tag_url";s:13:"question-bank";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20335;a:22:{s:9:"thread_id";i:20335;s:7:"node_id";i:314;s:5:"title";s:67:"Pragmatics, Stephen C. Levinson, Cambridge Textbooks in Linguistics";s:11:"reply_count";i:0;s:10:"view_count";i:386;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670837698;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:23709;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670837698;s:12:"last_post_id";i:23709;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:246:"a:3:{i:2238;a:2:{s:3:"tag";s:11:"linguistics";s:7:"tag_url";s:11:"linguistics";}i:12754;a:2:{s:3:"tag";s:10:"pragmatics";s:7:"tag_url";s:10:"pragmatics";}i:18415;a:2:{s:3:"tag";s:19:"stephen c. levinson";s:7:"tag_url";s:18:"stephen-c-levinson";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20334;a:22:{s:9:"thread_id";i:20334;s:7:"node_id";i:91;s:5:"title";s:42:"Global Issues, Pollution, Andrew J. Milson";s:11:"reply_count";i:0;s:10:"view_count";i:305;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670829625;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:23708;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670829625;s:12:"last_post_id";i:23708;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:369:"a:5:{i:18410;a:2:{s:3:"tag";s:16:"andrew j. milson";s:7:"tag_url";s:15:"andrew-j-milson";}i:13665;a:2:{s:3:"tag";s:6:"debate";s:7:"tag_url";s:6:"debate";}i:18408;a:2:{s:3:"tag";s:13:"global issues";s:7:"tag_url";s:13:"global-issues";}i:18414;a:2:{s:3:"tag";s:9:"pollution";s:7:"tag_url";s:9:"pollution";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20333;a:22:{s:9:"thread_id";i:20333;s:7:"node_id";i:91;s:5:"title";s:42:"Global Issues, Migration, Andrew J. Milson";s:11:"reply_count";i:0;s:10:"view_count";i:288;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1670829441;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:23707;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670829441;s:12:"last_post_id";i:23707;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:369:"a:5:{i:18410;a:2:{s:3:"tag";s:16:"andrew j. milson";s:7:"tag_url";s:15:"andrew-j-milson";}i:13665;a:2:{s:3:"tag";s:6:"debate";s:7:"tag_url";s:6:"debate";}i:18408;a:2:{s:3:"tag";s:13:"global issues";s:7:"tag_url";s:13:"global-issues";}i:18413;a:2:{s:3:"tag";s:9:"migration";s:7:"tag_url";s:9:"migration";}i:258;a:2:{s:3:"tag";s:7:"reading";s:7:"tag_url";s:7:"reading";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:20339;a:22:{s:9:"thread_id";i:20339;s:7:"node_id";i:64;s:5:"title";s:51:"Giao tiếp tiếng Pháp cơ bản, Helene Cornell";s:11:"reply_count";i:0;s:10:"view_count";i:436;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1670922200;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:23715;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670922200;s:12:"last_post_id";i:23715;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:28;s:4:"tags";s:416:"a:6:{i:4365;a:2:{s:3:"tag";s:8:"francais";s:7:"tag_url";s:8:"francais";}i:1603;a:2:{s:3:"tag";s:6:"french";s:7:"tag_url";s:6:"french";}i:2649;a:2:{s:3:"tag";s:9:"giao tiep";s:7:"tag_url";s:9:"giao-tiep";}i:18420;a:2:{s:3:"tag";s:14:"helene cornell";s:7:"tag_url";s:14:"helene-cornell";}i:254;a:2:{s:3:"tag";s:3:"mp3";s:7:"tag_url";s:3:"mp3";}i:1861;a:2:{s:3:"tag";s:10:"tieng phap";s:7:"tag_url";s:10:"tieng-phap";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20340;a:22:{s:9:"thread_id";i:20340;s:7:"node_id";i:50;s:5:"title";s:111:"Luật phối cảnh trong hội họa, Phạm Cao Hoàn, Nguyễn Thị Nam, Nguyễn Văn Khôi, Huyền Nữ";s:11:"reply_count";i:0;s:10:"view_count";i:422;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1670922589;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:23716;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670922589;s:12:"last_post_id";i:23716;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:519:"a:7:{i:117;a:2:{s:3:"tag";s:7:"hoi hoa";s:7:"tag_url";s:7:"hoi-hoa";}i:18424;a:2:{s:3:"tag";s:8:"huyen nu";s:7:"tag_url";s:8:"huyen-nu";}i:539;a:2:{s:3:"tag";s:8:"my thuat";s:7:"tag_url";s:8:"my-thuat";}i:8049;a:2:{s:3:"tag";s:14:"nguyen thi nam";s:7:"tag_url";s:14:"nguyen-thi-nam";}i:18423;a:2:{s:3:"tag";s:15:"nguyen van khoi";s:7:"tag_url";s:15:"nguyen-van-khoi";}i:18422;a:2:{s:3:"tag";s:13:"pham cao hoan";s:7:"tag_url";s:13:"pham-cao-hoan";}i:18421;a:2:{s:3:"tag";s:9:"phoi canh";s:7:"tag_url";s:9:"phoi-canh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20341;a:22:{s:9:"thread_id";i:20341;s:7:"node_id";i:224;s:5:"title";s:68:"Tiếng Anh qua điện thoại, Andrew Thomas, English on the Phone";s:11:"reply_count";i:0;s:10:"view_count";i:544;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1670923316;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:23717;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670923316;s:12:"last_post_id";i:23717;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:28;s:4:"tags";s:242:"a:3:{i:18425;a:2:{s:3:"tag";s:13:"andrew thomas";s:7:"tag_url";s:13:"andrew-thomas";}i:18426;a:2:{s:3:"tag";s:20:"english on the phone";s:7:"tag_url";s:20:"english-on-the-phone";}i:18427;a:2:{s:3:"tag";s:5:"phone";s:7:"tag_url";s:5:"phone";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20342;a:22:{s:9:"thread_id";i:20342;s:7:"node_id";i:222;s:5:"title";s:73:"Tiếng Việt dành cho người Hàn Quốc 2, Vương Thị Hoa Hồng";s:11:"reply_count";i:0;s:10:"view_count";i:345;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1670923696;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:23718;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670923696;s:12:"last_post_id";i:23718;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:28;s:4:"tags";s:406:"a:5:{i:9137;a:2:{s:3:"tag";s:20:"cho nguoi nuoc ngoai";s:7:"tag_url";s:20:"cho-nguoi-nuoc-ngoai";}i:11528;a:2:{s:3:"tag";s:14:"hoc tieng viet";s:7:"tag_url";s:14:"hoc-tieng-viet";}i:1329;a:2:{s:3:"tag";s:6:"korean";s:7:"tag_url";s:6:"korean";}i:572;a:2:{s:3:"tag";s:10:"tieng viet";s:7:"tag_url";s:10:"tieng-viet";}i:17493;a:2:{s:3:"tag";s:18:"vuong thi hoa hong";s:7:"tag_url";s:18:"vuong-thi-hoa-hong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:20343;a:22:{s:9:"thread_id";i:20343;s:7:"node_id";i:28;s:5:"title";s:77:"Tối ưu hóa trí nhớ bằng phương pháp hình ảnh, Pascale Michelon";s:11:"reply_count";i:0;s:10:"view_count";i:539;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1670923904;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:23719;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1670923904;s:12:"last_post_id";i:23719;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:221:"a:3:{i:8304;a:2:{s:3:"tag";s:6:"memory";s:7:"tag_url";s:6:"memory";}i:18428;a:2:{s:3:"tag";s:16:"pascale michelon";s:7:"tag_url";s:16:"pascale-michelon";}i:11162;a:2:{s:3:"tag";s:7:"tri nho";s:7:"tag_url";s:7:"tri-nho";}}";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:22;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:21;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:17;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:20;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:22;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.758538
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Chữ A mầu đỏ, song ngữ, The Scarlet Letter' 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 <> 20338)
AND MATCH(search_index.title) AGAINST ('Chữ A mầu đỏ, song ngữ, The Scarlet Letter' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.358839
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, 47
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, 49
Run Time: 0.000166
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 <> 20338)
ORDER BY RAND()
LIMIT 5
Run Time: 0.211903
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 (1248, 2956, 20128, 21344, 14938))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000769
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, 170
Run Time: 0.000254
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, 157
Run Time: 0.000143
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 48
Run Time: 0.000134
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.000153
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, 27
Run Time: 0.000190
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 = 20338)
Run Time: 0.191632
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: ada15555b227824248dec0f8ad0a16e2, , 1714584737
Run Time: 0.000294
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=20338, 1714581137,
Run Time: 0.000136
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.006543
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.000379
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.000293
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.000283
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.000160
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |