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.000447
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.000288
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.005146
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10904 | |
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: 56
Run Time: 0.001658
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: 34
Run Time: 0.000552
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: 56
Run Time: 0.009719
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 | 3 | 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: 56
Run Time: 0.000221
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 56, 0
Run Time: 0.407240
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 25041 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1525080192)) AND (thread.thread_id <> 56)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001945
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 25 | 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.000283
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, 22
Run Time: 0.000298
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.000223
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 > 1525080192)) AND (thread.thread_id <> 56)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.005729
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 11728 | 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, 24
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, 32
Run Time: 0.000223
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, 33
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 56)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000502
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, 230
Run Time: 0.000260
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.000205
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, 302
Run Time: 0.000236
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, 79
Run Time: 0.000219
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, 216
Run Time: 0.000219
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 = 56 AND user_id = 0)
Params: 1714511565, a:3:{s:12:"olderThreads";a:5:{i:55;a:22:{s:9:"thread_id";i:55;s:7:"node_id";i:34;s:5:"title";s:20:"Sách Sử VH Việt";s:11:"reply_count";i:11;s:10:"view_count";i:1618;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525078979;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:76;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526148903;s:12:"last_post_id";i:384;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:54;a:22:{s:9:"thread_id";i:54;s:7:"node_id";i:10;s:5:"title";s:30:"Review nguồn cội dan brown";s:11:"reply_count";i:2;s:10:"view_count";i:1434;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525078863;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:74;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1529471534;s:12:"last_post_id";i:1680;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:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:53;a:22:{s:9:"thread_id";i:53;s:7:"node_id";i:34;s:5:"title";s:17:"An Nam Thư Quán";s:11:"reply_count";i:6;s:10:"view_count";i:1091;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525078284;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:67;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525078723;s:12:"last_post_id";i:73;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:52;a:22:{s:9:"thread_id";i:52;s:7:"node_id";i:22;s:5:"title";s:43:"Đề thi và ôn tập công chức thuế";s:11:"reply_count";i:0;s:10:"view_count";i:1243;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525078148;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:66;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525078148;s:12:"last_post_id";i:66;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:51;a:22:{s:9:"thread_id";i:51;s:7:"node_id";i:28;s:5:"title";s:28:"Yoga The Complete Manual PDF";s:11:"reply_count";i:0;s:10:"view_count";i:1322;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525077764;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:64;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525077764;s:12:"last_post_id";i:64;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;}}s:12:"newerThreads";a:5:{i:57;a:22:{s:9:"thread_id";i:57;s:7:"node_id";i:10;s:5:"title";s:58:"Mật mã Da Vinci có thật trong mắt nàng Mona Lisa?";s:11:"reply_count";i:3;s:10:"view_count";i:1598;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525080410;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:81;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525080581;s:12:"last_post_id";i:84;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:428:"a:6:{i:26;a:2:{s:3:"tag";s:9:"dan brown";s:7:"tag_url";s:9:"dan-brown";}i:24;a:2:{s:3:"tag";s:7:"davinci";s:7:"tag_url";s:7:"davinci";}i:28;a:2:{s:3:"tag";s:8:"leonardo";s:7:"tag_url";s:8:"leonardo";}i:27;a:2:{s:3:"tag";s:15:"lisa gherardini";s:7:"tag_url";s:15:"lisa-gherardini";}i:25;a:2:{s:3:"tag";s:14:"mat ma davinci";s:7:"tag_url";s:14:"mat-ma-davinci";}i:23;a:2:{s:3:"tag";s:9:"mona lisa";s:7:"tag_url";s:9:"mona-lisa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:58;a:22:{s:9:"thread_id";i:58;s:7:"node_id";i:24;s:5:"title";s:20:"Vương Hồng Sển";s:11:"reply_count";i:2;s:10:"view_count";i:1620;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525081094;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:86;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526799818;s:12:"last_post_id";i:659;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:85:"a:1:{i:29;a:2:{s:3:"tag";s:14:"vuong hong sen";s:7:"tag_url";s:14:"vuong-hong-sen";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:59;a:22:{s:9:"thread_id";i:59;s:7:"node_id";i:32;s:5:"title";s:52:"CON ĐƯỜNG TƠ LỤA - QUÁ KHỨ VÀ TƯƠNG LAI";s:11:"reply_count";i:0;s:10:"view_count";i:1375;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525083017;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:88;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525083017;s:12:"last_post_id";i:88;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:9;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:60;a:22:{s:9:"thread_id";i:60;s:7:"node_id";i:34;s:5:"title";s:43:"Hoàng Ngọc Viên (Sách cũ Bạch Mai )";s:11:"reply_count";i:3;s:10:"view_count";i:1322;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525085602;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:89;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1526070721;s:12:"last_post_id";i:327;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:61;a:22:{s:9:"thread_id";i:61;s:7:"node_id";i:33;s:5:"title";s:31:"Cần tìm sách ngày 1/5/2018";s:11:"reply_count";i:0;s:10:"view_count";i:941;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1525109627;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:92;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1525109627;s:12:"last_post_id";i:92;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:1;s:4:"tags";s:69:"a:1:{i:30;a:2:{s:3:"tag";s:7:"can tim";s:7:"tag_url";s:7:"can-tim";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:25513;a:22:{s:9:"thread_id";i:25513;s:7:"node_id";i:230;s:5:"title";s:37:"Text-based Writing Grade 4, Evan-Moor";s:11:"reply_count";i:0;s:10:"view_count";i:49;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1714215962;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:30498;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714215962;s:12:"last_post_id";i:30498;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:310:"a:4:{i:11008;a:2:{s:3:"tag";s:9:"evan-moor";s:7:"tag_url";s:11:"evan-moor-2";}i:2993;a:2:{s:3:"tag";s:7:"grade 4";s:7:"tag_url";s:7:"grade-4";}i:12757;a:2:{s:3:"tag";s:11:"kid writing";s:7:"tag_url";s:11:"kid-writing";}i:22306;a:2:{s:3:"tag";s:18:"text-based writing";s:7:"tag_url";s:18:"text-based-writing";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25512;a:22:{s:9:"thread_id";i:25512;s:7:"node_id";i:136;s:5:"title";s:100:"BUSINESS COMMUNICATION: MAKING CONNECTIONS IN A DIGITAL WORLD, 11th edition, Raymond V. Lesikar, Mar";s:11:"reply_count";i:0;s:10:"view_count";i:59;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1714213621;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:30497;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714213621;s:12:"last_post_id";i:30497;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:438:"a:5:{i:18535;a:2:{s:3:"tag";s:22:"business communication";s:7:"tag_url";s:22:"business-communication";}i:22302;a:2:{s:3:"tag";s:13:"digital world";s:7:"tag_url";s:13:"digital-world";}i:22305;a:2:{s:3:"tag";s:13:"kathryn rentz";s:7:"tag_url";s:13:"kathryn-rentz";}i:22304;a:2:{s:3:"tag";s:16:"marie e. flatley";s:7:"tag_url";s:15:"marie-e-flatley";}i:22303;a:2:{s:3:"tag";s:18:"raymond v. lesikar";s:7:"tag_url";s:17:"raymond-v-lesikar";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25511;a:22:{s:9:"thread_id";i:25511;s:7:"node_id";i:302;s:5:"title";s:41:"Prosodic Patterns in English Conversation";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:96834;s:8:"username";s:7:"Mod_QAn";s:9:"post_date";i:1714212596;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:30496;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714212596;s:12:"last_post_id";i:30496;s:17:"last_post_user_id";i:96834;s:18:"last_post_username";s:7:"Mod_QAn";s:9:"prefix_id";i:2;s:4:"tags";s:492:"a:6:{i:15103;a:2:{s:3:"tag";s:20:"english conversation";s:7:"tag_url";s:20:"english-conversation";}i:22298;a:2:{s:3:"tag";s:13:"nigel g. ward";s:7:"tag_url";s:12:"nigel-g-ward";}i:4746;a:2:{s:3:"tag";s:8:"phonetic";s:7:"tag_url";s:8:"phonetic";}i:22301;a:2:{s:3:"tag";s:9:"pragmatic";s:7:"tag_url";s:9:"pragmatic";}i:22300;a:2:{s:3:"tag";s:17:"pragmatic studies";s:7:"tag_url";s:17:"pragmatic-studies";}i:22299;a:2:{s:3:"tag";s:17:"prosodic patterns";s:7:"tag_url";s:17:"prosodic-patterns";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25510;a:22:{s:9:"thread_id";i:25510;s:7:"node_id";i:79;s:5:"title";s:39:"The Phantom of the Opera ,Leroux Gaston";s:11:"reply_count";i:0;s:10:"view_count";i:45;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157342;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:30495;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157342;s:12:"last_post_id";i:30495;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:188:"a:2:{i:22296;a:2:{s:3:"tag";s:13:"leroux gaston";s:7:"tag_url";s:13:"leroux-gaston";}i:22297;a:2:{s:3:"tag";s:24:"the phantom of the opera";s:7:"tag_url";s:24:"the-phantom-of-the-opera";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:25509;a:22:{s:9:"thread_id";i:25509;s:7:"node_id";i:216;s:5:"title";s:85:"Ready to write 2, 4th edition, Perfecting Paragraphs, Karen Blanchard, Christine Root";s:11:"reply_count";i:0;s:10:"view_count";i:53;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1714157208;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:30494;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1714157208;s:12:"last_post_id";i:30494;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:414:"a:5:{i:17481;a:2:{s:3:"tag";s:14:"christine root";s:7:"tag_url";s:14:"christine-root";}i:17480;a:2:{s:3:"tag";s:15:"karen blanchard";s:7:"tag_url";s:15:"karen-blanchard";}i:22295;a:2:{s:3:"tag";s:10:"paragraphs";s:7:"tag_url";s:10:"paragraphs";}i:17479;a:2:{s:3:"tag";s:14:"ready to write";s:7:"tag_url";s:14:"ready-to-write";}i:22055;a:2:{s:3:"tag";s:16:"ready to write 2";s:7:"tag_url";s:16:"ready-to-write-2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 0.791982
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Các cửa hàng mua bán sách truyện 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 <> 56)
AND MATCH(search_index.title) AGAINST ('Các cửa hàng mua bán sách truyện cũ' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.746083
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, 4
Run Time: 0.000329
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 <> 56)
ORDER BY RAND()
LIMIT 5
Run Time: 0.133597
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | PRIMARY | | | | 23456 | 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 (6395, 25044, 18558, 4979, 3983))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000841
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, 218
Run Time: 0.000262
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, 76
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 106
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, 119
Run Time: 0.000216
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 36
Run Time: 0.000178
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 = 56)
Run Time: 0.195643
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: e6394d9b0f6bf9471c2db4ae82039800, , 1714515165
Run Time: 0.000277
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=56, 1714511565,
Run Time: 0.000189
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.008787
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.001309
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.000946
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.000303
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.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |