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

Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
26.99 ms
(76.60%)
2
DELETE FROM ecommerceframework_cartitem WHERE cartId = ?
Parameters:
[
  "64"
]
1.62 ms
(4.58%)
1
INSERT INTO ecommerceframework_cart () VALUES ()
Parameters:
[]
1.60 ms
(4.53%)
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:
[
  1789897847
  "site_domain_3b26d1f36d575333a9f87db3f8d8ab80"
]
1.30 ms
(3.69%)
2
UPDATE ecommerceframework_cart SET name = ?, userid = ?, creationDateTimestamp = ?, modificationDateTimestamp = ? WHERE id = ?
Parameters:
[
  "default"
  -783210178
  1789897847
  null
  "64"
]
0.64 ms
(1.82%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/api/checkout/cart/"
  "default"
]
0.51 ms
(1.46%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/api/checkout/cart/default"
]
0.39 ms
(1.10%)
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:
[
  1789897847
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.29 ms
(0.83%)
3
SELECT `id`, `name` FROM classes WHERE id = ?
Parameters:
[
  "CM_CU"
]
0.25 ms
(0.71%)
1
SELECT cartid, itemKey, parentItemKey FROM ecommerceframework_cartitem WHERE cartId = '' AND parentItemKey = ''  ORDER BY `sortIndex` ASC, `addedDateTimestamp` ASC
Parameters:
[]
0.24 ms
(0.69%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.22 ms
(0.63%)
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.20 ms
(0.56%)
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.16 ms
(0.47%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  1
]
0.14 ms
(0.41%)
1
SELECT id FROM ecommerceframework_cart WHERE userid = ?
Parameters:
[
  -783210178
]
0.14 ms
(0.39%)
2
DELETE FROM ecommerceframework_cartcheckoutdata WHERE cartId = ?
Parameters:
[
  "64"
]
0.13 ms
(0.37%)
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:
[
  1789897847
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.11 ms
(0.32%)
1
SELECT * FROM oc_ecommerce_session WHERE session_id = ?
Parameters:
[
  "session_6aafac7765653"
]
0.11 ms
(0.32%)
1
SELECT id FROM ecommerceframework_cart WHERE userid = -783210178
Parameters:
[]
0.10 ms
(0.29%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.08 ms
(0.23%)
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.