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.000805
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.000342
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.008730
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 10916 | |
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: 7842
Run Time: 0.001032
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: 138
Run Time: 0.000872
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: 7842
Run Time: 0.004790
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: 7842
Run Time: 0.000481
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 7842, 0
Run Time: 0.497723
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 < 1572924639)) AND (thread.thread_id <> 7842)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.008367
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, 57
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, 25
Run Time: 0.000252
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, 156
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 127
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 thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date > 1572924639)) AND (thread.thread_id <> 7842)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.008852
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, 15
Run Time: 0.000290
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, 17
Run Time: 0.000259
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.000265
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 <> 7842)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000570
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.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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 7842 AND user_id = 0)
Params: 1714614766, a:3:{s:12:"olderThreads";a:5:{i:7841;a:22:{s:9:"thread_id";i:7841;s:7:"node_id";i:57;s:5:"title";s:33:"Bảng thường dụng hán tự";s:11:"reply_count";i:0;s:10:"view_count";i:750;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572924175;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:8791;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572924175;s:12:"last_post_id";i:8791;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:69:"a:1:{i:6294;a:2:{s:3:"tag";s:6:"han tu";s:7:"tag_url";s:6:"han-tu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7840;a:22:{s:9:"thread_id";i:7840;s:7:"node_id";i:25;s:5:"title";s:51:"CHIẾN LƯỢC MARKETING CHO SẢN PHẨM VESPA LX";s:11:"reply_count";i:0;s:10:"view_count";i:685;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572923948;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:8790;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572923948;s:12:"last_post_id";i:8790;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:3;s:4:"tags";s:228:"a:3:{i:6293;a:2:{s:3:"tag";s:21:"chien luoc kinh doanh";s:7:"tag_url";s:21:"chien-luoc-kinh-doanh";}i:465;a:2:{s:3:"tag";s:8:"luan van";s:7:"tag_url";s:8:"luan-van";}i:6292;a:2:{s:3:"tag";s:5:"vespa";s:7:"tag_url";s:5:"vespa";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7839;a:22:{s:9:"thread_id";i:7839;s:7:"node_id";i:156;s:5:"title";s:49:"Ngữ pháp cơ bản tiếng Hàn - Lê Huy Khoa";s:11:"reply_count";i:0;s:10:"view_count";i:726;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572923615;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:8789;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572923615;s:12:"last_post_id";i:8789;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:13;s:4:"tags";s:213:"a:3:{i:1329;a:2:{s:3:"tag";s:6:"korean";s:7:"tag_url";s:6:"korean";}i:5308;a:2:{s:3:"tag";s:11:"le huy khoa";s:7:"tag_url";s:11:"le-huy-khoa";}i:3155;a:2:{s:3:"tag";s:9:"tieng han";s:7:"tag_url";s:9:"tieng-han";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7838;a:22:{s:9:"thread_id";i:7838;s:7:"node_id";i:127;s:5:"title";s:49:"Hướng Dẫn Hack Wifi Mã Hóa Dạng WPA/WPA2";s:11:"reply_count";i:0;s:10:"view_count";i:778;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572923273;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:8788;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572923273;s:12:"last_post_id";i:8788;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:246:"a:4:{i:1885;a:2:{s:3:"tag";s:7:"hacking";s:7:"tag_url";s:7:"hacking";}i:6289;a:2:{s:3:"tag";s:4:"wifi";s:7:"tag_url";s:4:"wifi";}i:6290;a:2:{s:3:"tag";s:3:"wpa";s:7:"tag_url";s:3:"wpa";}i:6291;a:2:{s:3:"tag";s:4:"wpa2";s:7:"tag_url";s:4:"wpa2";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7837;a:22:{s:9:"thread_id";i:7837;s:7:"node_id";i:138;s:5:"title";s:58:"thuật ngữ tiếng anh chuyên ngành luật, pháp lý";s:11:"reply_count";i:0;s:10:"view_count";i:632;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572922973;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:8787;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572922973;s:12:"last_post_id";i:8787;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:3;s:4:"tags";s:97:"a:1:{i:6287;a:2:{s:3:"tag";s:19:"thuat ngu tieng anh";s:7:"tag_url";s:19:"thuat-ngu-tieng-anh";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:7843;a:22:{s:9:"thread_id";i:7843;s:7:"node_id";i:15;s:5:"title";s:98:"Giáo dục môi trường (tài liệu dành cho giáo viên và học sinh trung học cơ sở)";s:11:"reply_count";i:0;s:10:"view_count";i:680;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572925080;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:8793;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572925080;s:12:"last_post_id";i:8793;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:301:"a:4:{i:6298;a:2:{s:3:"tag";s:17:"bao ve moi truong";s:7:"tag_url";s:17:"bao-ve-moi-truong";}i:578;a:2:{s:3:"tag";s:8:"giao duc";s:7:"tag_url";s:8:"giao-duc";}i:3423;a:2:{s:3:"tag";s:9:"giao vien";s:7:"tag_url";s:9:"giao-vien";}i:2322;a:2:{s:3:"tag";s:10:"moi truong";s:7:"tag_url";s:10:"moi-truong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7844;a:22:{s:9:"thread_id";i:7844;s:7:"node_id";i:17;s:5:"title";s:63:"giáo trình khí cụ điện | bộ môn thiết bị điện";s:11:"reply_count";i:0;s:10:"view_count";i:894;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572926520;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:8794;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572926520;s:12:"last_post_id";i:8794;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:233:"a:3:{i:1261;a:2:{s:3:"tag";s:10:"giao trinh";s:7:"tag_url";s:10:"giao-trinh";}i:6299;a:2:{s:3:"tag";s:11:"khi cu dien";s:7:"tag_url";s:11:"khi-cu-dien";}i:6300;a:2:{s:3:"tag";s:13:"thiet bi dien";s:7:"tag_url";s:13:"thiet-bi-dien";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7845;a:22:{s:9:"thread_id";i:7845;s:7:"node_id";i:138;s:5:"title";s:35:"thuật ngữ âm nhạc tiếng Ý";s:11:"reply_count";i:0;s:10:"view_count";i:707;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572926714;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:8795;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572926714;s:12:"last_post_id";i:8795;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:3;s:4:"tags";s:139:"a:2:{i:841;a:2:{s:3:"tag";s:7:"am nhac";s:7:"tag_url";s:7:"am-nhac";}i:5392;a:2:{s:3:"tag";s:9:"thuat ngu";s:7:"tag_url";s:9:"thuat-ngu";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7846;a:22:{s:9:"thread_id";i:7846;s:7:"node_id";i:39;s:5:"title";s:42:"Hướng dẫn chơi cờ shogi chi tiết";s:11:"reply_count";i:0;s:10:"view_count";i:750;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572926942;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:8796;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572926942;s:12:"last_post_id";i:8796;s:17:"last_post_user_id";i:3552;s:18:"last_post_username";s:7:"mod_van";s:9:"prefix_id";i:3;s:4:"tags";s:128:"a:2:{i:2389;a:2:{s:3:"tag";s:5:"chess";s:7:"tag_url";s:5:"chess";}i:6301;a:2:{s:3:"tag";s:5:"shogi";s:7:"tag_url";s:5:"shogi";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:7847;a:22:{s:9:"thread_id";i:7847;s:7:"node_id";i:39;s:5:"title";s:69:"Luật và cách chơi cờ vua cơ bản (luật cờ vua cơ bản)";s:11:"reply_count";i:0;s:10:"view_count";i:850;s:7:"user_id";i:3552;s:8:"username";s:7:"mod_van";s:9:"post_date";i:1572927013;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:8797;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1572927013;s:12:"last_post_id";i:8797;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:130:"a:2:{i:2389;a:2:{s:3:"tag";s:5:"chess";s:7:"tag_url";s:5:"chess";}i:2388;a:2:{s:3:"tag";s:6:"co vua";s:7:"tag_url";s:6:"co-vua";}}";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:24;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:24;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:22;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:22;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:25;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.105293
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Thuật ngữ sinh học Anh - Việt | Mai Đình Yên, Vũ Văn Vụ, Lê Đình Lương' 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 <> 7842)
AND MATCH(search_index.title) AGAINST ('Thuật ngữ sinh học Anh - Việt | Mai Đình Yên, Vũ Văn Vụ, Lê Đình Lương' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.480331
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, 10
Run Time: 0.000528
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 34
Run Time: 0.000292
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, 40
Run Time: 0.000274
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 <> 7842)
ORDER BY RAND()
LIMIT 5
Run Time: 0.027358
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 (20979, 24916, 14951, 1861, 3965))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.010957
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, 202
Run Time: 0.000306
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, 169
Run Time: 0.000265
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, 230
Run Time: 0.000996
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, 77
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, 56
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 post_links.*
FROM xf_post_links AS post_links
WHERE (post_links.thread_id = 7842)
Run Time: 0.049045
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: 54188ce019273c58c697475dfc94745c, , 1714618366
Run Time: 0.000303
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=7842, 1714614766,
Run Time: 0.000177
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.001067
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.002246
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.001235
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.000434
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.000326
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |