GET https://apimga.mysportapp.ch/en/shop/Products/Cars/Luxury-Cars/BMW-335~p316

Query Metrics

138 Database Queries
40 Different statements
36.94 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
11.67 ms
(31.59%)
45
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1792178084
  "site_domain_08c9285288c95f34da193e1771efe8f1"
]
4.72 ms
(12.77%)
19
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?)
Parameters:
[
  1792178084
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.87 ms
(5.07%)
8
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.66 ms
(4.50%)
2
SELECT COUNT(*) FROM object_localized_AP_en WHERE (compatibleTo LIKE "%,316,%" OR compatibleTo LIKE "%,314,%" OR compatibleTo LIKE "%,313,%" AND  object_localized_AP_en.type IN ('object','variant','folder')) AND object_localized_AP_en.published = 1
Parameters:
[]
1.45 ms
(3.92%)
2
SELECT object_localized_AP_en.id as id, object_localized_AP_en.type as `type` FROM object_localized_AP_en WHERE (compatibleTo LIKE "%,316,%" OR compatibleTo LIKE "%,314,%" OR compatibleTo LIKE "%,313,%" AND  object_localized_AP_en.type IN ('object','variant','folder')) AND object_localized_AP_en.published = 1
Parameters:
[]
1.43 ms
(3.87%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/shop/Products/Cars/Luxury-Cars/"
  "BMW-335~p316"
]
1.14 ms
(3.08%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/shop/Products/Cars/Luxury-Cars/BMW-335~p316"
]
1.02 ms
(2.76%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
0.87 ms
(2.36%)
3
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  316
]
0.71 ms
(1.91%)
3
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  316
]
0.65 ms
(1.76%)
3
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  316
]
0.61 ms
(1.66%)
2
SELECT * FROM object_localized_data_CAR WHERE ooo_id = ? AND language IN ('de','en','fr','es','it')
Parameters:
[
  316
]
0.51 ms
(1.39%)
2
SELECT * FROM object_brick_store_SaleInformation_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  316
  "saleInformation"
]
0.50 ms
(1.36%)
2
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?)
Parameters:
[
  1792178084
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.48 ms
(1.29%)
2
SELECT * FROM object_brick_store_Dimensions_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  316
  "attributes"
]
0.47 ms
(1.28%)
2
SELECT * FROM object_store_CAR WHERE oo_id = ?
Parameters:
[
  316
]
0.47 ms
(1.27%)
1
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "defaultTaxClass"
  null
  null
]
0.45 ms
(1.22%)
2
SELECT * FROM object_brick_store_Transmission_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  316
  "attributes"
]
0.43 ms
(1.17%)
2
SELECT * FROM object_brick_store_Engine_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  316
  "attributes"
]
0.43 ms
(1.16%)
2
SELECT * FROM object_brick_store_Bodywork_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  316
  "attributes"
]
0.43 ms
(1.16%)
1
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/en/shop/Products/Cars/Luxury-Cars/BMW-335~p316"
  "path"
  "auto_create"
  "/en/shop/Products/Cars/Luxury-Cars/BMW-335~p316"
  "path_query"
  "https://apimga.mysportapp.ch/en/shop/Products/Cars/Luxury-Cars/BMW-335~p316"
  "entire_uri"
]
0.42 ms
(1.14%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.39 ms
(1.05%)
1
SELECT objects.id as id, objects.type as `type` FROM objects WHERE (parentId = ? AND  objects.type IN ('object','variant','folder')) AND objects.published = 1 ORDER BY `key` ASC
Parameters:
[
  314
]
0.31 ms
(0.83%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.30 ms
(0.82%)
1
SELECT * FROM object_localized_data_BS WHERE ooo_id = ? AND language IN ('de','en','fr','es','it')
Parameters:
[
  315
]
0.29 ms
(0.80%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '419'
Parameters:
[]
0.27 ms
(0.74%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '316'
Parameters:
[]
0.27 ms
(0.73%)
1
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  254
]
0.26 ms
(0.70%)
1
SELECT * FROM object_relations_AP WHERE src_id = ?
Parameters:
[
  419
]
0.25 ms
(0.69%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.25 ms
(0.69%)
1
SELECT * FROM object_relations_BS WHERE src_id = ?
Parameters:
[
  315
]
0.25 ms
(0.67%)
1
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Product Data/Accessories/lights/head lights/"
  "citroen-2cv-head lights"
]
0.23 ms
(0.61%)
1
SELECT * FROM object_store_BS WHERE oo_id = ?
Parameters:
[
  315
]
0.23 ms
(0.61%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.22 ms
(0.60%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.21 ms
(0.57%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.21 ms
(0.57%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.21 ms
(0.56%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.20 ms
(0.54%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.20 ms
(0.53%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No mapped entities.