Query Metrics

105 Database Queries
19 Different statements
22.07 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
12.63 ms
(57.25%)
71
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:
[
  1717154928
  [
    "\x00tags\x00site_domain_f3fe02a8551300e8f3e21deb3fd2a6d6"
    "site_domain_f3fe02a8551300e8f3e21deb3fd2a6d6"
  ]
]
2.81 ms
(12.72%)
1
SELECT object_1.o_id as o_id, object_1.o_type as o_type FROM object_1 WHERE ( object_1.o_type IN ('object','folder')) AND object_1.o_published = 1
Parameters:
[]
1.96 ms
(8.87%)
13
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 79
]
0.72 ms
(3.28%)
1
SELECT object_2.o_id as o_id, object_2.o_type as o_type FROM object_2 WHERE ((date <= UNIX_TIMESTAMP(NOW())) AND  object_2.o_type IN ('object','folder')) AND object_2.o_published = 1 ORDER BY `date` DESC
Parameters:
[]
0.62 ms
(2.79%)
3
SELECT * FROM properties WHERE ((cid IN (1,4,2) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  28
]
0.59 ms
(2.65%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1
]
0.39 ms
(1.77%)
1
SELECT object_2.o_id as o_id, object_2.o_type as o_type FROM object_2 WHERE ((date <= UNIX_TIMESTAMP(NOW())) AND  object_2.o_type IN ('object','folder')) AND object_2.o_published = 1 ORDER BY `date` DESC   LIMIT 5
Parameters:
[]
0.31 ms
(1.40%)
1
SELECT COUNT(*) FROM object_2 WHERE ((date <= UNIX_TIMESTAMP(NOW())) AND  object_2.o_type IN ('object','folder')) AND object_2.o_published = 1
Parameters:
[]
0.30 ms
(1.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" => "/"
  "sourcePathQuery" => "/"
  "sourceEntireUri" => "https://youinvestify.apik-pp.be/"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.24 ms
(1.11%)
1
SELECT object_1.o_id as o_id, object_1.o_type as o_type FROM object_1 WHERE ( object_1.o_type IN ('object','folder')) AND object_1.o_published = 1 LIMIT 3
Parameters:
[]
0.23 ms
(1.05%)
1
SELECT COUNT(*) FROM object_1 WHERE ( object_1.o_type IN ('object','folder')) AND object_1.o_published = 1
Parameters:
[]
0.20 ms
(0.90%)
1
SELECT * FROM properties WHERE ((cid IN (1) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1
]
0.18 ms
(0.83%)
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.17 ms
(0.79%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.17 ms
(0.77%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => ""
  "path" => "/"
]
0.15 ms
(0.70%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.13 ms
(0.60%)
1
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.13 ms
(0.60%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  1
]
0.13 ms
(0.58%)
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.