Query Metrics

76 Database Queries
36 Different statements
10.97 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.23 ms
(20.33%)
19
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
0.73 ms
(6.62%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/de/shop/Fahrzeuge/"
  "Gewerbefahrzeuge~c556"
]
0.63 ms
(5.78%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CA"
]
0.54 ms
(4.96%)
2
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:
[
  "/de/shop/Fahrzeuge/Gewerbefahrzeuge~c556"
  "path"
  "auto_create"
  "/de/shop/Fahrzeuge/Gewerbefahrzeuge~c556"
  "path_query"
  "https://pimcore.aue-ec-dev03.de/de/shop/Fahrzeuge/Gewerbefahrzeuge~c556"
  "entire_uri"
]
0.50 ms
(4.54%)
1
SELECT TRIM(`parentCategoryIds`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' GROUP BY TRIM(`parentCategoryIds`)
Parameters:
[]
0.49 ms
(4.44%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' AND (parentCategoryIds LIKE '%,556,%') LIMIT 22
Parameters:
[]
0.48 ms
(4.37%)
4
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  235
]
0.41 ms
(3.77%)
1
SELECT TRIM(`color`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' AND (parentCategoryIds LIKE '%,556,%') GROUP BY TRIM(`color`)
Parameters:
[]
0.39 ms
(3.54%)
1
SELECT TRIM(`length`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND `type` = 'variant' AND (parentCategoryIds LIKE '%,556,%') GROUP BY TRIM(`length`)
Parameters:
[]
0.38 ms
(3.46%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/de/shop/Fahrzeuge/Gewerbefahrzeuge~c556"
]
0.35 ms
(3.23%)
3
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  186
]
0.34 ms
(3.08%)
3
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  186
]
0.32 ms
(2.92%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  136
  136
]
0.26 ms
(2.34%)
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.22 ms
(1.97%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  3
  136
  136
]
0.17 ms
(1.57%)
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:
[
  556
]
0.17 ms
(1.52%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.16 ms
(1.46%)
1
SELECT * FROM object_relations_CA WHERE src_id = ?
Parameters:
[
  556
]
0.15 ms
(1.40%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  170
]
0.15 ms
(1.37%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  136
]
0.15 ms
(1.37%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '236'
Parameters:
[]
0.15 ms
(1.35%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '235'
Parameters:
[]
0.14 ms
(1.28%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.14 ms
(1.27%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '238'
Parameters:
[]
0.14 ms
(1.26%)
1
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Product Data/Accessories/lights/head lights/"
  "citroen-2cv-head lights"
]
0.13 ms
(1.22%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.12 ms
(1.13%)
1
SELECT * FROM object_relations_EF_FD WHERE src_id = ?
Parameters:
[
  761
]
0.12 ms
(1.08%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.11 ms
(1.04%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.11 ms
(1.02%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.10 ms
(0.92%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.10 ms
(0.91%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.10 ms
(0.90%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.10 ms
(0.89%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.10 ms
(0.87%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.09 ms
(0.84%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore doctrine.orm.pimcore_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.