Query Metrics

78 Database Queries
21 Different statements
11.16 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
2.63 ms
(23.58%)
29
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.15 ms
(10.29%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.07 ms
(9.60%)
5
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  4079
]
0.83 ms
(7.45%)
7
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:
[
  1658002
]
0.77 ms
(6.89%)
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.69 ms
(6.23%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "3-16-Kopie_mi_228731"
  "path" => "/steiermark.com/en/Press-media/Image-archive/"
]
0.54 ms
(4.81%)
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/Press-media/Image-archive/3-16-Kopie_mi_228731"
  "sourcePathQuery" => "/en/Press-media/Image-archive/3-16-Kopie_mi_228731?page=66"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Press-media/Image-archive/3-16-Kopie_mi_228731?page=66"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.48 ms
(4.27%)
2
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 3189171
]
0.44 ms
(3.95%)
1
SELECT * FROM properties WHERE ((cid IN (1,186106,186103,186089,186084,156006) AND inheritable = 1) OR cid = ? )  AND ctype='asset'
Parameters:
[
  228731
]
0.41 ms
(3.63%)
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/Press-media/Image-archive/3-16-Kopie_mi_228731"
]
0.40 ms
(3.61%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/en/Press-media/Image-archive/3-16-Kopie_mi_228731"
]
0.22 ms
(1.99%)
1
SELECT id FROM sites
Parameters:
[]
0.22 ms
(1.95%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.20 ms
(1.82%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.20 ms
(1.78%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Press-media/Image-archive/3-16-Kopie_mi_228731' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 ms
(1.66%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.17 ms
(1.55%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  4079
  4079
]
0.15 ms
(1.38%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  595
  4079
  4079
]
0.15 ms
(1.35%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.14 ms
(1.22%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  4079
]
0.11 ms
(0.98%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Press-media/Image-archive/3-16-Kopie_mi_228731' 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.