Query Metrics

131 Database Queries
30 Different statements
29.18 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
9.03 ms
(30.95%)
67
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:
[
  1779193250
  "site_domain_52a11fe684a095b3d227ea89bd0adc9c"
]
4.43 ms
(15.19%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
3.08 ms
(10.55%)
2
SELECT
            localized_set.id AS id_set
        FROM
            object_localized_Set_en_US as localized_set
        WHERE
            COALESCE(localized_set.published,0) <> 0 AND
            (
                LOWER(localized_set.slugAutocalculated) = ? OR
                LOWER(localized_set.slug) = ?
            )
Parameters:
[
  "lego-ninjago-build-your-own-adventure-16786"
  "lego-ninjago-build-your-own-adventure-16786"
]
1.52 ms
(5.20%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Italy/en_US/categories/books-180/products/"
  "lego-ninjago-build-your-own-adventure-16786"
]
1.38 ms
(4.72%)
9
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:
[
  1779193250
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.06 ms
(3.64%)
8
SELECT documents.id, documents.type FROM documents WHERE published = 1
Parameters:
[]
0.85 ms
(2.92%)
4
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:
[
  1779193250
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.75 ms
(2.58%)
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 OR sourceSite = 0) AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/Italy/en_US/categories/books-180/products/lego-ninjago-build-your-own-adventure-16786"
  "path"
  "auto_create"
  "/Italy/en_US/categories/books-180/products/lego-ninjago-build-your-own-adventure-16786"
  "path_query"
  "https://demo2026.gmde.it/Italy/en_US/categories/books-180/products/lego-ninjago-build-your-own-adventure-16786"
  "entire_uri"
]
0.71 ms
(2.42%)
1
SELECT
            country.id,
            IF(country.nameCountry <> '', country.nameCountry, country.key) as display_name,
            CONCAT(documents.path, documents.key) as url
        FROM
            object_localized_Country_en_US as country
            JOIN documents as country_doc ON country.associatedSite__id = country_doc.id
            JOIN documents ON country.associatedSite__id = documents.parentId
            JOIN properties p on documents.id = p.cid AND p.name = 'language' AND country.defaultLanguage = p.data
        WHERE
            country.associatedSite__id IS NOT NULL AND
            country_doc.parentId = ? AND
            country.id <> ?
        GROUP BY country.id
Parameters:
[
  1
  19775
]
0.61 ms
(2.10%)
1
SELECT object_localized_Country_en_US.id as id, object_localized_Country_en_US.type as `type` FROM object_localized_Country_en_US WHERE ( object_localized_Country_en_US.type IN ('object','variant','folder')) AND object_localized_Country_en_US.published = 1
Parameters:
[]
0.52 ms
(1.80%)
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:
[
  1779193250
  "object_19775\x01tags\x01"
  "class_Country\x01tags\x01"
  "asset_11630\x01tags\x01"
  "asset_11633\x01tags\x01"
  "asset_11634\x01tags\x01"
  "asset_11632\x01tags\x01"
]
0.47 ms
(1.62%)
1
SELECT
            p.data as locale
        FROM
            object_Country as country
            JOIN documents ON country.associatedSite__id = documents.parentId
            JOIN properties p on documents.id = p.cid AND p.name = 'language'
        WHERE
            country.id = ?
Parameters:
[
  19775
]
0.45 ms
(1.53%)
1
SELECT
        id
    FROM
        object_Country
    WHERE
        associatedSite__id = ?
    ORDER BY id
    LIMIT 1
Parameters:
[
  9
]
0.42 ms
(1.45%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  26
]
0.42 ms
(1.45%)
3
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Italy/en_US/categories/books-180/products/lego-ninjago-build-your-own-adventure-16786"
]
0.37 ms
(1.27%)
3
SELECT `id`, `name` FROM classes WHERE id = ?
Parameters:
[
  "Country"
]
0.37 ms
(1.26%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.32 ms
(1.08%)
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:
[
  1779193250
  "document_2\x01tags\x01"
  "document_3\x01tags\x01"
  "asset_11626\x01tags\x01"
  "asset_11628\x01tags\x01"
]
0.29 ms
(1.00%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  26
  26
]
0.26 ms
(0.88%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  4
]
0.25 ms
(0.87%)
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:
[
  1779193250
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "object_34\x01tags\x01"
]
0.24 ms
(0.83%)
1
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  9
]
0.22 ms
(0.76%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  19
  26
  26
]
0.21 ms
(0.73%)
1
SELECT * FROM object_relations_Country WHERE src_id = ?
Parameters:
[
  19775
]
0.20 ms
(0.69%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.19 ms
(0.66%)
1
SELECT * FROM object_relations_Set WHERE src_id = ?
Parameters:
[
  16786
]
0.16 ms
(0.56%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  26
]
0.15 ms
(0.50%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  4
]
0.12 ms
(0.40%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  4
]
0.12 ms
(0.40%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  4
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.