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.000846
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.000483
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.009471
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: 13086
Run Time: 0.000624
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: 27
Run Time: 0.000789
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: 13086
Run Time: 0.005337
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 |
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xf_attachment AS attachment
INNER JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE attachment.content_type = ?
AND attachment.content_id IN (14388)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.002871
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 31 | const,const | 1 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | dien7104_tailieu.attachment.data_id | 1 | |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 13086
Run Time: 0.000219
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 13086, 0
Run Time: 0.411600
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 < 1613596138)) AND (thread.thread_id <> 13086)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000598
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, 96
Run Time: 0.000294
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, 58
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, 134
Run Time: 0.000217
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, 91
Run Time: 0.000175
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 > 1613596138)) AND (thread.thread_id <> 13086)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.002979
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, 137
Run Time: 0.000240
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 <> 13086)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000398
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.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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 13086 AND user_id = 0)
Params: 1714604135, a:3:{s:12:"olderThreads";a:5:{i:13085;a:22:{s:9:"thread_id";i:13085;s:7:"node_id";i:96;s:5:"title";s:88:"Bệnh ngũ quan y học cổ truyền, Gs. Trần Thúy, Nguyễn Nhược Kim, Vũ Nam";s:11:"reply_count";i:0;s:10:"view_count";i:639;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613596051;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:14387;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613596051;s:12:"last_post_id";i:14387;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:446:"a:6:{i:8111;a:2:{s:3:"tag";s:9:"dai hoc y";s:7:"tag_url";s:9:"dai-hoc-y";}i:11437;a:2:{s:3:"tag";s:16:"nguyen nhuoc kim";s:7:"tag_url";s:16:"nguyen-nhuoc-kim";}i:3136;a:2:{s:3:"tag";s:9:"nxb y hoc";s:7:"tag_url";s:9:"nxb-y-hoc";}i:11436;a:2:{s:3:"tag";s:9:"tran thuy";s:7:"tag_url";s:9:"tran-thuy";}i:7363;a:2:{s:3:"tag";s:6:"vu nam";s:7:"tag_url";s:6:"vu-nam";}i:3419;a:2:{s:3:"tag";s:15:"y hoc co truyen";s:7:"tag_url";s:15:"y-hoc-co-truyen";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13084;a:22:{s:9:"thread_id";i:13084;s:7:"node_id";i:58;s:5:"title";s:80:"Barron's Toefl ibt 15th Edition Cd-room, simulate actual test-taking conditions.";s:11:"reply_count";i:0;s:10:"view_count";i:456;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613595857;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:14386;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613595857;s:12:"last_post_id";i:14386;s:17:"last_post_user_id";i:3305;s:18:"last_post_username";s:9:"mod_luong";s:9:"prefix_id";i:22;s:4:"tags";s:312:"a:4:{i:4787;a:2:{s:3:"tag";s:12:"actual tests";s:7:"tag_url";s:12:"actual-tests";}i:6669;a:2:{s:3:"tag";s:17:"barrons toefl ibt";s:7:"tag_url";s:17:"barrons-toefl-ibt";}i:2676;a:2:{s:3:"tag";s:10:"simulation";s:7:"tag_url";s:10:"simulation";}i:1575;a:2:{s:3:"tag";s:9:"toefl ibt";s:7:"tag_url";s:9:"toefl-ibt";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13083;a:22:{s:9:"thread_id";i:13083;s:7:"node_id";i:58;s:5:"title";s:100:"Barron's Toefl Ibt, 15th, Pamela J. Sharpe, most up-to-date review and practice tests currently avai";s:11:"reply_count";i:0;s:10:"view_count";i:643;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613595750;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:14385;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613595750;s:12:"last_post_id";i:14385;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:456:"a:6:{i:11434;a:2:{s:3:"tag";s:6:"barron";s:7:"tag_url";s:6:"barron";}i:6669;a:2:{s:3:"tag";s:17:"barrons toefl ibt";s:7:"tag_url";s:17:"barrons-toefl-ibt";}i:11435;a:2:{s:3:"tag";s:16:"pamela j. sharpe";s:7:"tag_url";s:15:"pamela-j-sharpe";}i:6748;a:2:{s:3:"tag";s:16:"simulation tests";s:7:"tag_url";s:16:"simulation-tests";}i:239;a:2:{s:3:"tag";s:5:"toefl";s:7:"tag_url";s:5:"toefl";}i:1575;a:2:{s:3:"tag";s:9:"toefl ibt";s:7:"tag_url";s:9:"toefl-ibt";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13082;a:22:{s:9:"thread_id";i:13082;s:7:"node_id";i:134;s:5:"title";s:105:"234 bài open cloze dành cho luyện thi các kì thi Olympic, học giỏi Quốc Gia và Đại học.";s:11:"reply_count";i:0;s:10:"view_count";i:1493;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613595122;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:14384;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613595122;s:12:"last_post_id";i:14384;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:293:"a:4:{i:2483;a:2:{s:3:"tag";s:3:"hsg";s:7:"tag_url";s:3:"hsg";}i:302;a:2:{s:3:"tag";s:9:"luyen thi";s:7:"tag_url";s:9:"luyen-thi";}i:10184;a:2:{s:3:"tag";s:17:"olympic tieng anh";s:7:"tag_url";s:17:"olympic-tieng-anh";}i:11433;a:2:{s:3:"tag";s:10:"open cloze";s:7:"tag_url";s:10:"open-cloze";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13081;a:22:{s:9:"thread_id";i:13081;s:7:"node_id";i:91;s:5:"title";s:78:"Câu truyện về nàng công chúa Elsa | disney, Erica David, Bill Robinson";s:11:"reply_count";i:0;s:10:"view_count";i:808;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613410405;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:14379;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613410405;s:12:"last_post_id";i:14379;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:365:"a:5:{i:11431;a:2:{s:3:"tag";s:13:"bill robinson";s:7:"tag_url";s:13:"bill-robinson";}i:10882;a:2:{s:3:"tag";s:13:"children book";s:7:"tag_url";s:13:"children-book";}i:2802;a:2:{s:3:"tag";s:6:"disney";s:7:"tag_url";s:6:"disney";}i:11432;a:2:{s:3:"tag";s:4:"elsa";s:7:"tag_url";s:4:"elsa";}i:11430;a:2:{s:3:"tag";s:11:"erica david";s:7:"tag_url";s:11:"erica-david";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:13087;a:22:{s:9:"thread_id";i:13087;s:7:"node_id";i:27;s:5:"title";s:55:"Châm cứu học, TT Thích Tâm Ấn, bản chép tay";s:11:"reply_count";i:0;s:10:"view_count";i:729;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613596297;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:14389;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613596297;s:12:"last_post_id";i:14389;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:366:"a:5:{i:11440;a:2:{s:3:"tag";s:12:"ban chep tay";s:7:"tag_url";s:12:"ban-chep-tay";}i:293;a:2:{s:3:"tag";s:8:"cham cuu";s:7:"tag_url";s:8:"cham-cuu";}i:11438;a:2:{s:3:"tag";s:12:"cham cuu hoc";s:7:"tag_url";s:12:"cham-cuu-hoc";}i:11439;a:2:{s:3:"tag";s:12:"thich tam an";s:7:"tag_url";s:12:"thich-tam-an";}i:669;a:2:{s:3:"tag";s:5:"y hoc";s:7:"tag_url";s:5:"y-hoc";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13088;a:22:{s:9:"thread_id";i:13088;s:7:"node_id";i:27;s:5:"title";s:47:"Châm cứu thực hành - Nguyễn Hữu Hách";s:11:"reply_count";i:0;s:10:"view_count";i:932;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613596396;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:14390;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613596396;s:12:"last_post_id";i:14390;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:366:"a:5:{i:753;a:2:{s:3:"tag";s:4:"2000";s:7:"tag_url";s:4:"2000";}i:293;a:2:{s:3:"tag";s:8:"cham cuu";s:7:"tag_url";s:8:"cham-cuu";}i:11441;a:2:{s:3:"tag";s:15:"nguyen huu hach";s:7:"tag_url";s:15:"nguyen-huu-hach";}i:3290;a:2:{s:3:"tag";s:9:"thuc hanh";s:7:"tag_url";s:9:"thuc-hanh";}i:3419;a:2:{s:3:"tag";s:15:"y hoc co truyen";s:7:"tag_url";s:15:"y-hoc-co-truyen";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13089;a:22:{s:9:"thread_id";i:13089;s:7:"node_id";i:96;s:5:"title";s:57:"Chẩn Đoán Học Y Học Cổ Truyền - Trần Thúy";s:11:"reply_count";i:0;s:10:"view_count";i:1209;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613596470;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:14391;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613596470;s:12:"last_post_id";i:14391;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:287:"a:4:{i:1650;a:2:{s:3:"tag";s:4:"2006";s:7:"tag_url";s:4:"2006";}i:8109;a:2:{s:3:"tag";s:9:"chan doan";s:7:"tag_url";s:9:"chan-doan";}i:11436;a:2:{s:3:"tag";s:9:"tran thuy";s:7:"tag_url";s:9:"tran-thuy";}i:3419;a:2:{s:3:"tag";s:15:"y hoc co truyen";s:7:"tag_url";s:15:"y-hoc-co-truyen";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13090;a:22:{s:9:"thread_id";i:13090;s:7:"node_id";i:137;s:5:"title";s:100:"Chính trị phổ thông, giáo dục công dân các lớp đệ nhất và đệ nhị, 1965-1966";s:11:"reply_count";i:0;s:10:"view_count";i:897;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613596678;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:14392;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613596678;s:12:"last_post_id";i:14392;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:304:"a:4:{i:3311;a:2:{s:3:"tag";s:4:"1965";s:7:"tag_url";s:4:"1965";}i:1473;a:2:{s:3:"tag";s:4:"1966";s:7:"tag_url";s:4:"1966";}i:11442;a:2:{s:3:"tag";s:19:"chinh tri pho thong";s:7:"tag_url";s:19:"chinh-tri-pho-thong";}i:11443;a:2:{s:3:"tag";s:17:"giao duc cong dan";s:7:"tag_url";s:17:"giao-duc-cong-dan";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:13091;a:22:{s:9:"thread_id";i:13091;s:7:"node_id";i:96;s:5:"title";s:66:"Dược Học Cổ Truyền - Phạm Xuân Sinh, Phùng Hòa Bình";s:11:"reply_count";i:0;s:10:"view_count";i:1222;s:7:"user_id";i:3305;s:8:"username";s:9:"mod_luong";s:9:"post_date";i:1613596869;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:14393;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1613596869;s:12:"last_post_id";i:14393;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:321:"a:4:{i:10660;a:2:{s:3:"tag";s:8:"duoc hoc";s:7:"tag_url";s:8:"duoc-hoc";}i:11444;a:2:{s:3:"tag";s:14:"pham xuan sinh";s:7:"tag_url";s:14:"pham-xuan-sinh";}i:11445;a:2:{s:3:"tag";s:14:"phung hoa binh";s:7:"tag_url";s:14:"phung-hoa-binh";}i:3419;a:2:{s:3:"tag";s:15:"y hoc co truyen";s:7:"tag_url";s:15:"y-hoc-co-truyen";}}";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:23;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:23;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:20;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:21;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:24;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.730343
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Châm cứu chữa bệnh Nguyễn Tài Thu 1984' 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 <> 13086)
AND MATCH(search_index.title) AGAINST ('Châm cứu chữa bệnh Nguyễn Tài Thu 1984' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.288887
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.000277
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.000210
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.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, 39
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 43
Run Time: 0.000199
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 <> 13086)
ORDER BY RAND()
LIMIT 5
Run Time: 0.027472
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 (3155, 22853, 9361, 10618, 1953))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.001005
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.000231
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 7
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, 80
Run Time: 0.000224
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, 81
Run Time: 0.000227
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 = 13086)
Run Time: 0.037983
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: 6440f0bc876705fdaf68703fa3794112, , 1714607735
Run Time: 0.000249
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=13086, 1714604135,
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.000971
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.000372
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.000265
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.000298
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.000239
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |