Query Metrics

301 Database Queries
36 Different statements
198.46 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
34.74 ms
(17.50%)
82
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1774405040
  "site_domain_e19013cb161706785ddee46d4210cfcb"
]
19.27 ms
(9.71%)
30
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  5931
]
18.63 ms
(9.39%)
1
SELECT COUNT(*) FROM object_localized_5_en WHERE (isDevItem IS false
            AND workType = 'work'  AND published IS true AND artist__id = 484 AND  object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1
Parameters:
[]
15.48 ms
(7.80%)
23
SELECT * FROM object_relations_5 WHERE src_id = ?
Parameters:
[
  17791
]
15.28 ms
(7.70%)
2
SELECT COUNT(*) FROM (SELECT object_localized_5_en.id FROM object_localized_5_en WHERE (isDevItem IS false
            AND workType = 'edition'
            AND workgroup__id > 0  AND published IS true AND artist__id = 484 AND  object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1 GROUP BY `workgroup__id`) XYZ
Parameters:
[]
14.75 ms
(7.43%)
24
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  5931
]
12.52 ms
(6.31%)
19
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
11.71 ms
(5.90%)
1
SELECT COUNT(*) FROM object_localized_5_en INNER JOIN object_1 artist ON object_localized_5_en.artist__id = artist.oo_id AND object_localized_5_en.isDevItem IS false AND (artist.status = 'artist' OR artist.status = 'guest' OR artist.status = 'exMarketingEdition'  OR artist.oo_id = 484 ) AND workType = 'edition'  AND object_localized_5_en.published IS true AND artist__id = 484 WHERE ( object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1
Parameters:
[]
9.40 ms
(4.73%)
16
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
7.43 ms
(3.74%)
1
SELECT COUNT(*) FROM object_localized_5_en WHERE (isDevItem IS false
            AND workType = 'edition'
            AND workgroup__id IS NULL  AND published IS true AND artist__id = 484 AND  object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1
Parameters:
[]
5.95 ms
(3.00%)
21
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?)
Parameters:
[
  1774405041
  "object_10595\x01tags\x01"
  "class_5\x01tags\x01"
  "asset_3655\x01tags\x01"
  "asset_3656\x01tags\x01"
]
4.66 ms
(2.35%)
2
SELECT COUNT(*) FROM (SELECT object_localized_5_en.id FROM object_localized_5_en WHERE (isDevItem IS false
            AND workType = 'work'
            AND workgroup__id > 0  AND published IS true AND artist__id = 484 AND  object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1 GROUP BY `workgroup__id`) XYZ
Parameters:
[]
4.41 ms
(2.22%)
1
SELECT object_localized_5_en.id as id, object_localized_5_en.type as `type` FROM object_localized_5_en WHERE (isDevItem IS false
            AND workType = 'work'
            AND workgroup__id > 0  AND published IS true AND artist__id = 484 AND  object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1 GROUP BY `workgroup__id` ORDER BY `workDateEnd` DESC, `workDate` DESC
Parameters:
[]
4.33 ms
(2.18%)
1
SELECT COUNT(*) FROM object_localized_5_en INNER JOIN object_1 artist ON object_localized_5_en.artist__id = artist.oo_id AND object_localized_5_en.isDevItem IS false AND (artist.status = 'artist' OR artist.status = 'guest' OR artist.oo_id = 484 ) AND workType = 'architecture'  AND object_localized_5_en.published IS true AND artist__id = 484 WHERE ( object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1
Parameters:
[]
4.15 ms
(2.09%)
1
SELECT COUNT(*) FROM object_localized_5_en WHERE (isDevItem IS false
            AND workType = 'work'
            AND workgroup__id IS NULL
            AND preview = true  AND published IS true AND artist__id = 484 AND  object_localized_5_en.type IN ('object','variant','folder')) AND object_localized_5_en.published = 1
Parameters:
[]
3.57 ms
(1.80%)
25
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?)
Parameters:
[
  1774405040
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
2.63 ms
(1.33%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
2.32 ms
(1.17%)
14
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?)
Parameters:
[
  1774405040
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.57 ms
(0.79%)
4
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/en/artist/flo-maak~a484/exhibitions/silver-lining~e9398"
  "path"
  "auto_create"
  "/en/artist/flo-maak~a484/exhibitions/silver-lining~e9398"
  "path_query"
  "https://dev.bernhardknaus.com/en/artist/flo-maak~a484/exhibitions/silver-lining~e9398"
  "entire_uri"
]
0.77 ms
(0.39%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/artist/flo-maak~a484/exhibitions/"
  "silver-lining~e9398"
]
0.67 ms
(0.34%)
1
SELECT COUNT(*) FROM object_localized_4_en WHERE (isDevItem IS false AND published IS true AND artists LIKE '%,484,%' AND  object_localized_4_en.type IN ('object','variant','folder')) AND object_localized_4_en.published = 1
Parameters:
[]
0.64 ms
(0.32%)
1
SELECT COUNT(*) FROM object_localized_2_en WHERE (isDevItem IS false AND published IS true AND artists LIKE '%,484,%' AND  object_localized_2_en.type IN ('object','variant','folder')) AND object_localized_2_en.published = 1
Parameters:
[]
0.57 ms
(0.29%)
1
SELECT COUNT(*) FROM object_localized_3_en WHERE (isDevItem IS false AND published IS true AND artists LIKE '%,484,%' AND  object_localized_3_en.type IN ('object','variant','folder')) AND object_localized_3_en.published = 1
Parameters:
[]
0.54 ms
(0.27%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/artist/flo-maak~a484/exhibitions/silver-lining~e9398"
]
0.46 ms
(0.23%)
1
SELECT COUNT(*) FROM object_localized_12_en WHERE (isDevItem IS false AND published IS true AND artists LIKE '%,484,%' AND  object_localized_12_en.type IN ('object','variant','folder')) AND object_localized_12_en.published = 1
Parameters:
[]
0.42 ms
(0.21%)
1
SELECT COUNT(*) FROM object_localized_11_en WHERE (isDevItem IS false AND published IS true AND artists LIKE '%,484,%' AND  object_localized_11_en.type IN ('object','variant','folder')) AND object_localized_11_en.published = 1
Parameters:
[]
0.39 ms
(0.19%)
2
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1774405040
  "object_9398\x01tags\x01"
  "class_3\x01tags\x01"
  "asset_8211\x01tags\x01"
  "asset_8212\x01tags\x01"
  "asset_8213\x01tags\x01"
  "asset_8214\x01tags\x01"
  "asset_8215\x01tags\x01"
  "asset_8216\x01tags\x01"
  "asset_8218\x01tags\x01"
  "asset_8219\x01tags\x01"
]
0.25 ms
(0.12%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1774405041
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_5\x01tags\x01"
  "document_6\x01tags\x01"
  "document_112\x01tags\x01"
  "document_81\x01tags\x01"
  "document_117\x01tags\x01"
  "document_79\x01tags\x01"
  "document_49\x01tags\x01"
  "document_50\x01tags\x01"
  "document_51\x01tags\x01"
  "document_80\x01tags\x01"
  "document_47\x01tags\x01"
  "document_52\x01tags\x01"
  "document_108\x01tags\x01"
  "document_100\x01tags\x01"
  "document_95\x01tags\x01"
  "document_94\x01tags\x01"
  "document_76\x01tags\x01"
  "document_53\x01tags\x01"
  "document_9\x01tags\x01"
  "document_54\x01tags\x01"
  "document_89\x01tags\x01"
  "document_92\x01tags\x01"
  "document_93\x01tags\x01"
]
0.24 ms
(0.12%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "1"
]
0.18 ms
(0.09%)
3
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:
[
  "urlHost"
  null
  null
]
0.16 ms
(0.08%)
1
SELECT * FROM object_collection_multiLinks_3 WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  9398
  "links"
]
0.14 ms
(0.07%)
3
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  9
]
0.08 ms
(0.04%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  11
]
0.07 ms
(0.03%)
1
SELECT object_14.id as id, object_14.type as `type` FROM object_14 WHERE ( object_14.type IN ('object','variant','folder')) AND object_14.published = 1 ORDER BY `name` ASC
Parameters:
[]
0.06 ms
(0.03%)
1
SELECT * FROM object_relations_3 WHERE src_id = ?
Parameters:
[
  9398
]
0.05 ms
(0.03%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

No managed entities.

Entities Mapping

No mapped entities.