SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000217
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
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: 7969815
Run Time: 0.000646
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: 126
Run Time: 0.000693
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.*
,
bb_code_parse_cache.parse_tree AS message_parsed, bb_code_parse_cache.cache_version AS message_cache_version,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
user_profile.*,
user_privacy.*,
signature_parse_cache.parse_tree AS signature_parsed, bb_code_parse_cache.cache_version AS signature_cache_version,
session_activity.view_date AS last_view_date,
0 AS like_date
FROM xf_post AS post
LEFT JOIN xf_bb_code_parse_cache AS bb_code_parse_cache ON
(bb_code_parse_cache.content_type = 'post' AND bb_code_parse_cache.content_id = post.post_id)
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_bb_code_parse_cache AS signature_parse_cache ON
(signature_parse_cache.content_type = 'signature' AND signature_parse_cache.content_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)
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: 7969815
Run Time: 0.001891
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 | bb_code_parse_cache | eq_ref | content_type_id | content_type_id | 31 | const,5s_db1.post.post_id | 1 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.post.user_id | 1 | |
SIMPLE | signature_parse_cache | eq_ref | content_type_id | content_type_id | 31 | const,5s_db1.post.user_id | 1 | Using where |
SIMPLE | session_activity | ref | PRIMARY | PRIMARY | 4 | 5s_db1.post.user_id | 5 | Using where |
SELECT * FROM xf_ip
WHERE ip_id = ?
Params: 19024380
Run Time: 0.000271
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
INSERT INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 7969815
Run Time: 0.000353
SELECT field.*
,
ff.field_id, ff.node_id
FROM xf_thread_field AS field
INNER JOIN xf_forum_field AS ff ON
(ff.field_id = field.field_id)
WHERE (ff.node_id IN(126))
ORDER BY field.materialized_order
Run Time: 0.000239
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | ff | ref | PRIMARY,field_id | PRIMARY | 4 | const | 5 | Using index; Using temporary; Using filesort |
SIMPLE | field | eq_ref | PRIMARY | PRIMARY | 194 | 5s_db1.ff.field_id | 1 | |
SELECT *
FROM xf_region
WHERE r_parentid = ? ORDER BY r_displayorder ASC
Params: 0
Run Time: 0.000216
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_region | ref | r_parentid | r_parentid | 4 | const | 65 | Using where; Using filesort |
SELECT field.*
,
ff.field_id, ff.node_id
FROM xf_thread_field AS field
INNER JOIN xf_forum_field AS ff ON
(ff.field_id = field.field_id)
WHERE (ff.node_id IN(126))
ORDER BY field.materialized_order
Run Time: 0.000246
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | ff | ref | PRIMARY,field_id | PRIMARY | 4 | const | 5 | Using index; Using temporary; Using filesort |
SIMPLE | field | eq_ref | PRIMARY | PRIMARY | 194 | 5s_db1.ff.field_id | 1 | |
SELECT *
FROM xf_region
WHERE r_parentid = ? ORDER BY r_displayorder ASC
Params: 0
Run Time: 0.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_region | ref | r_parentid | r_parentid | 4 | const | 65 | Using where; Using filesort |
SELECT *
FROM xf_thread_field_custom_filter
WHERE id = ?
Params: 0
Run Time: 0.000217
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT *
FROM xf_thread_field_custom_filter_group
WHERE id = ?
Params:
Run Time: 0.000173
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT *
FROM xf_thread_field_custom_filter_group
WHERE parentid = ?
Params:
Run Time: 0.000158
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread_field_custom_filter_group | ALL | | | | | 62 | Using where |
SELECT *
FROM xf_thread_field_custom_filter
WHERE id = ?
Params: 0
Run Time: 0.000240
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT *
FROM xf_thread_field_custom_filter_group
WHERE id = ?
Params:
Run Time: 0.000159
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT count(*) FROM api_hash WHERE userid = ? and apisource = ?
Params: 100420478, haravan.vn
Run Time: 0.000235
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT count(*) FROM api_thread_approve WHERE userid = 100420478 AND threadid = 7969815 AND open_iframe = 0 and apisource = 'haravan.vn'
Run Time: 0.000202
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT * FROM api_hash WHERE userid = ? and apisource = ? and approve = ?
Params: 100420478, webcall.vn, 1
Run Time: 0.000251
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT *
FROM xf_thread_user_up
WHERE user_id = ?
ORDER BY datecreated DESC
Params: 0
Run Time: 0.000154
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread_user_up | ref | user_id | user_id | 4 | const | 1 | Using where; Using filesort |
SELECT user.*
FROM xf_user AS user
WHERE user.user_id = ?
Params: 100420478
Run Time: 0.000419
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT *
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 36
Run Time: 0.000211
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
FROM xf_thread AS thread
WHERE thread.node_id = 126 AND thread.sticky = 1 AND thread.thread_id <> 7969815 AND discussion_state = "visible" ORDER BY rand() LIMIT 5
Run Time: 0.001460
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,node_id_product,node_id,node_id_2,sticky | node_id_sticky_state_last_post | 6 | const,const,const | 1 | Using index condition; Using temporary; Using filesort |
SELECT thread.*
FROM xf_thread AS thread
WHERE thread.node_id = 126 AND thread.sticky <> 1 AND thread.thread_id <> 7969815 AND discussion_state = "visible" ORDER BY thread.thread_id DESC LIMIT 5
Run Time: 0.001286
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,node_id_product,node_id,node_id_2,sticky | PRIMARY | 4 | | 1589842 | Using where |
SELECT * FROM `xf_quicklink` WHERE node_id = ? ORDER BY stt,id
Params: 126
Run Time: 0.000191
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_quicklink | ref | node_id | node_id | 2 | const | 1 | Using where; Using filesort |
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=7969815, 1657016723,
Run Time: 0.000379
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000212
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 17 | Using where; Using filesort |
INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, cache_date)
VALUES (?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE parse_tree = VALUES(parse_tree),
cache_version = VALUES(cache_version),
cache_date = VALUES(cache_date)
Params: post, 1042076822, a:10:{i:0;a:4:{s:3:"tag";s:4:"font";s:6:"option";s:5:"arial";s:8:"original";a:2:{i:0;s:12:"[FONT=arial]";i:1;s:7:"[/FONT]";}s:8:"children";a:1:{i:0;a:4:{s:3:"tag";s:4:"size";s:6:"option";s:1:"4";s:8:"original";a:2:{i:0;s:8:"[SIZE=4]";i:1;s:7:"[/SIZE]";}s:8:"children";a:16:{i:0;s:5:"Bán ";i:1;a:4:{s:3:"tag";s:5:"color";s:6:"option";s:7:"#ff0000";s:8:"original";a:2:{i:0;s:15:"[COLOR=#ff0000]";i:1;s:8:"[/COLOR]";}s:8:"children";a:1:{i:0;s:34:"iphone 6 64G quốc tế hàng KH.";}}i:2;s:27:".máy màu đen còn mới ";i:3;a:4:{s:3:"tag";s:5:"color";s:6:"option";s:7:"#ff0000";s:8:"original";a:2:{i:0;s:15:"[COLOR=#ff0000]";i:1;s:8:"[/COLOR]";}s:8:"children";a:1:{i:0;s:27:"99% không bị cấn móp.";}}i:4;s:183:".máy active hồi tháng 10..máy zin chưa qua sữa chữa nhé..mọi chức năng máy hoạt động bình thường nhé..máy chỉ còn sạc cáp zin..giá e nó ra đi là ";i:5;a:4:{s:3:"tag";s:1:"b";s:6:"option";N;s:8:"original";a:2:{i:0;s:3:"[B]";i:1;s:4:"[/B]";}s:8:"children";a:1:{i:0;a:4:{s:3:"tag";s:5:"color";s:6:"option";s:7:"#b22222";s:8:"original";a:2:{i:0;s:15:"[COLOR=#b22222]";i:1;s:8:"[/COLOR]";}s:8:"children";a:1:{i:0;s:7:"15tr100";}}}}i:6;s:41:"
Minh chỉ bán tại nhà thôi nhé..";i:7;a:4:{s:3:"tag";s:1:"b";s:6:"option";N;s:8:"original";a:2:{i:0;s:3:"[B]";i:1;s:4:"[/B]";}s:8:"children";a:1:{i:0;s:32:"máy mình bao test 7 ngày nhé";}}i:8;s:1:"
";i:9;a:4:{s:3:"tag";s:1:"b";s:6:"option";N;s:8:"original";a:2:{i:0;s:3:"[B]";i:1;s:4:"[/B]";}s:8:"children";a:1:{i:0;s:5:"Phone";}}i:10;s:3:" : ";i:11;a:4:{s:3:"tag";s:5:"color";s:6:"option";s:7:"#ff0000";s:8:"original";a:2:{i:0;s:15:"[COLOR=#ff0000]";i:1;s:8:"[/COLOR]";}s:8:"children";a:1:{i:0;a:4:{s:3:"tag";s:1:"b";s:6:"option";N;s:8:"original";a:2:{i:0;s:3:"[B]";i:1;s:4:"[/B]";}s:8:"children";a:1:{i:0;s:12:"0909.777.426";}}}}i:12;s:1:"
";i:13;a:4:{s:3:"tag";s:1:"b";s:6:"option";N;s:8:"original";a:2:{i:0;s:3:"[B]";i:1;s:4:"[/B]";}s:8:"children";a:1:{i:0;s:4:"Đ/c";}}i:14;s:3:" : ";i:15;a:4:{s:3:"tag";s:5:"color";s:6:"option";s:7:"#0000ff";s:8:"original";a:2:{i:0;s:15:"[COLOR=#0000ff]";i:1;s:8:"[/COLOR]";}s:8:"children";a:1:{i:0;s:42:"149/20/5 Bành Văn Trân P7 Q.Tân Bình
";}}}}}}i:1;s:77:"<span style="font-family:arial;"><font size="4"><span style="color:#0000ff;">";i:2;a:4:{s:3:"tag";s:3:"img";s:6:"option";N;s:8:"original";a:2:{i:0;s:5:"[IMG]";i:1;s:6:"[/IMG]";}s:8:"children";a:1:{i:0;s:97:"http://s1.storage.5giay.vn/image/2015/03/20150329_fbba9f44111217686b5f4a671f48fc72_1427614708.jpg";}}i:3;a:4:{s:3:"tag";s:3:"img";s:6:"option";N;s:8:"original";a:2:{i:0;s:5:"[IMG]";i:1;s:6:"[/IMG]";}s:8:"children";a:1:{i:0;s:97:"http://s1.storage.5giay.vn/image/2015/03/20150329_56909c54fa173bbe63ad4db32f2d5bbc_1427614710.jpg";}}i:4;a:4:{s:3:"tag";s:3:"img";s:6:"option";N;s:8:"original";a:2:{i:0;s:5:"[IMG]";i:1;s:6:"[/IMG]";}s:8:"children";a:1:{i:0;s:97:"http://s1.storage.5giay.vn/image/2015/03/20150329_76a8d1911ef6b074e612dc10742251a3_1427614710.jpg";}}i:5;a:4:{s:3:"tag";s:3:"img";s:6:"option";N;s:8:"original";a:2:{i:0;s:5:"[IMG]";i:1;s:6:"[/IMG]";}s:8:"children";a:1:{i:0;s:97:"http://s1.storage.5giay.vn/image/2015/03/20150329_5dadd0f6aeb9a055421787a3a97f1fff_1427614713.jpg";}}i:6;a:4:{s:3:"tag";s:3:"img";s:6:"option";N;s:8:"original";a:2:{i:0;s:5:"[IMG]";i:1;s:6:"[/IMG]";}s:8:"children";a:1:{i:0;s:97:"http://s1.storage.5giay.vn/image/2015/03/20150329_703888bb54633357388291899cdfcb88_1427614713.jpg";}}i:7;s:78:"
<span style="font-family:arial;"><font size="4"><span style="color:#0000ff;">";i:8;a:4:{s:3:"tag";s:3:"img";s:6:"option";N;s:8:"original";a:2:{i:0;s:5:"[IMG]";i:1;s:6:"[/IMG]";}s:8:"children";a:1:{i:0;s:97:"http://s1.storage.5giay.vn/image/2015/03/20150329_5c03eaffef65521d1847ccfdb988e20c_1427614737.jpg";}}i:9;a:4:{s:3:"tag";s:4:"font";s:6:"option";s:5:"arial";s:8:"original";a:2:{i:0;s:12:"[FONT=arial]";i:1;s:7:"[/FONT]";}s:8:"children";a:1:{i:0;a:4:{s:3:"tag";s:4:"size";s:6:"option";s:1:"4";s:8:"original";a:2:{i:0;s:8:"[SIZE=4]";i:1;s:7:"[/SIZE]";}s:8:"children";a:1:{i:0;a:4:{s:3:"tag";s:5:"color";s:6:"option";s:7:"#0000ff";s:8:"original";a:2:{i:0;s:15:"[COLOR=#0000ff]";i:1;s:8:"[/COLOR]";}s:8:"children";a:1:{i:0;s:1:"
";}}}}}}}, 1631068078, 1657016723
Run Time: 0.000470
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('thread_field_price_desc', 'thread_field_city_desc', 'thread_field_district_desc', 'thread_field_mobile_desc', 'thread_field_postaddress_desc')
Params: 4
Run Time: 0.000175
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 5 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 36
Run Time: 0.000301
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, cache_date)
VALUES (?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE parse_tree = VALUES(parse_tree),
cache_version = VALUES(cache_version),
cache_date = VALUES(cache_date)
Params: signature, 100420478, a:1:{i:0;s:4:"NULL";}, 1631068078, 1657016723
Run Time: 0.000454
SELECT session_activity.*
,
user.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
WHERE (session_activity.view_date > 1657015823)
ORDER BY session_activity.view_date DESC
Run Time: 0.004037
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2301 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |