SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000205
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 = 'yamaha nouvo sx')
Run Time: 0.000522
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 *
FROM xf_search
WHERE search_id = ?
Params: 45795518
Run Time: 0.000320
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id = ?
Params: 43
Run Time: 0.000489
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 | |
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.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 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 (9582888, 9574426, 9564310, 9552167, 9534936, 9480517, 9468600, 9409690, 9403673, 9399756, 9399721, 9347751, 9338029, 9336778, 9331144, 9328870, 9328000, 9324053, 9322087, 9319746, 9318316, 9291116, 9291115, 9288400, 9287541, 9242837, 9241692, 9240498, 9240497, 9224998, 9224782, 9221052, 9212914, 9207419, 9204090, 9201334, 9177119, 9169433, 9167736, 9163827, 9162650, 9162284, 9134857, 9133383, 9123816, 9114573, 9112255, 9105843, 9105611, 9098529, 9098511, 9094531, 9094528, 9091533, 9085217, 9079539, 9077789, 9075544, 9070044, 9069798, 9069797, 9069796, 9047458, 9041640, 9039584, 9039583, 9032461, 9013913, 9011658, 9005356, 8996808, 8989611, 8986780, 8984394, 8983037, 8977166, 8976179, 8976001, 8974591, 8971547, 8968545, 8962983, 8961653, 8959101, 8956382, 8956381, 8956002, 8954420, 8946904, 8946816, 8946324, 8944186, 8943129, 8942923, 8942780, 8941059, 8931380, 8930536, 8929362, 8927723, 8927722, 8927681, 8927115, 8925390, 8925009, 8924355, 8924326, 8923962, 8923808, 8913363, 8911227, 8909926, 8907788, 8905110, 8901485, 8897341, 8897230, 8894490, 8893073, 8891382, 8890516, 8885309, 8885031, 8885030, 8885029, 8883576, 8883284, 8883029, 8882412, 8880574, 8878996, 8878241, 8876047, 8876046, 8876045, 8874360, 8874359, 8874306, 8869505, 8869503, 8866661, 8866572, 8864588, 8864346, 8864042, 8861998, 8860678, 8860302, 8858547, 8858496, 8857720, 8856674, 8855523, 8855150, 8855148, 8855147, 8853238, 8852967, 8852819, 8852796, 8852561, 8852330, 8851785, 8851303, 8851073, 8850365, 8848836, 8847454, 8847392, 8847292, 8846733, 8846652, 8846030, 8846002, 8844983, 8840128, 8840116, 8837881, 8837807, 8837088, 8833776, 8833091, 8831973, 8831345, 8831293, 8831291, 8830922, 8830274, 8826148, 8826141, 8822263, 8821939, 8821732, 8820576, 8820464, 8819967, 8819526, 8818134, 8818111, 8814287, 8812911, 8809932, 8808962, 8808960, 8808954, 8808953, 8808951, 8808950, 8806964, 8803241, 8803239, 8802110, 8800158, 8800157, 8799551, 8797942, 8797668, 8797027, 8788793, 8788503, 8787751, 8781533, 8780114, 8778458, 8778244, 8778088, 8776583, 8771236, 8771235, 8746535, 8740861, 8732799, 8731797, 8728343, 8727661, 8725367, 8725282, 8724021, 8715471, 8712289, 8712288, 8712287, 8706918, 8706464, 8706158, 8706034, 8702923, 8702543, 8701473, 8693958, 8692762, 8686918, 8686589, 8685576, 8683555, 8678438, 8677160, 8676377, 8673704, 8668755, 8666763, 8666761, 8665803, 8664322, 8662617, 8662585, 8661333, 8651392, 8651081, 8642758, 8639745, 8639391, 8634032, 8632369, 8631821, 8631820, 8631819, 8626125, 8618476, 8616551, 8610094, 8606877, 8602219, 8602218, 8602216, 8600662, 8598656, 8596332, 8594022, 8591540, 8591073, 8590992, 8586896, 8582505, 8576426, 8575880, 8567236, 8565481, 8548920, 8542581, 8541286, 8538949, 8534442, 8534376, 8534375, 8534374, 8533859, 8533858, 8531664, 8531195, 8531194, 8531190, 8521391, 8519174, 8507493, 8501253, 8497818, 8497218, 8495580, 8479485, 8457151, 8414566, 8373320, 8356132, 8350977, 8346984, 8345410, 8340707, 8338026, 8335332, 8331541, 8328812, 8309857, 8308334, 8307083, 8306454, 8304227, 8292325, 8289172, 8282012, 8280729, 8279676, 8277015, 8272373, 8262897, 8262538, 8262205, 8259371, 8258155, 8257528, 8100105, 8089136, 8040201, 7938482, 7875871, 7760258, 7725162, 7700273, 7683763, 7577366, 7467362, 7454394, 7398207, 7359394, 7356884, 7343155, 7051873, 6801312, 6513854, 6188951, 4741456)
Run Time: 0.009199
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 371 | 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 |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id = ?
Params: 43
Run Time: 0.000480
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 | |
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: [["tinhte_xentag_forum",43],["thread",9582888],["thread",9574426],["thread",9564310],["thread",9338029],["thread",9288400],["thread",9212914],["thread",9204090],["thread",9114573],["thread",9105843],["thread",9098511],["thread",9094528],["thread",9079539],["thread",8976179],["thread",8976001],["thread",8971547],["thread",8968545],["thread",8962983],["thread",8946816],["thread",8946324],["thread",8944186],["thread",8943129],["thread",8942780],["thread",8927115],["thread",8925390],["thread",8923808],["thread",8909926],["thread",8891382],["thread",8869505],["thread",8861998],["thread",8853238],["thread",8852967],["thread",8852819],["thread",8852561],["thread",8851303],["thread",8851073],["thread",8847454],["thread",8830274],["thread",8822263],["thread",8821939],["thread",8820576],["thread",8800158],["thread",8788793],["thread",8780114],["thread",8778458],["thread",8778088],["thread",8746535],["thread",8727661],["thread",8706464],["thread",8706158],["thread",8702923],["thread",8692762],["thread",8686918],["thread",8677160],["thread",8676377],["thread",8668755],["thread",8665803],["thread",8662617],["thread",8662585],["thread",8651392],["thread",8642758],["thread",8639391],["thread",8632369],["thread",8626125],["thread",8616551],["thread",8610094],["thread",8600662],["thread",8591540],["thread",8591073],["thread",8586896],["thread",8576426],["thread",8541286],["thread",8538949],["thread",8534376],["thread",8531664],["thread",8519174],["thread",8507493],["thread",8501253],["thread",8497818],["thread",8497218],["thread",8495580],["thread",8457151],["thread",8414566],["thread",8373320],["thread",8346984],["thread",8340707],["thread",8338026],["thread",8331541],["thread",8328812],["thread",8309857],["thread",8308334],["thread",8307083],["thread",8306454],["thread",8304227],["thread",8292325],["thread",8289172],["thread",8282012],["thread",8280729],["thread",8279676],["thread",8277015],["thread",8272373],["thread",8262897],["thread",8262538],["thread",8262205],["thread",8259371],["thread",8258155],["thread",8257528],["thread",8089136],["thread",8040201],["thread",7938482],["thread",7875871],["thread",7760258],["thread",7725162],["thread",7700273],["thread",7683763],["thread",7577366],["thread",7454394],["thread",7398207],["thread",7359394],["thread",7356884],["thread",7343155],["thread",6513854],["thread",6188951]], 123, tinhte_xentag_tag, , {"tags":["yamaha nouvo sx"]}, date, 0, , [], 0, 1653391788, a1efa0d6044b53bab946feaecba0069e
Run Time: 0.000575
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 (8642758, 8639391, 8632369, 8626125, 8616551, 8610094, 8600662, 8591540, 8591073, 8586896, 8576426, 8541286, 8538949, 8534376, 8531664, 8519174, 8507493, 8501253, 8497818, 8497218)
Run Time: 0.001668
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: 603930
Run Time: 0.000446
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=yamaha+nouvo+sx&page=4, 1653391788,
Run Time: 0.000505
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000251
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 > 1653390888)
ORDER BY session_activity.view_date DESC
Run Time: 0.004178
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2513 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |