Redirect 302 redirect from GET @add-to-cart (d4e94a)

GET https://shop.bsz-stiftung.a4interactive.ch/cart

Query Metrics

370 Database Queries
44 Different statements
114.80 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
61.05 ms
(53.18%)
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
]
10.01 ms
(8.72%)
69
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:
[
  1760868770
  "site_domain_5bf78f8413264a3d609636c85ff8920c"
]
8.06 ms
(7.02%)
16
SELECT COUNT(*) FROM object_localized_9_de WHERE (shortName LIKE ? AND  object_localized_9_de.type IN ('object','variant','folder')) AND object_localized_9_de.published = 1
Parameters:
[
  "CH"
]
7.86 ms
(6.85%)
54
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:
[
  1760868770
  "system\x01tags\x01"
  "site\x01tags\x01"
]
5.99 ms
(5.21%)
13
SELECT object_localized_9_de.id as id, object_localized_9_de.type as `type` FROM object_localized_9_de WHERE (shortName LIKE ? AND  object_localized_9_de.type IN ('object','variant','folder')) AND object_localized_9_de.published = 1
Parameters:
[
  "CH"
]
3.55 ms
(3.09%)
11
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.52 ms
(3.06%)
15
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.37 ms
(2.06%)
16
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/shop/konfiguration/laender/"
  "schweiz"
]
1.76 ms
(1.54%)
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
]
1.11 ms
(0.96%)
2
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
]
0.74 ms
(0.65%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "7"
]
0.71 ms
(0.62%)
2
SELECT object_27.id as id, object_27.type as `type` FROM object_27 WHERE (country__id LIKE ? AND product__id LIKE ? AND  object_27.type IN ('object','variant','folder')) AND object_27.published = 1
Parameters:
[
  15
  838
]
0.69 ms
(0.60%)
2
SELECT COUNT(*) FROM object_27 WHERE (country__id LIKE ? AND product__id LIKE ? AND  object_27.type IN ('object','variant','folder')) AND object_27.published = 1
Parameters:
[
  15
  838
]
0.64 ms
(0.56%)
1
SELECT object_EF_OSO.id as id, object_EF_OSO.type as `type` FROM object_EF_OSO WHERE (cartId = ? AND IFNULL(successorOrder__id , "") = "" AND  object_EF_OSO.type IN ('object','variant','folder')) AND object_EF_OSO.published = 1
Parameters:
[
  "Pimcore\Bundle\EcommerceFrameworkBundle\CartManager\SessionCart_sesscart_68f4b9a1723c4"
]
0.50 ms
(0.44%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4343
]
0.46 ms
(0.40%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4343
]
0.46 ms
(0.40%)
3
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:
[
  1760868770
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.39 ms
(0.34%)
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:
[
  1760868770
  "object_838\x01tags\x01"
  "class_7\x01tags\x01"
  "asset_4343\x01tags\x01"
  "asset_4368\x01tags\x01"
]
0.38 ms
(0.33%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/shop/"
  "cart"
]
0.33 ms
(0.28%)
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:
[
  "/cart"
  "path"
  "auto_create"
  "/cart"
  "path_query"
  "https://shop.bsz-stiftung.a4interactive.ch/cart"
  "entire_uri"
]
0.27 ms
(0.24%)
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:
[
  1760868770
  "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.27 ms
(0.23%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.27 ms
(0.23%)
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
]
0.26 ms
(0.22%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.23 ms
(0.20%)
1
SELECT * FROM object_metadata_9 WHERE object_metadata_9.id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND (`type` = 'object' or `type` = '')
Parameters:
[
  15
  865
  "shippingValuesSpecialProducts"
  "object"
  ""
  "0"
  1
]
0.22 ms
(0.19%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  12
]
0.22 ms
(0.19%)
1
SELECT * FROM object_relations_7 WHERE src_id = ?
Parameters:
[
  838
]
0.20 ms
(0.18%)
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:
[
  1760868771
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_14\x01tags\x01"
  "document_15\x01tags\x01"
  "document_16\x01tags\x01"
]
0.20 ms
(0.18%)
1
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/%"
  "/cart"
]
0.19 ms
(0.16%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.17 ms
(0.15%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.16 ms
(0.14%)
1
SELECT * FROM object_relations_9 WHERE src_id = ?
Parameters:
[
  15
]
0.15 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.14 ms
(0.12%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='15'
Parameters:
[]
0.14 ms
(0.12%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='16'
Parameters:
[]
0.14 ms
(0.12%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/shop/cart"
]
0.13 ms
(0.12%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='14'
Parameters:
[]
0.13 ms
(0.12%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='17'
Parameters:
[]
0.13 ms
(0.11%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='18'
Parameters:
[]
0.13 ms
(0.11%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='13'
Parameters:
[]
0.13 ms
(0.11%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.12 ms
(0.11%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='19'
Parameters:
[]
0.12 ms
(0.11%)
1
SELECT id FROM objects WHERE published=1 AND id IN (865);
Parameters:
[]
0.12 ms
(0.10%)
1
SELECT id FROM objects WHERE id IN (865)
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.