Query Metrics

71 Database Queries
22 Different statements
179.51 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
71.37 ms
(39.76%)
24
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:
[
  1764991933
  "site_domain_1130d4aff1f252faaab8897dc51407a6"
]
26.50 ms
(14.76%)
11
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:
[
  1764991933
  "system\x01tags\x01"
  "site\x01tags\x01"
]
18.41 ms
(10.26%)
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
]
18.40 ms
(10.25%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  45
]
10.15 ms
(5.66%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
7.50 ms
(4.18%)
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:
[
  "/vi/le-hoi"
  "path"
  "auto_create"
  "/vi/le-hoi"
  "path_query"
  "https://namdan.goterest.com/vi/le-hoi"
  "entire_uri"
]
6.22 ms
(3.47%)
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:
[
  1764991933
  "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"
]
4.23 ms
(2.35%)
3
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  113
]
3.20 ms
(1.78%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2.21 ms
(1.23%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
1.70 ms
(0.95%)
1
SELECT * FROM builder_options WHERE name = ?
Parameters:
[
  "main_domain"
]
1.69 ms
(0.94%)
1
SELECT * FROM builder_seo WHERE element = ? AND elementType = ?
Parameters:
[
  45
  "document"
]
1.48 ms
(0.82%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  5
]
1.09 ms
(0.61%)
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:
[
  1764991933
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_96\x01tags\x01"
]
1.00 ms
(0.56%)
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:
[
  1764991933
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.99 ms
(0.55%)
1
SELECT * FROM object_url_slugs WHERE slug = '/vi/le-hoi' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.93 ms
(0.52%)
3
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  113
]
0.84 ms
(0.47%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/vi/"
  "le-hoi"
]
0.57 ms
(0.32%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "faq"
]
0.40 ms
(0.23%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.34 ms
(0.19%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/vi/le-hoi"
]
0.26 ms
(0.14%)
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:
[
  17
  "document"
  45
  null
  null
  null
  "vi"
  1
  0
  null
  0
  null
  null
  null
  null
  null
  null
  null
  1
  17
]

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.