Query Metrics

56 Database Queries
13 Different statements
52.69 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
35.32 ms
(67.04%)
38
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.71 ms
(5.15%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  4
]
2.66 ms
(5.05%)
3
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "piastowska-42l"
  "path" => "/apteki-stacjonarne/dzierzoniow/"
]
1.94 ms
(3.69%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "4"
]
1.65 ms
(3.12%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/apteki-stacjonarne/dzierzoniow/piastowska-42l"
]
1.40 ms
(2.66%)
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
(2.43%)
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.12 ms
(2.13%)
1
SELECT object_4.o_id as o_id, object_4.o_type as o_type FROM object_4 WHERE (`urlCity` = 'dzierzoniow'  AND  object_4.o_type IN ('object','folder')) AND object_4.o_published = 1
Parameters:
[]
1.11 ms
(2.10%)
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
(1.99%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 566
]
0.84 ms
(1.59%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.83 ms
(1.57%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.78 ms
(1.48%)
1
SELECT * FROM translations_messages LIMIT 1;
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.