Query Metrics

48 Database Queries
21 Different statements
137.09 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
25.02 ms
(18.25%)
16
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:
[
  1764991930
  "site_domain_1130d4aff1f252faaab8897dc51407a6"
]
19.23 ms
(14.03%)
1
SELECT * FROM builder_options WHERE name = ?
Parameters:
[
  "main_domain"
]
13.85 ms
(10.11%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
13.43 ms
(9.80%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
11.88 ms
(8.66%)
1
SELECT * FROM builder_seo WHERE element = ? AND elementType = ?
Parameters:
[
  46
  "document"
]
10.93 ms
(7.97%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/vi/lien-he"
]
8.75 ms
(6.39%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  113
]
7.94 ms
(5.79%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  46
]
7.65 ms
(5.58%)
6
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:
[
  1764991930
  "system\x01tags\x01"
  "site\x01tags\x01"
]
5.38 ms
(3.93%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  113
]
4.19 ms
(3.05%)
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
]
3.04 ms
(2.22%)
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:
[
  18
  "document"
  46
  null
  null
  null
  "vi"
  1
  0
  null
  0
  null
  null
  null
  null
  null
  null
  null
  1
  18
]
1.10 ms
(0.80%)
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:
[
  "/vi/lien-he"
  "path"
  "auto_create"
  "/vi/lien-he"
  "path_query"
  "https://namdan.goterest.com/vi/lien-he"
  "entire_uri"
]
0.83 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:
[
  1764991930
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.77 ms
(0.56%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.77 ms
(0.56%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  5
]
0.68 ms
(0.50%)
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:
[
  1764991931
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_96\x01tags\x01"
]
0.53 ms
(0.39%)
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:
[
  1764991931
  "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.42 ms
(0.31%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/vi/"
  "lien-he"
]
0.36 ms
(0.26%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.35 ms
(0.25%)
1
SELECT * FROM object_url_slugs WHERE slug = '/vi/lien-he' 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.