Query Metrics

235 Database Queries
33 Different statements
83.94 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
22.65 ms
(26.99%)
27
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1765048740
  "object_187"
]
17.96 ms
(21.40%)
74
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:
[
  1765048740
  "site_domain_1c72d1e1de99c3297a997d3fecaa5b48"
]
7.09 ms
(8.45%)
24
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  99
]
3.59 ms
(4.28%)
17
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  273
]
3.10 ms
(3.70%)
12
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  187
]
2.66 ms
(3.17%)
1
SELECT object_1.id as id, object_1.type as `type` FROM object_1 WHERE (category LIKE ? AND  object_1.type IN ('object','variant','folder')) AND object_1.published = 1 ORDER BY `date` DESC
Parameters:
[
  "aboutUs"
]
2.16 ms
(2.57%)
6
SELECT * FROM object_store_1 WHERE oo_id = ?
Parameters:
[
  187
]
2.15 ms
(2.56%)
12
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  187
]
1.92 ms
(2.29%)
2
SELECT object_3.id as id, object_3.type as `type` FROM object_3 WHERE (category LIKE ? AND  object_3.type IN ('object','variant','folder')) AND object_3.published = 1
Parameters:
[
  "openVacancy"
]
1.88 ms
(2.24%)
10
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  138
]
1.77 ms
(2.11%)
6
SELECT * FROM object_relations_1 WHERE src_id = ?
Parameters:
[
  187
]
1.62 ms
(1.92%)
4
SELECT * FROM object_relations_3 WHERE src_id = ?
Parameters:
[
  50
]
1.27 ms
(1.52%)
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:
[
  1765048740
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.26 ms
(1.50%)
2
SELECT * FROM object_relations_4 WHERE src_id = ?
Parameters:
[
  34
]
1.22 ms
(1.45%)
4
SELECT * FROM object_store_3 WHERE oo_id = ?
Parameters:
[
  50
]
1.12 ms
(1.34%)
4
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  202
]
1.04 ms
(1.24%)
1
SELECT object_4.id as id, object_4.type as `type` FROM object_4 WHERE ( object_4.type IN ('object','variant','folder')) AND object_4.published = 1 ORDER BY `sort` ASC
Parameters:
[]
0.99 ms
(1.18%)
2
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:
[
  "/ueber-uns"
  "path"
  "auto_create"
  "/ueber-uns"
  "path_query"
  "https://pluspunkt-update.a4interactive.ch/ueber-uns"
  "entire_uri"
]
0.97 ms
(1.15%)
2
SELECT * FROM object_store_4 WHERE oo_id = ?
Parameters:
[
  34
]
0.94 ms
(1.12%)
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:
[
  1765048740
  "object_196\x01tags\x01"
  "class_1\x01tags\x01"
  "document_6\x01tags\x01"
  "asset_202\x01tags\x01"
]
0.90 ms
(1.07%)
3
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "1"
]
0.76 ms
(0.91%)
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:
[
  "refline"
  null
  null
]
0.69 ms
(0.82%)
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:
[
  1765048740
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.66 ms
(0.79%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  8
]
0.62 ms
(0.74%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.61 ms
(0.73%)
1
SELECT assets.id, assets.type FROM assets WHERE parentId = ? ORDER BY `filename` ASC
Parameters:
[
  99
]
0.44 ms
(0.52%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  "ueber-uns"
]
0.41 ms
(0.49%)
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:
[
  1765048740
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_5\x01tags\x01"
  "document_6\x01tags\x01"
  "document_7\x01tags\x01"
  "document_8\x01tags\x01"
  "document_17\x01tags\x01"
  "document_18\x01tags\x01"
  "document_19\x01tags\x01"
  "document_11\x01tags\x01"
  "document_21\x01tags\x01"
  "document_3\x01tags\x01"
  "document_4\x01tags\x01"
  "document_2\x01tags\x01"
  "document_9\x01tags\x01"
  "document_14\x01tags\x01"
  "document_20\x01tags\x01"
]
0.36 ms
(0.43%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  34
]
0.35 ms
(0.42%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.27 ms
(0.32%)
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:
[
  1765048740
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "document_3\x01tags\x01"
  "document_4\x01tags\x01"
]
0.26 ms
(0.32%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.23 ms
(0.27%)
1
SELECT * FROM object_url_slugs WHERE slug = '/ueber-uns' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
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.

Entities Mapping

No loaded entities.