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.001120
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.000511
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.000683
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_point | ALL | | | | | 32 | |
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: 5520
Run Time: 0.000520
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: 60
Run Time: 0.000610
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | 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: 5520
Run Time: 0.001397
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: 5520
Run Time: 0.000296
SELECT *
FROM xf_brivium_extra_thread_item
WHERE thread_id = ? AND user_id = ?
Params: 5520, 0
Run Time: 0.647061
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_extra_thread_item | ALL | | | | | 12571 | Using where |
SELECT thread.*
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible') AND (thread.post_date < 1550728323)) AND (thread.thread_id <> 5520)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000481
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 5230 | 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, 56
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, 86
Run Time: 0.000136
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, 72
Run Time: 0.000121
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 > 1550728323)) AND (thread.thread_id <> 5520)
ORDER BY thread.post_date ASC
LIMIT 5
Run Time: 0.000334
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,post_date | post_date | 4 | | 6858 | 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.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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 187
Run Time: 0.000139
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, 59
Run Time: 0.000112
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 <> 5520)
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000291
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, 142
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 | |
UPDATE `xf_brivium_extra_thread_item` SET `date_update` = ?, `extra_cache` = ? WHERE (thread_id = 5520 AND user_id = 0)
Params: 1611786642, a:3:{s:12:"olderThreads";a:5:{i:5519;a:22:{s:9:"thread_id";i:5519;s:7:"node_id";i:60;s:5:"title";s:100:"Princeton Review, "Cracking the GMAT Premium 2019 Edition with 6 Computer-Adaptive Practice Tests: T";s:11:"reply_count";i:0;s:10:"view_count";i:915;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550727987;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:6250;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550727987;s:12:"last_post_id";i:6250;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:283:"a:4:{i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:2124;a:2:{s:3:"tag";s:8:"cracking";s:7:"tag_url";s:8:"cracking";}i:633;a:2:{s:3:"tag";s:4:"gmat";s:7:"tag_url";s:4:"gmat";}i:4393;a:2:{s:3:"tag";s:20:"the princeton review";s:7:"tag_url";s:20:"the-princeton-review";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5518;a:22:{s:9:"thread_id";i:5518;s:7:"node_id";i:60;s:5:"title";s:24:"Gmat Official Guide 2019";s:11:"reply_count";i:0;s:10:"view_count";i:213;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550727325;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:6249;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550727325;s:12:"last_post_id";i:6249;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:204:"a:3:{i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:633;a:2:{s:3:"tag";s:4:"gmat";s:7:"tag_url";s:4:"gmat";}i:1240;a:2:{s:3:"tag";s:14:"official guide";s:7:"tag_url";s:14:"official-guide";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5517;a:22:{s:9:"thread_id";i:5517;s:7:"node_id";i:56;s:5:"title";s:77:"Ielts speaking: 20 Topics part 123, Topic vocabulary compiled by Sh.Bahriddin";s:11:"reply_count";i:0;s:10:"view_count";i:221;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550723753;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:6248;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550723753;s:12:"last_post_id";i:6248;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:12;s:4:"tags";s:263:"a:4:{i:90;a:2:{s:3:"tag";s:5:"ielts";s:7:"tag_url";s:5:"ielts";}i:619;a:2:{s:3:"tag";s:8:"speaking";s:7:"tag_url";s:8:"speaking";}i:2652;a:2:{s:3:"tag";s:5:"topic";s:7:"tag_url";s:5:"topic";}i:89;a:2:{s:3:"tag";s:10:"vocabulary";s:7:"tag_url";s:10:"vocabulary";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5514;a:22:{s:9:"thread_id";i:5514;s:7:"node_id";i:86;s:5:"title";s:39:"Các sai lầm cơ bản trong cờ úp";s:11:"reply_count";i:0;s:10:"view_count";i:225;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550652672;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:6244;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550652672;s:12:"last_post_id";i:6244;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:24;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5513;a:22:{s:9:"thread_id";i:5513;s:7:"node_id";i:72;s:5:"title";s:45:"DANH SÁCH 60 WEBSITE CÓ NGUỒN VIDEO RE-UP";s:11:"reply_count";i:3;s:10:"view_count";i:144;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550651779;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:6240;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550652619;s:12:"last_post_id";i:6243;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:16;s:4:"tags";s:6:"a:0:{}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:12:"newerThreads";a:5:{i:5521;a:22:{s:9:"thread_id";i:5521;s:7:"node_id";i:15;s:5:"title";s:71:"THÔNG TIN KỲ THI TOÁN QUỐC TẾ SINGAPORE & CHÂU Á (SASMO) 2019";s:11:"reply_count";i:0;s:10:"view_count";i:327;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550728738;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:6252;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550728738;s:12:"last_post_id";i:6252;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:10;s:4:"tags";s:213:"a:3:{i:4845;a:2:{s:3:"tag";s:5:"samos";s:7:"tag_url";s:5:"samos";}i:3823;a:2:{s:3:"tag";s:9:"singapore";s:7:"tag_url";s:9:"singapore";}i:3824;a:2:{s:3:"tag";s:12:"toan quoc te";s:7:"tag_url";s:12:"toan-quoc-te";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5522;a:22:{s:9:"thread_id";i:5522;s:7:"node_id";i:60;s:5:"title";s:49:"The PowerScore GMAT Critical Reasoning Bible 2017";s:11:"reply_count";i:0;s:10:"view_count";i:268;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550734826;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:6253;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550734826;s:12:"last_post_id";i:6253;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:431:"a:6:{i:766;a:2:{s:3:"tag";s:4:"2017";s:7:"tag_url";s:4:"2017";}i:3055;a:2:{s:3:"tag";s:5:"bible";s:7:"tag_url";s:5:"bible";}i:4847;a:2:{s:3:"tag";s:18:"critical reasoning";s:7:"tag_url";s:18:"critical-reasoning";}i:4848;a:2:{s:3:"tag";s:17:"david m. killoran";s:7:"tag_url";s:16:"david-m-killoran";}i:633;a:2:{s:3:"tag";s:4:"gmat";s:7:"tag_url";s:4:"gmat";}i:4846;a:2:{s:3:"tag";s:10:"powerscore";s:7:"tag_url";s:10:"powerscore";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5524;a:22:{s:9:"thread_id";i:5524;s:7:"node_id";i:187;s:5:"title";s:71:"Tổng hợp cập nhật đề thi - kinh nghiệm học và thi Ielts";s:11:"reply_count";i:32;s:10:"view_count";i:906;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550739155;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:6255;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1609757672;s:12:"last_post_id";i:13603;s:17:"last_post_user_id";i:1;s:18:"last_post_username";s:5:"admin";s:9:"prefix_id";i:16;s:4:"tags";s:279:"a:4:{i:378;a:2:{s:3:"tag";s:6:"de thi";s:7:"tag_url";s:6:"de-thi";}i:4849;a:2:{s:3:"tag";s:12:"de thi ielts";s:7:"tag_url";s:12:"de-thi-ielts";}i:90;a:2:{s:3:"tag";s:5:"ielts";s:7:"tag_url";s:5:"ielts";}i:2128;a:2:{s:3:"tag";s:11:"kinh nghiem";s:7:"tag_url";s:11:"kinh-nghiem";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5525;a:22:{s:9:"thread_id";i:5525;s:7:"node_id";i:59;s:5:"title";s:48:"The Powerscore LSAT Logical Reasoning Bible 2018";s:11:"reply_count";i:0;s:10:"view_count";i:278;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550741843;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:6269;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550741843;s:12:"last_post_id";i:6269;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:286:"a:4:{i:3055;a:2:{s:3:"tag";s:5:"bible";s:7:"tag_url";s:5:"bible";}i:4851;a:2:{s:3:"tag";s:17:"logical reasoning";s:7:"tag_url";s:17:"logical-reasoning";}i:4850;a:2:{s:3:"tag";s:4:"lsat";s:7:"tag_url";s:4:"lsat";}i:4846;a:2:{s:3:"tag";s:10:"powerscore";s:7:"tag_url";s:10:"powerscore";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:5526;a:22:{s:9:"thread_id";i:5526;s:7:"node_id";i:59;s:5:"title";s:72:"The PowerScore LSAT Logic Games Bible: 2019 Edition by David M. Killoran";s:11:"reply_count";i:0;s:10:"view_count";i:270;s:7:"user_id";i:1;s:8:"username";s:5:"admin";s:9:"post_date";i:1550742915;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:6270;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1550742915;s:12:"last_post_id";i:6270;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:358:"a:5:{i:2196;a:2:{s:3:"tag";s:4:"2019";s:7:"tag_url";s:4:"2019";}i:4848;a:2:{s:3:"tag";s:17:"david m. killoran";s:7:"tag_url";s:16:"david-m-killoran";}i:4852;a:2:{s:3:"tag";s:11:"logic games";s:7:"tag_url";s:11:"logic-games";}i:4850;a:2:{s:3:"tag";s:4:"lsat";s:7:"tag_url";s:4:"lsat";}i:4846;a:2:{s:3:"tag";s:10:"powerscore";s:7:"tag_url";s:10:"powerscore";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}s:13:"latestThreads";a:5:{i:12876;a:22:{s:9:"thread_id";i:12876;s:7:"node_id";i:142;s:5:"title";s:122:"Rèn luyện tâm thể năng lượng cảm xạ, năng lượng CXH với NL Sinh học, Dư Quang Châu, Trần Văn Ba";s:11:"reply_count";i:1;s:10:"view_count";i:2;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1611772766;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:14142;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611772776;s:12:"last_post_id";i:14143;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:461:"a:6:{i:11164;a:2:{s:3:"tag";s:6:"cam xa";s:7:"tag_url";s:6:"cam-xa";}i:11185;a:2:{s:3:"tag";s:10:"cam xa hoc";s:7:"tag_url";s:10:"cam-xa-hoc";}i:11165;a:2:{s:3:"tag";s:13:"du quang chau";s:7:"tag_url";s:13:"du-quang-chau";}i:11170;a:2:{s:3:"tag";s:19:"nang luong sinh hoc";s:7:"tag_url";s:19:"nang-luong-sinh-hoc";}i:9346;a:2:{s:3:"tag";s:9:"ren luyen";s:7:"tag_url";s:9:"ren-luyen";}i:11166;a:2:{s:3:"tag";s:11:"tran van ba";s:7:"tag_url";s:11:"tran-van-ba";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12875;a:22:{s:9:"thread_id";i:12875;s:7:"node_id";i:142;s:5:"title";s:121:"Làm gì để giúp con khi trẻ đối mặt với vấn đề trí thông minh, Ong Li Min, Ong Lue Ping, Daniel Fung";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1611772423;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:14141;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611772423;s:12:"last_post_id";i:14141;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:365:"a:5:{i:578;a:2:{s:3:"tag";s:8:"giao duc";s:7:"tag_url";s:8:"giao-duc";}i:677;a:2:{s:3:"tag";s:18:"giao duc gioi tinh";s:7:"tag_url";s:18:"giao-duc-gioi-tinh";}i:313;a:2:{s:3:"tag";s:6:"tre em";s:7:"tag_url";s:6:"tre-em";}i:2997;a:2:{s:3:"tag";s:14:"tri thong minh";s:7:"tag_url";s:14:"tri-thong-minh";}i:11184;a:2:{s:3:"tag";s:5:"tu ky";s:7:"tag_url";s:5:"tu-ky";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12874;a:22:{s:9:"thread_id";i:12874;s:7:"node_id";i:142;s:5:"title";s:71:"Việt Chương Thú chơi non bộ và kiểng Bonsai, Việt Chương";s:11:"reply_count";i:0;s:10:"view_count";i:1;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1611772280;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:14140;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611772280;s:12:"last_post_id";i:14140;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:473:"a:7:{i:3135;a:2:{s:3:"tag";s:6:"bonsai";s:7:"tag_url";s:6:"bonsai";}i:11180;a:2:{s:3:"tag";s:9:"cay kieng";s:7:"tag_url";s:9:"cay-kieng";}i:11183;a:2:{s:3:"tag";s:6:"garden";s:7:"tag_url";s:6:"garden";}i:11181;a:2:{s:3:"tag";s:5:"kieng";s:7:"tag_url";s:5:"kieng";}i:11179;a:2:{s:3:"tag";s:6:"non bo";s:7:"tag_url";s:6:"non-bo";}i:11178;a:2:{s:3:"tag";s:8:"thu choi";s:7:"tag_url";s:8:"thu-choi";}i:11182;a:2:{s:3:"tag";s:11:"viet chuong";s:7:"tag_url";s:11:"viet-chuong";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12873;a:22:{s:9:"thread_id";i:12873;s:7:"node_id";i:142;s:5:"title";s:40:"Văn học nước ngoài, số 6 - 2002";s:11:"reply_count";i:0;s:10:"view_count";i:2;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1611771929;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:14139;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611771929;s:12:"last_post_id";i:14139;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:154:"a:2:{i:740;a:2:{s:3:"tag";s:4:"2002";s:7:"tag_url";s:4:"2002";}i:11177;a:2:{s:3:"tag";s:18:"van hoc nuoc ngoai";s:7:"tag_url";s:18:"van-hoc-nuoc-ngoai";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}i:12872;a:22:{s:9:"thread_id";i:12872;s:7:"node_id";i:142;s:5:"title";s:40:"Văn học nước ngoài, số 2 - 2004";s:11:"reply_count";i:0;s:10:"view_count";i:4;s:7:"user_id";i:3675;s:8:"username";s:12:"m.luongnhung";s:9:"post_date";i:1611771756;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:14138;s:16:"first_post_likes";i:0;s:14:"last_post_date";i:1611771756;s:12:"last_post_id";i:14138;s:17:"last_post_user_id";i:3675;s:18:"last_post_username";s:12:"m.luongnhung";s:9:"prefix_id";i:2;s:4:"tags";s:154:"a:2:{i:883;a:2:{s:3:"tag";s:4:"2004";s:7:"tag_url";s:4:"2004";}i:11177;a:2:{s:3:"tag";s:18:"van hoc nuoc ngoai";s:7:"tag_url";s:18:"van-hoc-nuoc-ngoai";}}";s:13:"titleCensored";b:1;s:10:"hasPreview";b:1;}}}
Run Time: 1.233021
SELECT thread.*
,
MATCH(search_index.title) AGAINST ('Cracking the GMAT with 2 Computer-Adaptive Practice Tests: The Strategies, Practice, and Review You' 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 <> 5520)
AND MATCH(search_index.title) AGAINST ('Cracking the GMAT with 2 Computer-Adaptive Practice Tests: The Strategies, Practice, and Review You' IN BOOLEAN MODE)
AND search_index.content_type='thread'
HAVING similar_score >= 1
ORDER BY similar_score
LIMIT 5
Run Time: 0.123342
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | PRIMARY | PRIMARY | 77 | const | 247 | Using index condition; Using where; 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.000239
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 4
Run Time: 0.000203
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, 19
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 thread.thread_id
FROM xf_thread AS thread
WHERE ((thread.discussion_type <> 'redirect') AND (thread.discussion_state = 'visible')) AND (thread.thread_id <> 5520)
ORDER BY RAND()
LIMIT 5
Run Time: 0.010172
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 7564 | 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 (8911, 42, 3130, 4883, 4905))
ORDER BY thread.post_date DESC
LIMIT 5
Run Time: 0.000792
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, 25
Run Time: 0.000248
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, 112
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, 119
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 26
Run Time: 0.000243
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, 2
Run Time: 0.000195
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 = 5520)
Run Time: 0.011429
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post_links | ALL | | | | | 7212 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: bad217783d3041c67fe71c5dcb6955b0, , 1611790242
Run Time: 0.000330
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=5520, 1611786642,
Run Time: 0.000199
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.000945
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.000349
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 4 | 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.000204
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.000263
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | adv | ALL | | | | | 4 | 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.000185
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |