SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT tag.*
,
0 AS tag_is_watched
FROM `xf_tinhte_xentag_tag` AS tag
WHERE (tag.tag_text = 'ipad 4 3g')
Run Time: 0.000463
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 1 | Using index condition |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (9514711, 9297031, 9280595, 9274605, 9256874, 9208405, 9179475, 9148808, 9104025, 9074184, 9074180, 9044063, 9044062, 9032020, 9027100, 9025557, 9022335, 9001336, 8999648, 8997731, 8997722, 8996971, 8996890, 8996550, 8996529, 8993469, 8993213, 8993160, 8993054, 8992302, 8992246, 8992154, 8990682, 8990565, 8990325, 8990300, 8987210, 8985141, 8978357, 8955045, 8939192, 8939118, 8933687, 8919622, 8910180, 8908444, 8906532, 8906531, 8904260, 8886131, 8875349, 8866996, 8865981, 8863719, 8861851, 8860374, 8858727, 8858685, 8856919, 8854223, 8853792, 8853552, 8853084, 8852607, 8852562, 8852556, 8852546, 8851972, 8851947, 8846069, 8820017, 8816331, 8813405, 8807998, 8804575, 8802209, 8799986, 8790783, 8790782, 8789739, 8784856, 8781329, 8766727, 8745996, 8744789, 8744019, 8736364, 8734783, 8733808, 8733807, 8730860, 8724276, 8724119, 8720743, 8716135, 8711852, 8711454, 8711453, 8710237, 8698647, 8693145, 8684722, 8684720, 8682371, 8672291, 8665846, 8663020, 8660394, 8658005, 8656384, 8653358, 8652366, 8650940, 8650216, 8648770, 8645083, 8643743, 8641818, 8634557, 8622673, 8619447, 8607815, 8600903, 8593189, 8583773, 8580684, 8572135, 8570888, 8153167, 8153166, 8056289)
Run Time: 0.004118
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 131 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Params: [["thread",9274605],["thread",9179475],["thread",9044063],["thread",8985141],["thread",8955045],["thread",8939192],["thread",8919622],["thread",8790783],["thread",8733808],["thread",8711454],["thread",8698647],["thread",8641818],["thread",8622673],["thread",8619447],["thread",8607815],["thread",8583773],["thread",8580684],["thread",8572135],["thread",8570888],["thread",8056289]], 20, tinhte_xentag_tag, , {"tags":["ipad 4 3g"]}, date, 0, , [], 0, 1657213892, a5a601f30fe93ba3b192e9a7417d27f6
Run Time: 0.000595
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (9274605, 9179475, 9044063, 8985141, 8955045, 8939192, 8919622, 8790783, 8733808, 8711454, 8698647, 8641818, 8622673, 8619447, 8607815, 8583773, 8580684, 8572135, 8570888, 8056289)
Run Time: 0.001690
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 20 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
INSERT INTO xf_tinhte_xentag_tag_view
(tag_id)
VALUES
(?)
Params: 454220
Run Time: 0.000300
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, , , Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=ipad+4+3g, 1657213892,
Run Time: 0.000407
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000213
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 17 | Using where; Using filesort |
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 > 1657212992)
ORDER BY session_activity.view_date DESC
Run Time: 0.003605
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1609 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |