Query Metrics

172 Database Queries
32 Different statements
31.75 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
10.86 ms
(34.19%)
66
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:
[
  1771051748
  "site_domain_1130d4aff1f252faaab8897dc51407a6"
]
4.94 ms
(15.55%)
31
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:
[
  1771051748
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.58 ms
(4.98%)
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:
[
  1771051748
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
1.33 ms
(4.18%)
2
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  2 => null
  3 => 1771051748
  0 => "output\x01tags\x01"
  1 => b"s:6:"Åbc¨\x1CZ";"
]
1.27 ms
(3.99%)
8
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  26
]
0.93 ms
(2.93%)
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:
[
  "/"
  "path"
  "auto_create"
  "/"
  "path_query"
  "https://namdan.goterest.com/"
  "entire_uri"
]
0.91 ms
(2.85%)
4
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:
[
  241
]
0.88 ms
(2.78%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "eventcategory"
]
0.85 ms
(2.67%)
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:
[
  1771051748
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_51\x01tags\x01"
  "document_39\x01tags\x01"
  "document_48\x01tags\x01"
  "document_45\x01tags\x01"
  "document_73\x01tags\x01"
  "document_46\x01tags\x01"
  "document_53\x01tags\x01"
]
0.78 ms
(2.45%)
4
SELECT * FROM object_localized_data_event WHERE ooo_id = ? AND language IN ('en','vi','ko')
Parameters:
[
  241
]
0.74 ms
(2.35%)
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:
[
  "siteTemplate"
  null
  null
]
0.60 ms
(1.89%)
4
SELECT * FROM object_relations_event WHERE src_id = ?
Parameters:
[
  241
]
0.54 ms
(1.69%)
4
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  241
]
0.52 ms
(1.64%)
4
SELECT * FROM object_store_event WHERE oo_id = ?
Parameters:
[
  241
]
0.49 ms
(1.53%)
4
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  5
]
0.45 ms
(1.43%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1
]
0.43 ms
(1.34%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.41 ms
(1.29%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,26) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  51
]
0.36 ms
(1.15%)
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:
[
  1771051748
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_96\x01tags\x01"
]
0.31 ms
(0.99%)
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:
[
  1771051748
  "document_1\x01tags\x01"
  "asset_92\x01tags\x01"
  "asset_267\x01tags\x01"
  "asset_268\x01tags\x01"
]
0.29 ms
(0.93%)
1
SELECT * FROM builder_seo WHERE element = ? AND elementType = ?
Parameters:
[
  1
  "document"
]
0.29 ms
(0.90%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.27 ms
(0.86%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.25 ms
(0.79%)
1
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  26
]
0.24 ms
(0.74%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  ""
]
0.23 ms
(0.71%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  113
]
0.22 ms
(0.68%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.20 ms
(0.64%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  113
]
0.17 ms
(0.53%)
1
UPDATE builder_seo SET id = ?, elementType = ?, element = ?, title = ?, description = ?, keyword = ?, language = ?, indexing = ?, nofollow = ?, canonicalUrl = ?, redirectLink = ?, redirectType = ?, destinationUrl = ?, schemaBlock = ?, image = ?, imageAsset = ?, redirectId = ?, metaData = ?, generateSitemap = ? WHERE id = ?
Parameters:
[
  1
  "document"
  1
  null
  null
  null
  "vi"
  1
  0
  null
  0
  null
  null
  null
  null
  null
  null
  null
  1
  1
]
0.17 ms
(0.52%)
1
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.14 ms
(0.45%)
1
SELECT * FROM builder_options WHERE name = ?
Parameters:
[
  "main_domain"
]
0.13 ms
(0.41%)
1
SELECT id FROM website_settings
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.