Query Metrics

49 Database Queries
13 Different statements
57.62 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
40.86 ms
(70.90%)
32
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:
[
  1782580643
  [
    "\x00tags\x00site_domain_8d1db1fa9cb5292f870898f126262070"
    "site_domain_8d1db1fa9cb5292f870898f126262070"
  ]
]
2.23 ms
(3.87%)
3
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "piastowska-42l"
  "path" => "/apteki-stacjonarne/dzierzoniow/"
]
2.13 ms
(3.70%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  4
]
1.63 ms
(2.84%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "4"
]
1.54 ms
(2.67%)
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.37 ms
(2.38%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/apteki-stacjonarne/dzierzoniow/piastowska-42l"
]
1.36 ms
(2.37%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 566
]
1.36 ms
(2.35%)
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.17 ms
(2.03%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
1.15 ms
(2.00%)
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.10 ms
(1.91%)
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:
[]
0.98 ms
(1.71%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.73 ms
(1.27%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]

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.