Query Metrics

314 Database Queries
29 Different statements
127.78 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
70.61 ms
(55.26%)
121
SELECT r.src_id as dest_id, r.src_id as id, r.type, o.className as subtype, o.published as published, concat(o.path ,o.key) as `path` , r.index
            FROM objects o, object_relations_7 r
            WHERE r.fieldname= ?
            AND r.ownertype = 'object'
            AND r.dest_id = ?
            AND o.id = r.src_id
            AND r.type='object'

            UNION SELECT r.src_id as dest_id, r.src_id as id, r.type,  a.type as subtype, "null" as published, concat(a.path,a.filename) as `path`, r.index
            FROM assets a, object_relations_7 r
            WHERE r.fieldname= ?
            AND r.ownertype = 'object'
            AND r.dest_id = ?
            AND a.id = r.src_id
            AND r.type='asset'

            UNION SELECT r.src_id as dest_id, r.src_id as id, r.type, d.type as subtype, d.published as published, concat(d.path,d.key) as `path`, r.index
            FROM documents d, object_relations_7 r
            WHERE r.fieldname= ?
            AND r.ownertype = 'object'
            AND r.dest_id = ?
            AND d.id = r.src_id
            AND r.type='document'

            ORDER BY `index` ASC
Parameters:
[
  "categories"
  40
  "categories"
  40
  "categories"
  40
]
16.84 ms
(13.18%)
72
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:
[
  1760800316
  "site_domain_5bf78f8413264a3d609636c85ff8920c"
]
10.18 ms
(7.97%)
50
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:
[
  1760800316
  "system\x01tags\x01"
  "site\x01tags\x01"
]
4.42 ms
(3.46%)
10
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:
[
  "/_fragment"
  "path"
  "auto_create"
  "/_fragment?_path=_format=html&_locale=de&_controller=App%5CController%5CFavouriteController%3A%3AfavouritesCounterAction"
  "path_query"
  "https://shop.bsz-stiftung.a4interactive.ch/_fragment?_path=_format=html&_locale=de&_controller=App%5CController%5CFavouriteController%3A%3AfavouritesCounterAction"
  "entire_uri"
]
3.40 ms
(2.66%)
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 `index` ASC
Parameters:
[
  18
]
3.21 ms
(2.51%)
12
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.40 ms
(1.88%)
8
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:
[
  40
]
2.01 ms
(1.57%)
1
SELECT SQL_CALC_FOUND_ROWS a.id, priceSystemName FROM shop_productindex a WHERE active = 1 AND virtualProductActive = 1 AND inProductList = 1 AND (parentCategoryIds LIKE '%,604,%') LIMIT 12
Parameters:
[]
1.87 ms
(1.46%)
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:
[
  1760800316
  "object_605\x01tags\x01"
  "class_7\x01tags\x01"
  "asset_3882\x01tags\x01"
  "asset_3883\x01tags\x01"
]
1.72 ms
(1.35%)
4
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:
[
  1760800316
  "object_784\x01tags\x01"
  "class_7\x01tags\x01"
  "asset_1940\x01tags\x01"
  "asset_1941\x01tags\x01"
  "asset_1942\x01tags\x01"
]
1.56 ms
(1.22%)
3
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:
[
  "defaultShopConfig"
  null
  null
]
1.00 ms
(0.79%)
1
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:
[
  1760800316
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "document_76\x01tags\x01"
  "object_14\x01tags\x01"
  "object_15\x01tags\x01"
  "object_18\x01tags\x01"
  "document_8\x01tags\x01"
  "asset_3602\x01tags\x01"
  "document_46\x01tags\x01"
  "asset_4914\x01tags\x01"
  "asset_3607\x01tags\x01"
  "asset_2806\x01tags\x01"
  "asset_4913\x01tags\x01"
  "document_52\x01tags\x01"
  "object_2271\x01tags\x01"
  "document_75\x01tags\x01"
  "object_4004\x01tags\x01"
]
0.80 ms
(0.62%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "8"
]
0.77 ms
(0.60%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/shop/produkte/geburtsgeschenke_mc602/"
  "spielen_sc604"
]
0.73 ms
(0.57%)
1
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:
[
  1760800316
  "object_852\x01tags\x01"
  "class_7\x01tags\x01"
  "asset_2171\x01tags\x01"
  "asset_2172\x01tags\x01"
  "asset_2173\x01tags\x01"
  "asset_2174\x01tags\x01"
  "asset_2175\x01tags\x01"
  "asset_2176\x01tags\x01"
  "asset_2177\x01tags\x01"
  "asset_2178\x01tags\x01"
]
0.72 ms
(0.56%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  8
]
0.67 ms
(0.53%)
1
SELECT * FROM object_relations_8 WHERE src_id = ?
Parameters:
[
  604
]
0.63 ms
(0.49%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.61 ms
(0.48%)
1
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:
[
  1760800316
  "object_892\x01tags\x01"
  "class_7\x01tags\x01"
  "asset_2289\x01tags\x01"
  "asset_2290\x01tags\x01"
  "asset_2291\x01tags\x01"
  "asset_2292\x01tags\x01"
]
0.60 ms
(0.47%)
1
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:
[
  1760800316
  "object_844\x01tags\x01"
  "class_7\x01tags\x01"
  "asset_2132\x01tags\x01"
  "asset_2133\x01tags\x01"
  "asset_2134\x01tags\x01"
  "asset_2135\x01tags\x01"
  "asset_2136\x01tags\x01"
  "asset_2137\x01tags\x01"
  "asset_2138\x01tags\x01"
]
0.52 ms
(0.41%)
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:
[
  1760800316
  "object_859\x01tags\x01"
  "class_7\x01tags\x01"
  "asset_2199\x01tags\x01"
  "asset_2200\x01tags\x01"
  "asset_2201\x01tags\x01"
  "asset_2202\x01tags\x01"
  "asset_2203\x01tags\x01"
]
0.41 ms
(0.32%)
3
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.40 ms
(0.32%)
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 = 3 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/produkte/geburtsgeschenke_mc602/spielen_sc604"
  "path"
  "auto_create"
  "/produkte/geburtsgeschenke_mc602/spielen_sc604"
  "path_query"
  "https://shop.bsz-stiftung.a4interactive.ch/produkte/geburtsgeschenke_mc602/spielen_sc604"
  "entire_uri"
]
0.39 ms
(0.31%)
2
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/shop/kategorien/"
  "hauptkategorie"
]
0.39 ms
(0.30%)
2
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/shop/%"
  "/produkte/geburtsgeschenke_mc602/spielen_sc604"
]
0.37 ms
(0.29%)
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:
[
  1760800316
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.29 ms
(0.23%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/shop/produkte/geburtsgeschenke_mc602/spielen_sc604"
]
0.21 ms
(0.16%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.07 ms
(0.06%)
1
SELECT FOUND_ROWS()
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.