Query Metrics

39 Database Queries
11 Different statements
36.61 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
22.96 ms
(62.71%)
25
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:
[
  1782539389
  [
    "\x00tags\x00site_domain_8d1db1fa9cb5292f870898f126262070"
    "site_domain_8d1db1fa9cb5292f870898f126262070"
  ]
]
2.66 ms
(7.27%)
3
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "piastowska-42l"
  "path" => "/apteki-stacjonarne/dzierzoniow/"
]
1.94 ms
(5.30%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "4"
]
1.65 ms
(4.49%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/apteki-stacjonarne/dzierzoniow/piastowska-42l"
]
1.40 ms
(3.83%)
1
SELECT object_4.o_id as o_id, object_4.o_type as o_type FROM object_4 WHERE (`url` = 'dzierzoniow/piastowska-42l'  AND  object_4.o_type IN ('object','folder')) AND object_4.o_published = 1 LIMIT 1
Parameters:
[]
1.28 ms
(3.50%)
1
SELECT object_3.o_id as o_id, object_3.o_type as o_type FROM object_3 WHERE (`url` = 'dzierzoniow'  AND  object_3.o_type IN ('object','folder')) AND object_3.o_published = 1 LIMIT 1
Parameters:
[]
1.11 ms
(3.03%)
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" => "/apteki-stacjonarne/dzierzoniow/piastowska-42l"
  "sourcePathQuery" => "/apteki-stacjonarne/dzierzoniow/piastowska-42l"
  "sourceEntireUri" => "http://www.geminipolska.com.pl/apteki-stacjonarne/dzierzoniow/piastowska-42l"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
1.05 ms
(2.87%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 566
]
0.90 ms
(2.46%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  4
]
0.84 ms
(2.29%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.83 ms
(2.26%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]

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.