Query Metrics

165 Database Queries
34 Different statements
29.88 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
5.53 ms
(18.51%)
32
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1058282
]
3.31 ms
(11.07%)
16
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  12364
]
2.90 ms
(9.70%)
35
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.26 ms
(7.57%)
5
SELECT * FROM properties WHERE ((cid IN (1,1352,1350,55,2,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  6460
]
1.54 ms
(5.15%)
7
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  2460361
]
1.53 ms
(5.13%)
7
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:
[
  2460361
]
1.12 ms
(3.75%)
2
SELECT object_localized_80_de.o_id as o_id, object_localized_80_de.o_type as o_type FROM object_localized_80_de WHERE ((alpsteinObjects like '%,232293,%')  AND  object_localized_80_de.o_type IN ('object','folder')) AND object_localized_80_de.o_published = 1
Parameters:
[]
1.09 ms
(3.63%)
3
SELECT * FROM properties WHERE ((cid IN (1,1354,1350,55,2,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15444
]
1.05 ms
(3.51%)
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.04 ms
(3.47%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.87 ms
(2.92%)
4
SELECT id FROM sites
Parameters:
[]
0.78 ms
(2.60%)
5
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:
[
  13295
]
0.75 ms
(2.50%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Region"
  "path" => "/steiermark.com/de/Region-Graz/"
]
0.61 ms
(2.03%)
2
SELECT object_localized_Region_de.o_id as o_id, object_localized_Region_de.o_type as o_type FROM object_localized_Region_de WHERE ((alpsteinRegions like '%,232293,%')  AND  object_localized_Region_de.o_type IN ('object','folder')) AND object_localized_Region_de.o_published = 1
Parameters:
[]
0.50 ms
(1.68%)
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/Region-Graz/Region"
]
0.50 ms
(1.66%)
1
SELECT * FROM properties WHERE ((cid IN (1,32342,1353,1350,55,2,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  13298
]
0.47 ms
(1.59%)
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/Region-Graz/Region"
  "sourcePathQuery" => "/de/Region-Graz/Region"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Region-Graz/Region"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.46 ms
(1.54%)
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:
[
  13295
]
0.42 ms
(1.42%)
2
SELECT * FROM object_metadata_AlpsteinTour WHERE o_id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND (type = 'object' or type = '')
Parameters:
[
  1430448
  232293
  "regions"
  "object"
  ""
  "0"
  1
]
0.35 ms
(1.17%)
1
SELECT * FROM properties WHERE ((cid IN (1,31782,1354,1350,55,2,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  14557
]
0.34 ms
(1.13%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Region-Graz/Region"
]
0.31 ms
(1.05%)
1
SELECT * FROM properties WHERE ((cid IN (1,31758,1353,1350,55,2,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  13294
]
0.28 ms
(0.94%)
1
SELECT * FROM properties WHERE ((cid IN (1,31783,1354,1350,55,2,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1360
]
0.26 ms
(0.88%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  12364
]
0.25 ms
(0.85%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.23 ms
(0.76%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.18 ms
(0.61%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  12364
  12364
  12364
]
0.18 ms
(0.60%)
2
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (232293,232294);
Parameters:
[]
0.17 ms
(0.56%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.16 ms
(0.55%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Region-Graz/Region' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.12 ms
(0.41%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  13949
  13949
]
0.11 ms
(0.36%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Region-Graz/Region' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.35%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.10 ms
(0.33%)
1
SELECT o_id FROM objects WHERE o_id IN (232293,232294)
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.