GET https://tst-oli-01-pimcore.pimcore.dna.ax/api/checkout/cart/default

Query Metrics

46 Database Queries
20 Different statements
13.15 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
5.60 ms
(42.55%)
1
INSERT INTO ecommerceframework_cart () VALUES ()
Parameters:
[]
1.51 ms
(11.47%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/api/checkout/cart/"
  "default"
]
1.49 ms
(11.32%)
12
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:
[
  1789898606
  "site_domain_3b26d1f36d575333a9f87db3f8d8ab80"
]
1.28 ms
(9.76%)
2
UPDATE ecommerceframework_cart SET name = ?, userid = ?, creationDateTimestamp = ?, modificationDateTimestamp = ? WHERE id = ?
Parameters:
[
  "default"
  -457536958
  1789898606
  null
  "66"
]
0.60 ms
(4.53%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/api/checkout/cart/default"
]
0.40 ms
(3.07%)
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:
[
  1789898606
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.28 ms
(2.11%)
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 OR sourceSite = 0) AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/api/checkout/cart/default"
  "path"
  "auto_create"
  "/api/checkout/cart/default"
  "path_query"
  "https://tst-oli-01-pimcore.pimcore.dna.ax/api/checkout/cart/default"
  "entire_uri"
]
0.27 ms
(2.05%)
3
SELECT `id`, `name` FROM classes WHERE id = ?
Parameters:
[
  "CM_CU"
]
0.23 ms
(1.72%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.19 ms
(1.41%)
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.18 ms
(1.38%)
1
SELECT id FROM ecommerceframework_cart WHERE userid = ?
Parameters:
[
  -457536958
]
0.16 ms
(1.22%)
2
DELETE FROM ecommerceframework_cartitem WHERE cartId = ?
Parameters:
[
  "66"
]
0.15 ms
(1.11%)
1
SELECT cartid, itemKey, parentItemKey FROM ecommerceframework_cartitem WHERE cartId = '' AND parentItemKey = ''  ORDER BY `sortIndex` ASC, `addedDateTimestamp` ASC
Parameters:
[]
0.14 ms
(1.09%)
2
DELETE FROM ecommerceframework_cartcheckoutdata WHERE cartId = ?
Parameters:
[
  "66"
]
0.14 ms
(1.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  1
]
0.13 ms
(0.98%)
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:
[
  1789898606
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.11 ms
(0.86%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.11 ms
(0.83%)
1
SELECT id FROM ecommerceframework_cart WHERE userid = -457536958
Parameters:
[]
0.10 ms
(0.78%)
1
SELECT * FROM oc_ecommerce_session WHERE session_id = ?
Parameters:
[
  "session_6aafaf6ed8462"
]
0.10 ms
(0.73%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  10
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
pimcore_generic_data_index doctrine.orm.pimcore_generic_data_index_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects

pimcore_generic_data_index entity manager

Class Amount of managed objects

Entities Mapping

default entity manager

No loaded entities.

pimcore_generic_data_index entity manager

No loaded entities.