Query Metrics

244 Database Queries
42 Different statements
883.41 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
342.56 ms
(38.78%)
1
SELECT assets.id, assets.type FROM assets INNER JOIN assets_metadata metadata ON metadata.cid = assets.id WHERE (assets.type = 'image')  AND (id IN (
            Select distinct cid
            from assets_metadata amr
            where (amr.name = 'General.regions' and amr.data LIKE '%["object",324083]%') OR (amr.name = "General.regions" and amr.data = "[]" OR NOT EXISTS(Select * from assets_metadata am_ne where am_ne.name = "General.regions" and am_ne.cid = amr.cid))))  AND (id IN (
        Select distinct cid
            from assets_metadata am
            where
                  ((name = 'General.mediaArchive' and data = 1 ) )
                Group By cid
                having count(cid) = 1
            ))  AND (metadata.name = "General.number" )  ORDER BY cast(data as unsigned) DESC
Parameters:
[]
278.58 ms
(31.53%)
1
SELECT assets.id, assets.type FROM assets INNER JOIN assets_metadata metadata ON metadata.cid = assets.id WHERE (assets.type = 'image')  AND (id IN (
            Select distinct cid
            from assets_metadata amr
            where (amr.name = 'General.regions' and amr.data LIKE '%["object",324083]%') OR (amr.name = "General.regions" and amr.data = "[]" OR NOT EXISTS(Select * from assets_metadata am_ne where am_ne.name = "General.regions" and am_ne.cid = amr.cid))))  AND (id IN (
        Select distinct cid
            from assets_metadata am
            where
                  ((name = 'General.mediaArchive' and data = 1 ) )
                Group By cid
                having count(cid) = 1
            ))  AND (metadata.name = "General.number" )  ORDER BY cast(data as unsigned) DESC    LIMIT 100 OFFSET 9600
Parameters:
[]
220.22 ms
(24.93%)
1
SELECT COUNT(*) FROM assets INNER JOIN assets_metadata metadata ON metadata.cid = assets.id WHERE (assets.type = 'image')  AND (id IN (
            Select distinct cid
            from assets_metadata amr
            where (amr.name = 'General.regions' and amr.data LIKE '%["object",324083]%') OR (amr.name = "General.regions" and amr.data = "[]" OR NOT EXISTS(Select * from assets_metadata am_ne where am_ne.name = "General.regions" and am_ne.cid = amr.cid))))  AND (id IN (
        Select distinct cid
            from assets_metadata am
            where
                  ((name = 'General.mediaArchive' and data = 1 ) )
                Group By cid
                having count(cid) = 1
            ))  AND (metadata.name = "General.number" )
Parameters:
[]
21.77 ms
(2.46%)
106
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 3189171
]
2.42 ms
(0.27%)
12
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  4079
]
2.04 ms
(0.23%)
31
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.85 ms
(0.21%)
13
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  2357185
]
1.45 ms
(0.16%)
3
SELECT * FROM properties WHERE ((cid IN (1,4003,3970,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4138
]
1.38 ms
(0.16%)
4
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:
[
  4003
]
0.83 ms
(0.09%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((name != "" AND name IS NOT NULL)  AND (hidden is NULL OR hidden = 0)  AND (EXISTS(SELECT NULL FROM objects sub WHERE sub.o_id = object_localized_MediaCategory_en.o_parentId AND sub.o_type = "folder"))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC, `name` ASC
Parameters:
[]
0.77 ms
(0.09%)
5
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:
[
  1907725
]
0.71 ms
(0.08%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.69 ms
(0.08%)
4
SELECT * FROM object_localized_data_MediaCopyright WHERE ooo_id = ? AND language IN ('de','en','hu','cs','pl','nl','it','sk')
Parameters:
[
  1907503
]
0.63 ms
(0.07%)
5
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  1907725
]
0.60 ms
(0.07%)
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:
[
  228
]
0.56 ms
(0.06%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Image-archive"
  "path" => "/steiermark.com/en/Press-media/"
]
0.41 ms
(0.05%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((o_id IN (2357205,2357193,2357199,2357207,2357190,2357204,2357182,2357183,2357213))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.39 ms
(0.04%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((o_id IN (2357192,2357175,2357188,2357198,2357174))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.38 ms
(0.04%)
4
SELECT * FROM object_relations_MediaCopyright WHERE src_id = ?
Parameters:
[
  1907503
]
0.38 ms
(0.04%)
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.38 ms
(0.04%)
4
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"
]
0.37 ms
(0.04%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((o_id IN (2357189,2357209,2357186))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.36 ms
(0.04%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((o_id IN (2357180,2357187,2357194,2357184))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.33 ms
(0.04%)
4
SELECT * FROM object_store_MediaCopyright WHERE oo_id = ?
Parameters:
[
  1907503
]
0.33 ms
(0.04%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((o_id IN (2357196,2357197))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.31 ms
(0.03%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((o_id IN (2357208,2357191,2357206,2357178))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.27 ms
(0.03%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Press-media/Image-archive"
]
0.26 ms
(0.03%)
1
SELECT object_localized_MediaCategory_en.o_id as o_id, object_localized_MediaCategory_en.o_type as o_type FROM object_localized_MediaCategory_en WHERE ((o_id IN (2357211,2357212))  AND  object_localized_MediaCategory_en.o_type IN ('object','folder')) AND object_localized_MediaCategory_en.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.24 ms
(0.03%)
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"
  "sourcePathQuery" => "/en/Press-media/Image-archive?page=97"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Press-media/Image-archive?page=97"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.21 ms
(0.02%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.20 ms
(0.02%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.19 ms
(0.02%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  4079
  4079
]
0.18 ms
(0.02%)
1
SELECT * FROM object_store_79 WHERE oo_id = ?
Parameters:
[
  1907725
]
0.17 ms
(0.02%)
1
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  4003
]
0.16 ms
(0.02%)
1
SELECT id FROM sites
Parameters:
[]
0.16 ms
(0.02%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  4079
]
0.15 ms
(0.02%)
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.13 ms
(0.02%)
1
SELECT * FROM object_relations_79 WHERE src_id = ?
Parameters:
[
  1907725
]
0.12 ms
(0.01%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.11 ms
(0.01%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Press-media/Image-archive' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.08 ms
(0.01%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.08 ms
(0.01%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Press-media/Image-archive' 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.