Query Metrics

135 Database Queries
27 Different statements
22.02 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
5.08 ms
(23.05%)
32
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  3962
]
2.92 ms
(13.28%)
33
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.87 ms
(13.03%)
17
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 3189171
]
2.05 ms
(9.32%)
9
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:
[
  4541
]
0.78 ms
(3.54%)
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.74 ms
(3.34%)
2
SELECT * FROM properties WHERE ((cid IN (1,4296,4039,3944,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4275
]
0.66 ms
(3.02%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.66 ms
(2.98%)
1
SELECT * FROM properties WHERE ((cid IN (1,4012,3944,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4395
]
0.61 ms
(2.75%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Plan-your-holiday"
  "path" => "/steiermark.com/en/"
]
0.57 ms
(2.60%)
3
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:
[
  4541
]
0.57 ms
(2.60%)
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/Plan-your-holiday"
  "sourcePathQuery" => "/en/Plan-your-holiday"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Plan-your-holiday"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.53 ms
(2.42%)
4
SELECT id FROM sites
Parameters:
[]
0.51 ms
(2.30%)
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/Plan-your-holiday"
]
0.35 ms
(1.59%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  3962
  3962
]
0.32 ms
(1.46%)
1
SELECT * FROM properties WHERE ((cid IN (1,4276,4039,3944,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4500
]
0.32 ms
(1.44%)
3
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Plan-your-holiday"
]
0.30 ms
(1.35%)
1
SELECT * FROM properties WHERE ((cid IN (1,4268,4039,3944,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4652
]
0.29 ms
(1.34%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.29 ms
(1.32%)
1
SELECT * FROM properties WHERE ((cid IN (1,4285,4039,3944,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4578
]
0.29 ms
(1.30%)
1
SELECT * FROM properties WHERE ((cid IN (1,4271,4039,3944,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4541
]
0.28 ms
(1.27%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  79
  3962
  3962
]
0.26 ms
(1.17%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  3962
]
0.21 ms
(0.97%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.19 ms
(0.86%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Plan-your-holiday' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.15 ms
(0.67%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.13 ms
(0.57%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Plan-your-holiday' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.48%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

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.