Query Metrics

199 Database Queries
30 Different statements
623.34 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
329.14 ms
(52.80%)
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:
[]
131.62 ms
(21.12%)
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 200
Parameters:
[]
113.79 ms
(18.25%)
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:
[]
31.03 ms
(4.98%)
103
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1327906
]
2.27 ms
(0.36%)
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.15 ms
(0.34%)
30
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.83 ms
(0.29%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  25883
]
1.78 ms
(0.28%)
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.24 ms
(0.20%)
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=3"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv?page=3"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
1.24 ms
(0.20%)
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/"
]
1.22 ms
(0.20%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.99 ms
(0.16%)
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.64 ms
(0.10%)
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"
]
0.42 ms
(0.07%)
6
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/B2B-Presse/Presse-Medien/Bildarchiv"
]
0.41 ms
(0.06%)
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.37 ms
(0.06%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.35 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 (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.30 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 (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.30 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 (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.29 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 (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.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 (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.28 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 (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.27 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.24 ms
(0.04%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.21 ms
(0.03%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.18 ms
(0.03%)
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.16 ms
(0.03%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  25883
]
0.14 ms
(0.02%)
1
SELECT id FROM sites
Parameters:
[]
0.12 ms
(0.02%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.09 ms
(0.01%)
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:
[]

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.