Query Metrics

177 Database Queries
28 Different statements
32.98 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
4.73 ms
(14.34%)
50
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
4.50 ms
(13.64%)
15
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  10872
]
4.33 ms
(13.13%)
17
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 209143
]
2.53 ms
(7.68%)
6
SELECT * FROM properties WHERE ((cid IN (1,10950,10906,10875,10872,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11067
]
2.41 ms
(7.31%)
4
SELECT * FROM properties WHERE ((cid IN (1,10941,10906,10875,10872,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11029
]
2.11 ms
(6.40%)
13
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  10979
]
1.67 ms
(5.05%)
13
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  10979
]
1.36 ms
(4.12%)
3
SELECT * FROM properties WHERE ((cid IN (1,10939,10906,10875,10872,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  39161
]
1.24 ms
(3.76%)
17
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_1726508__fe4e2758d647ebe8466a55de63110438"
]
0.87 ms
(2.63%)
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.86 ms
(2.61%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.77 ms
(2.33%)
4
SELECT id FROM sites
Parameters:
[]
0.72 ms
(2.19%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Thermen-Vulkanland"
  "path" => "/steiermark.com/en/"
]
0.68 ms
(2.06%)
2
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  4677694
]
0.58 ms
(1.76%)
1
SELECT * FROM properties WHERE ((cid IN (1,10940,10906,10875,10872,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11080
]
0.55 ms
(1.67%)
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" => "/en/Thermen-Vulkanland"
  "sourcePathQuery" => "/en/Thermen-Vulkanland"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Thermen-Vulkanland"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.46 ms
(1.38%)
2
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:
[
  4677694
]
0.38 ms
(1.14%)
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/%"
  "/en/Thermen-Vulkanland"
]
0.35 ms
(1.07%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Thermen-Vulkanland' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.27 ms
(0.81%)
3
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Thermen-Vulkanland"
]
0.26 ms
(0.80%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  10872
]
0.25 ms
(0.75%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.24 ms
(0.74%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.24 ms
(0.73%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.24 ms
(0.72%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  10872
  10872
]
0.18 ms
(0.55%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  57
  10872
  10872
]
0.11 ms
(0.32%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.10 ms
(0.30%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Thermen-Vulkanland' AND siteId = 0 ORDER BY siteId DESC 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.