Query Metrics

234 Database Queries
38 Different statements
43.84 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
14.05 ms
(32.05%)
87
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"
]
8.06 ms
(18.38%)
49
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
(3.61%)
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.57 ms
(3.57%)
7
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  113
]
1.36 ms
(3.11%)
7
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  113
]
1.33 ms
(3.02%)
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.28 ms
(2.92%)
3
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"
]
1.27 ms
(2.89%)
8
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  26
]
1.17 ms
(2.67%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "eventcategory"
]
0.91 ms
(2.07%)
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.85 ms
(1.93%)
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
(1.77%)
4
SELECT * FROM object_localized_data_event WHERE ooo_id = ? AND language IN ('en','vi','ko')
Parameters:
[
  241
]
0.74 ms
(1.70%)
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.68 ms
(1.56%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1
]
0.64 ms
(1.46%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.63 ms
(1.44%)
1
SELECT object_localized_area_vi.id as id, object_localized_area_vi.type as `type` FROM object_localized_area_vi WHERE ( object_localized_area_vi.type IN ('object','variant','folder')) AND object_localized_area_vi.published = 1 ORDER BY `name` DESC
Parameters:
[]
0.60 ms
(1.37%)
4
SELECT * FROM object_relations_event WHERE src_id = ?
Parameters:
[
  241
]
0.56 ms
(1.27%)
1
SELECT object_localized_locationCateParent_vi.id as id, object_localized_locationCateParent_vi.type as `type` FROM object_localized_locationCateParent_vi WHERE ( object_localized_locationCateParent_vi.type IN ('object','variant','folder')) AND object_localized_locationCateParent_vi.published = 1 ORDER BY `name` DESC
Parameters:
[]
0.54 ms
(1.23%)
4
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  241
]
0.52 ms
(1.19%)
4
SELECT * FROM object_store_event WHERE oo_id = ?
Parameters:
[
  241
]
0.49 ms
(1.11%)
4
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  5
]
0.41 ms
(0.93%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,26) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  51
]
0.36 ms
(0.83%)
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.72%)
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.67%)
1
SELECT * FROM builder_seo WHERE element = ? AND elementType = ?
Parameters:
[
  1
  "document"
]
0.29 ms
(0.66%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'vi' AND objectId = '241'
Parameters:
[]
0.29 ms
(0.66%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'vi' AND objectId = '155'
Parameters:
[]
0.29 ms
(0.65%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.27 ms
(0.62%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.25 ms
(0.57%)
1
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  26
]
0.24 ms
(0.54%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  ""
]
0.23 ms
(0.52%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'vi' AND objectId = '158'
Parameters:
[]
0.22 ms
(0.50%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.19 ms
(0.44%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'vi' AND objectId = '183'
Parameters:
[]
0.17 ms
(0.38%)
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.38%)
1
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.14 ms
(0.32%)
1
SELECT * FROM builder_options WHERE name = ?
Parameters:
[
  "main_domain"
]
0.13 ms
(0.30%)
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.