Query Metrics

46 Database Queries
16 Different statements
10.10 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
2.59 ms
(25.65%)
8
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  20136
]
1.66 ms
(16.48%)
1
SELECT COUNT(*) FROM object_localized_BlogArticle_en WHERE ((topArticle = 1 AND portals LIKE :portal)  AND (teaserImage IS NOT NULL AND (IFNULL(submitted, 0) = 0 OR IFNULL(verified, 0) = 1))  AND  object_localized_BlogArticle_en.o_type IN ('object','folder')) AND object_localized_BlogArticle_en.o_published = 1
Parameters:
[
  "portal" => "%,11862015,%"
]
1.36 ms
(13.50%)
11
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  20136
]
1.02 ms
(10.06%)
8
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 5150471
]
0.54 ms
(5.39%)
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/Young-Styria/A-Z-guide-for-school-trips"
  "sourcePathQuery" => "/en/Young-Styria/A-Z-guide-for-school-trips"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Young-Styria/A-Z-guide-for-school-trips"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.49 ms
(4.87%)
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.42 ms
(4.20%)
2
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:
[
  29976
]
0.37 ms
(3.62%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.32 ms
(3.14%)
3
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.24 ms
(2.33%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Young-Styria/A-Z-guide-for-school-trips' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.21 ms
(2.11%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "A-Z-guide-for-school-trips"
  "path" => "/steiermark.com/en/Young-Styria/"
]
0.21 ms
(2.06%)
1
SELECT * FROM properties WHERE ((cid IN (1,20136,20130,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  20168
]
0.20 ms
(1.96%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.19 ms
(1.86%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.16 ms
(1.60%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.12 ms
(1.17%)
1
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  20136
]

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.