GET https://apimga.mysportapp.ch/en/shop/Products/Cars/Sports-Cars/Aston-Martin-DB5~p247

Query Metrics

171 Database Queries
40 Different statements
43.95 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
13.81 ms
(31.41%)
56
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:
[
  1792177944
  "site_domain_08c9285288c95f34da193e1771efe8f1"
]
6.42 ms
(14.62%)
26
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:
[
  1792177944
  "system\x01tags\x01"
  "site\x01tags\x01"
]
4.55 ms
(10.36%)
20
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.79 ms
(4.07%)
2
SELECT object_localized_AP_en.id as id, object_localized_AP_en.type as `type` FROM object_localized_AP_en WHERE (compatibleTo LIKE "%,247,%" OR compatibleTo LIKE "%,246,%" OR compatibleTo LIKE "%,242,%" AND  object_localized_AP_en.type IN ('object','variant','folder')) AND object_localized_AP_en.published = 1
Parameters:
[]
1.51 ms
(3.44%)
2
SELECT COUNT(*) FROM object_localized_AP_en WHERE (compatibleTo LIKE "%,247,%" OR compatibleTo LIKE "%,246,%" OR compatibleTo LIKE "%,242,%" AND  object_localized_AP_en.type IN ('object','variant','folder')) AND object_localized_AP_en.published = 1
Parameters:
[]
1.28 ms
(2.90%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/shop/Products/Cars/Sports-Cars/"
  "Aston-Martin-DB5~p247"
]
1.07 ms
(2.44%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
1.06 ms
(2.42%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/shop/Products/Cars/Sports-Cars/Aston-Martin-DB5~p247"
]
1.03 ms
(2.35%)
4
SELECT * FROM object_relations_AP WHERE src_id = ?
Parameters:
[
  400
]
0.81 ms
(1.85%)
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:
[
  247
]
0.72 ms
(1.63%)
3
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  247
]
0.65 ms
(1.49%)
3
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  247
]
0.65 ms
(1.48%)
2
SELECT * FROM object_localized_data_CAR WHERE ooo_id = ? AND language IN ('de','en','fr','es','it')
Parameters:
[
  247
]
0.51 ms
(1.17%)
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:
[
  1792177944
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.51 ms
(1.15%)
2
SELECT * FROM object_brick_store_Dimensions_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  247
  "attributes"
]
0.50 ms
(1.14%)
2
SELECT * FROM object_brick_store_Bodywork_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  247
  "attributes"
]
0.46 ms
(1.04%)
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/Sports-Cars/Aston-Martin-DB5~p247"
  "path"
  "auto_create"
  "/en/shop/Products/Cars/Sports-Cars/Aston-Martin-DB5~p247"
  "path_query"
  "https://apimga.mysportapp.ch/en/shop/Products/Cars/Sports-Cars/Aston-Martin-DB5~p247"
  "entire_uri"
]
0.45 ms
(1.03%)
2
SELECT * FROM object_brick_store_Transmission_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  247
  "attributes"
]
0.45 ms
(1.02%)
2
SELECT * FROM object_brick_store_SaleInformation_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  247
  "saleInformation"
]
0.45 ms
(1.01%)
2
SELECT * FROM object_brick_store_Engine_CAR WHERE id = ? AND fieldname = ?
Parameters:
[
  247
  "attributes"
]
0.44 ms
(1.01%)
2
SELECT * FROM object_store_CAR WHERE oo_id = ?
Parameters:
[
  247
]
0.41 ms
(0.94%)
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.37 ms
(0.84%)
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:
[
  246
]
0.30 ms
(0.68%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '247'
Parameters:
[]
0.28 ms
(0.64%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '400'
Parameters:
[]
0.28 ms
(0.63%)
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:
[
  195
]
0.27 ms
(0.61%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.26 ms
(0.58%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '401'
Parameters:
[]
0.26 ms
(0.58%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '402'
Parameters:
[]
0.25 ms
(0.58%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '403'
Parameters:
[]
0.25 ms
(0.56%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.24 ms
(0.54%)
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.51%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.22 ms
(0.51%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.21 ms
(0.48%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.21 ms
(0.47%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.21 ms
(0.47%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.20 ms
(0.46%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.20 ms
(0.46%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.20 ms
(0.45%)
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.