Query Metrics

83 Database Queries
27 Different statements
14.01 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
2.65 ms
(18.88%)
29
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.62 ms
(11.57%)
8
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  228913
]
1.04 ms
(7.43%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.85 ms
(6.10%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Skifahrer-Nachwuchs-am-Kreischberg_mi_228913"
  "path" => "/steiermark.com/de/Murau/Presse-Medien/Bildarchiv/"
]
0.73 ms
(5.18%)
3
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1039116
]
0.65 ms
(4.62%)
2
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:
[
  "defaultSiteConfig"
  null
  null
]
0.58 ms
(4.12%)
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 = '6' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/de/Murau/Presse-Medien/Bildarchiv/Skifahrer-Nachwuchs-am-Kreischberg_mi_228913"
  "sourcePathQuery" => "/de/Murau/Presse-Medien/Bildarchiv/Skifahrer-Nachwuchs-am-Kreischberg_mi_228913?page=6"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Murau/Presse-Medien/Bildarchiv/Skifahrer-Nachwuchs-am-Kreischberg_mi_228913?page=6"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.56 ms
(4.02%)
3
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/steiermark.com/%"
  "/de/Murau/Presse-Medien/Bildarchiv/Skifahrer-Nachwuchs-am-Kreischberg_mi_228913"
]
0.55 ms
(3.90%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/de/Murau/Presse-Medien/Bildarchiv/Skifahrer-Nachwuchs-am-Kreischberg_mi_228913"
]
0.46 ms
(3.29%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  32146
]
0.42 ms
(3.03%)
1
INSERT INTO `assets_image_thumbnail_cache` (`cid`, `name`, `filename`, `modificationDate`, `filesize`, `width`, `height`) VALUES (:col0, :col1, :col2, :col3, :col4, :col5, :col6) ON DUPLICATE KEY UPDATE `cid` = :col0, `name` = :col1, `filename` = :col2, `modificationDate` = :col3, `filesize` = :col4, `width` = :col5, `height` = :col6;
Parameters:
[
  ":col0" => 228913
  ":col1" => "press-picture-watermark"
  ":col2" => "5594_c_steiermark_tourismus_ikarus.jpg"
  ":col3" => 1738265568
  ":col4" => 43195
  ":col5" => 948
  ":col6" => 533
]
0.41 ms
(2.91%)
1
SELECT * FROM object_store_23 WHERE oo_id = ?
Parameters:
[
  228913
]
0.40 ms
(2.86%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.40 ms
(2.82%)
2
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  228913
]
0.38 ms
(2.75%)
1
SELECT * FROM properties WHERE ((cid IN (1,186109,186103,186089,186084,156006) AND inheritable = 1) OR cid = ? )  AND ctype='asset'
Parameters:
[
  228913
]
0.35 ms
(2.48%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.23 ms
(1.63%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Murau/Presse-Medien/Bildarchiv/Skifahrer-Nachwuchs-am-Kreischberg_mi_228913' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.22 ms
(1.54%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Murau/Presse-Medien/Bildarchiv/Skifahrer-Nachwuchs-am-Kreischberg_mi_228913' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.21 ms
(1.51%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  32146
  32146
  32146
]
0.21 ms
(1.51%)
1
SELECT objects.*, tree_locks.locked as o_locked FROM objects
            LEFT JOIN tree_locks ON objects.o_id = tree_locks.id AND tree_locks.type = 'object'
                WHERE o_id = ?
Parameters:
[
  228913
]
0.19 ms
(1.39%)
1
SELECT * FROM object_relations_23 WHERE src_id = ?
Parameters:
[
  228913
]
0.17 ms
(1.20%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  32146
]
0.16 ms
(1.16%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.16 ms
(1.11%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  228913
]
0.15 ms
(1.05%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.14 ms
(1.00%)
1
SELECT id FROM sites
Parameters:
[]
0.13 ms
(0.96%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]

demi_vacancies connection

No database queries were performed.

Database Connections

Name Service
default doctrine.dbal.default_connection
demi_vacancies doctrine.dbal.demi_vacancies_connection

Entity Managers

Name Service
portal_engine doctrine.orm.portal_engine_entity_manager
pimcore_direct_edit doctrine.orm.pimcore_direct_edit_entity_manager
statistics_explorer doctrine.orm.statistics_explorer_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

portal_engine entity manager

No loaded entities.

pimcore_direct_edit entity manager

No loaded entities.

statistics_explorer entity manager

No loaded entities.