Query Metrics

326 Database Queries
18 Different statements
230.77 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
212.38 ms
(92.03%)
300
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:
[
  1765393445
  [
    "\x00tags\x00site_domain_b8f2d8c714a7caaf54b4d97787462ed2"
    "site_domain_b8f2d8c714a7caaf54b4d97787462ed2"
  ]
]
3.37 ms
(1.46%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "sedie-moderne-legno"
  "path" => "/it/prodotti/"
]
2.40 ms
(1.04%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "cat"
]
2.24 ms
(0.97%)
1
SELECT SQL_CALC_FOUND_ROWS a.o_id, priceSystemName FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND parentCategoryIds LIKE '%,342,%' ORDER BY posizione asc,a.o_id ASC LIMIT 1000
Parameters:
[]
2.19 ms
(0.95%)
1
SELECT object_localized_cat_it.o_id as o_id, object_localized_cat_it.o_type as o_type FROM object_localized_cat_it WHERE (`url` = 'sedie-moderne-legno'  AND  object_localized_cat_it.o_type IN ('object','folder')) AND object_localized_cat_it.o_published = 1 LIMIT 1
Parameters:
[]
1.24 ms
(0.54%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/it/prodotti/sedie-moderne-legno"
]
1.10 ms
(0.48%)
1
SELECT * FROM redirects WHERE
            (
                (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR
                (source = :sourcePathQuery AND `type` = :typePathQuery) OR
                (source = :sourceEntireUri AND `type` = :typeEntireUri)
            ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/it/prodotti/sedie-moderne-legno"
  "sourcePathQuery" => "/it/prodotti/sedie-moderne-legno"
  "sourceEntireUri" => "https://staging-busetto.aleaweb.com/it/prodotti/sedie-moderne-legno"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.86 ms
(0.37%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.70 ms
(0.30%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  1
  1
  1
]
0.62 ms
(0.27%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.61 ms
(0.26%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  49
]
0.59 ms
(0.26%)
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:
[
  "MENU_HEADER"
  null
  null
]
0.56 ms
(0.24%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  3
  3
]
0.46 ms
(0.20%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.45 ms
(0.20%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  1
]
0.41 ms
(0.18%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.31 ms
(0.13%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  56
]
0.28 ms
(0.12%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  914
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.