Query Metrics

163 Database Queries
22 Different statements
21.03 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
8.42 ms
(40.04%)
80
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:
[
  1765783373
  "site_domain_9840da67fc407769f0624da2a6f8c7b6"
]
3.24 ms
(15.43%)
14
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  267
]
2.05 ms
(9.75%)
14
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ? AND (`key` = ?) ) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  91
  "search"
]
1.93 ms
(9.18%)
15
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  262
]
1.43 ms
(6.82%)
8
SELECT * FROM object_metadata_AWS_SETTINGS WHERE object_metadata_AWS_SETTINGS.id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND `type` = 'asset'
Parameters:
[
  9963
  1874
  "footerLinks"
  "localizedfield"
  "localizedfield"
  "en"
  1
]
0.87 ms
(4.13%)
7
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:
[
  1765783373
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.70 ms
(3.33%)
7
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/us/documents/"
  "weee"
]
0.31 ms
(1.50%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.24 ms
(1.14%)
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:
[
  1765783373
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.22 ms
(1.03%)
1
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 = 1 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/documents/weee"
  "path"
  "auto_create"
  "/documents/weee"
  "path_query"
  "https://sunny-usa.test.awebsys.cz/documents/weee"
  "entire_uri"
]
0.21 ms
(1.00%)
1
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:
[
  "euDomain"
  null
  null
]
0.19 ms
(0.91%)
1
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:
[
  "/_fragment"
  "path"
  "auto_create"
  "/_fragment?_path=_format=html&_locale=en&_controller=App%5CController%5CAccountController%3A%3AloginModalAction"
  "path_query"
  "https://sunny-usa.test.awebsys.cz/_fragment?_path=_format=html&_locale=en&_controller=App%5CController%5CAccountController%3A%3AloginModalAction"
  "entire_uri"
]
0.16 ms
(0.75%)
1
SELECT * FROM object_url_slugs WHERE slug = '/documents/weee' AND (siteId = 1 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.16 ms
(0.74%)
1
SELECT * FROM object_relations_AWS_SETTINGS WHERE src_id = ?
Parameters:
[
  9963
]
0.13 ms
(0.62%)
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:
[
  1765783373
  "document_91\x01tags\x01"
  "asset_2041\x01tags\x01"
  "asset_2046\x01tags\x01"
  "asset_2042\x01tags\x01"
  "asset_2044\x01tags\x01"
  "asset_2056\x01tags\x01"
  "asset_2045\x01tags\x01"
  "asset_2047\x01tags\x01"
]
0.12 ms
(0.58%)
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:
[
  1765783373
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
]
0.12 ms
(0.57%)
1
SELECT id FROM assets WHERE id IN (1874,1879,1878,1877,1875,1876,1880,2078)
Parameters:
[]
0.12 ms
(0.56%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.11 ms
(0.54%)
1
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/App/USA/"
  "AppSettings"
]
0.11 ms
(0.50%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.10 ms
(0.46%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.09 ms
(0.44%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "AWS_SETTINGS"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore_generic_data_index doctrine.orm.pimcore_generic_data_index_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.