Query Metrics

46 Database Queries
21 Different statements
60.40 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
14.85 ms
(24.58%)
15
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"
]
7.85 ms
(13.00%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/vi/"
  "ban-do-so"
]
7.73 ms
(12.79%)
5
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"
]
5.38 ms
(8.91%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
3.72 ms
(6.16%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  113
]
3.35 ms
(5.55%)
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/ban-do-so"
  "path"
  "auto_create"
  "/vi/ban-do-so"
  "path_query"
  "https://namdan.goterest.com/vi/ban-do-so"
  "entire_uri"
]
3.04 ms
(5.03%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  48
]
2.67 ms
(4.42%)
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
]
2.28 ms
(3.77%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  113
]
2.05 ms
(3.39%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/vi/ban-do-so"
]
1.96 ms
(3.24%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
1.27 ms
(2.10%)
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.08 ms
(1.79%)
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
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.79 ms
(1.30%)
1
SELECT * FROM builder_seo WHERE element = ? AND elementType = ?
Parameters:
[
  48
  "document"
]
0.53 ms
(0.88%)
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"
]
0.50 ms
(0.82%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  5
]
0.39 ms
(0.64%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.28 ms
(0.46%)
1
SELECT * FROM object_url_slugs WHERE slug = '/vi/ban-do-so' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.26 ms
(0.44%)
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:
[
  12
  "document"
  48
  null
  null
  null
  "vi"
  1
  0
  null
  0
  null
  null
  null
  null
  null
  null
  null
  1
  12
]
0.23 ms
(0.38%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.20 ms
(0.32%)
1
SELECT * FROM builder_options WHERE name = ?
Parameters:
[
  "main_domain"
]

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.