Query Metrics

190 Database Queries
37 Different statements
1044.45 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
425.95 ms
(40.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",326443]%')))  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:
[]
359.83 ms
(34.45%)
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",326443]%')))  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 600
Parameters:
[]
188.03 ms
(18.00%)
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",326443]%')))  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.12 ms
(2.02%)
37
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1327906
]
5.90 ms
(0.56%)
26
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:
[
  4450738
]
5.11 ms
(0.49%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  25883
]
4.78 ms
(0.46%)
30
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
4.19 ms
(0.40%)
26
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  4450738
]
3.33 ms
(0.32%)
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
]
2.50 ms
(0.24%)
1
SELECT id FROM sites
Parameters:
[]
2.45 ms
(0.23%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  25883
]
2.22 ms
(0.21%)
8
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Bildarchiv"
  "path" => "/steiermark.com/de/Oststeiermark/B2B-Presse/Presse-Medien/"
]
2.00 ms
(0.19%)
6
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/%"
  "/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv"
]
1.93 ms
(0.18%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de 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_de.o_parentId AND sub.o_type = "folder"))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC, `name` ASC
Parameters:
[]
1.93 ms
(0.18%)
6
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv"
]
1.82 ms
(0.17%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.65 ms
(0.16%)
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
]
1.61 ms
(0.15%)
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" => "/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv"
  "sourcePathQuery" => "/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv?page=7"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv?page=7"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
1.03 ms
(0.10%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  25883
  25883
  25883
]
0.68 ms
(0.07%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  44080812
]
0.67 ms
(0.06%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.64 ms
(0.06%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de WHERE ((o_id IN (2357189,2357209,2357186))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.52 ms
(0.05%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de WHERE ((o_id IN (2357205,2357193,2357199,2357207,2357190,2357204,2357182,2357183,2357213))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.52 ms
(0.05%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.46 ms
(0.04%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de WHERE ((o_id IN (2357208,2357191,2357206,2357178))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.46 ms
(0.04%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de WHERE ((o_id IN (2357192,2357175,2357188,2357198,2357174))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.44 ms
(0.04%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.42 ms
(0.04%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de WHERE ((o_id IN (2357196,2357197))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.42 ms
(0.04%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de WHERE ((o_id IN (2357211,2357212))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.40 ms
(0.04%)
1
SELECT object_localized_MediaCategory_de.o_id as o_id, object_localized_MediaCategory_de.o_type as o_type FROM object_localized_MediaCategory_de WHERE ((o_id IN (2357180,2357187,2357194,2357184))  AND  object_localized_MediaCategory_de.o_type IN ('object','folder')) AND object_localized_MediaCategory_de.o_published = 1 ORDER BY `sorting` ASC
Parameters:
[]
0.31 ms
(0.03%)
1
SELECT * FROM object_localized_data_MediaCategory WHERE ooo_id = ? AND language IN ('de','en','hu','cs','pl','nl','it','sk')
Parameters:
[
  44080812
]
0.26 ms
(0.02%)
1
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:
[
  44080812
]
0.23 ms
(0.02%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.22 ms
(0.02%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.21 ms
(0.02%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.13 ms
(0.01%)
1
SELECT * FROM object_relations_MediaCategory WHERE src_id = ?
Parameters:
[
  44080812
]
0.12 ms
(0.01%)
1
SELECT * FROM object_store_MediaCategory WHERE oo_id = ?
Parameters:
[
  44080812
]

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.