Query Metrics

196 Database Queries
31 Different statements
837.42 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
320.71 ms
(38.30%)
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:
[]
283.62 ms
(33.87%)
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 8700
Parameters:
[]
205.95 ms
(24.59%)
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:
[]
16.32 ms
(1.95%)
104
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 3189171
]
1.80 ms
(0.22%)
30
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.56 ms
(0.19%)
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
]
0.91 ms
(0.11%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  595
]
0.80 ms
(0.10%)
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:
[]
0.65 ms
(0.08%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.54 ms
(0.06%)
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.45 ms
(0.05%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Bildarchiv"
  "path" => "/steiermark.com/de/Presse-Medien/"
]
0.38 ms
(0.05%)
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/%"
  "/de/Presse-Medien/Bildarchiv"
]
0.38 ms
(0.05%)
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/Presse-Medien/Bildarchiv"
  "sourcePathQuery" => "/de/Presse-Medien/Bildarchiv?page=88"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Presse-Medien/Bildarchiv?page=88"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.31 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 (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.29 ms
(0.03%)
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.28 ms
(0.03%)
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.27 ms
(0.03%)
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.26 ms
(0.03%)
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.26 ms
(0.03%)
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.25 ms
(0.03%)
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.25 ms
(0.03%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Presse-Medien/Bildarchiv"
]
0.19 ms
(0.02%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.18 ms
(0.02%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.14 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
  595
  595
]
0.13 ms
(0.02%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Presse-Medien/Bildarchiv' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.01%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  4079
  4079
]
0.10 ms
(0.01%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  595
]
0.10 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 = '/de/Presse-Medien/Bildarchiv' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.07 ms
(0.01%)
1
SELECT id FROM sites
Parameters:
[]
0.07 ms
(0.01%)
1
SELECT * FROM translations_messages 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.