Query Metrics

80 Database Queries
28 Different statements
27.96 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
5.16 ms
(18.45%)
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:
[
  1778022203
  "document_1\x01tags\x01"
  "asset_337\x01tags\x01"
  "asset_3\x01tags\x01"
  "asset_319\x01tags\x01"
  "asset_361\x01tags\x01"
  "asset_320\x01tags\x01"
  "asset_318\x01tags\x01"
  "asset_321\x01tags\x01"
  "asset_224\x01tags\x01"
  "asset_35\x01tags\x01"
  "asset_211\x01tags\x01"
  "asset_90\x01tags\x01"
  "asset_58\x01tags\x01"
  "asset_180\x01tags\x01"
  "asset_124\x01tags\x01"
  "asset_164\x01tags\x01"
  "asset_81\x01tags\x01"
]
4.82 ms
(17.22%)
18
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:
[
  1778022203
  "site_domain_22957d0b16e8bf831178cb33a37be42e"
]
2.04 ms
(7.31%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.77 ms
(6.32%)
6
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
1.75 ms
(6.24%)
8
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:
[
  1778022203
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.66 ms
(5.95%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "971034106f68c1312b327d2ef4f809b32a2efe0ef08c0f8b3ebc699ef54ee105"
  "D8g7hNtiTxTLhIW7is835mnSUJaCHmTI1x/bnOznNio="
]
1.65 ms
(5.90%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "971034106f68c1312b327d2ef4f809b32a2efe0ef08c0f8b3ebc699ef54ee105"
  "D8g7hNtiTxTLhIW7is835mnSUJaCHmTI1x/bnOznNio="
]
1.32 ms
(4.71%)
7
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Materialstamm/Images/172-6109/1410/image-thumb__1410__grid/"
  "172-6109shitakex123.133b09c1.jpg"
]
1.05 ms
(3.75%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "971034106f68c1312b327d2ef4f809b32a2efe0ef08c0f8b3ebc699ef54ee105"
  "D8g7hNtiTxTLhIW7is835mnSUJaCHmTI1x/bnOznNio="
]
1.04 ms
(3.71%)
6
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Materialstamm/Images/172-6109/1410/image-thumb__1410__grid/172-6109shitakex123.133b09c1.jpg"
]
0.96 ms
(3.43%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  1410
]
0.73 ms
(2.59%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.64 ms
(2.30%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  1410
]
0.50 ms
(1.80%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.33 ms
(1.19%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "EF_OSTC"
]
0.32 ms
(1.13%)
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 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/Materialstamm/Images/172-6109/1410/image-thumb__1410__grid/172-6109shitakex123.133b09c1.jpg"
  "path"
  "auto_create"
  "/Materialstamm/Images/172-6109/1410/image-thumb__1410__grid/172-6109shitakex123.133b09c1.jpg"
  "path_query"
  "http://staging.arus.commerce-dev.de/Materialstamm/Images/172-6109/1410/image-thumb__1410__grid/172-6109shitakex123.133b09c1.jpg"
  "entire_uri"
]
0.31 ms
(1.11%)
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
(0.79%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.21 ms
(0.75%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.19 ms
(0.67%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.19 ms
(0.67%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP(NOW(6)) + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP(NOW(6)))
Parameters:
[
  300.0
  "D8g7hNtiTxTLhIW7is835mnSUJaCHmTI1x/bnOznNio="
  "971034106f68c1312b327d2ef4f809b32a2efe0ef08c0f8b3ebc699ef54ee105"
  "D8g7hNtiTxTLhIW7is835mnSUJaCHmTI1x/bnOznNio="
]
0.17 ms
(0.61%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.16 ms
(0.58%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.16 ms
(0.58%)
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:
[
  1778022203
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.16 ms
(0.57%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.16 ms
(0.57%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.15 ms
(0.55%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.15 ms
(0.53%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
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.

Managed Entities

pimcore entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.