Query Metrics

198 Database Queries
38 Different statements
871.89 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
340.69 ms
(39.07%)
69
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:
[
  1773138633
  "qElsxVAxaW:site_domain_a9552dfe7a73b23e4e319cdada175d86"
]
100.95 ms
(11.58%)
13
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4
]
59.05 ms
(6.77%)
14
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  2
]
55.22 ms
(6.33%)
16
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:
[
  1773138633
  "qElsxVAxaW:system\x01tags\x01"
  "qElsxVAxaW:redirect\x01tags\x01"
  "qElsxVAxaW:route\x01tags\x01"
]
52.59 ms
(6.03%)
11
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:
[
  1773138633
  "qElsxVAxaW:system\x01tags\x01"
  "qElsxVAxaW:site\x01tags\x01"
]
51.92 ms
(5.95%)
13
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4
]
30.53 ms
(3.50%)
3
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:
[
  1773138633
  "qElsxVAxaW:output\x01tags\x01"
  "qElsxVAxaW:navigation\x01tags\x01"
  "qElsxVAxaW:document_3\x01tags\x01"
  "qElsxVAxaW:document_25\x01tags\x01"
  "qElsxVAxaW:document_4\x01tags\x01"
  "qElsxVAxaW:document_5\x01tags\x01"
  "qElsxVAxaW:document_6\x01tags\x01"
  "qElsxVAxaW:document_15\x01tags\x01"
  "qElsxVAxaW:document_8\x01tags\x01"
  "qElsxVAxaW:document_7\x01tags\x01"
  "qElsxVAxaW:document_26\x01tags\x01"
  "qElsxVAxaW:document_9\x01tags\x01"
  "qElsxVAxaW:document_13\x01tags\x01"
  "qElsxVAxaW:document_14\x01tags\x01"
  "qElsxVAxaW:document_24\x01tags\x01"
]
18.22 ms
(2.09%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/pl/"
  "zupy"
]
16.46 ms
(1.89%)
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:
[
  "/pl/zupy"
  "path"
  "auto_create"
  "/pl/zupy"
  "path_query"
  "https://www.abel.jellinekserwer.pl/pl/zupy"
  "entire_uri"
]
16.44 ms
(1.89%)
6
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  3
]
16.13 ms
(1.85%)
4
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2
]
15.96 ms
(1.83%)
2
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  2 => null
  3 => 1773138633
  0 => "qElsxVAxaW:output\x01tags\x01"
  1 => b"s:6:"š!ššÛá";"
]
10.93 ms
(1.25%)
3
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:
[
  1773138633
  "qElsxVAxaW:document_2\x01tags\x01"
  "qElsxVAxaW:document_1\x01tags\x01"
  "qElsxVAxaW:asset_16\x01tags\x01"
  "qElsxVAxaW:asset_6\x01tags\x01"
  "qElsxVAxaW:asset_9\x01tags\x01"
  "qElsxVAxaW:asset_11\x01tags\x01"
  "qElsxVAxaW:asset_320\x01tags\x01"
  "qElsxVAxaW:asset_24\x01tags\x01"
]
9.42 ms
(1.08%)
3
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/pl/zupy"
]
9.16 ms
(1.05%)
3
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "product_category"
]
8.77 ms
(1.01%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
6.83 ms
(0.78%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '81'
Parameters:
[]
5.98 ms
(0.69%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
5.94 ms
(0.68%)
1
SELECT object_localized_1_pl.id as id, object_localized_1_pl.type as `type` FROM object_localized_1_pl WHERE (parentId = ? AND isActive = ? AND  object_localized_1_pl.type IN ('object','variant','folder')) AND object_localized_1_pl.published = 1
Parameters:
[
  72
  true
]
5.34 ms
(0.61%)
1
SELECT * FROM object_url_slugs WHERE slug = '/pl/zupy' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
5.17 ms
(0.59%)
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:
[
  1773138633
  "qElsxVAxaW:document_7\x01tags\x01"
  "qElsxVAxaW:asset_2\x01tags\x01"
  "qElsxVAxaW:asset_26\x01tags\x01"
  "qElsxVAxaW:asset_16\x01tags\x01"
  "qElsxVAxaW:asset_28\x01tags\x01"
  "qElsxVAxaW:asset_29\x01tags\x01"
]
4.55 ms
(0.52%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '80'
Parameters:
[]
2.98 ms
(0.34%)
1
SELECT COUNT(*) FROM object_localized_product_category_pl WHERE (isActive = ? AND type = ? AND parentId = ? AND  object_localized_product_category_pl.type IN ('object','variant','folder')) AND object_localized_product_category_pl.published = 1
Parameters:
[
  true
  "object"
  72
]
2.54 ms
(0.29%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '8'
Parameters:
[]
2.17 ms
(0.25%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
2.11 ms
(0.24%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  10
]
1.95 ms
(0.22%)
1
SELECT id FROM website_settings
Parameters:
[]
1.85 ms
(0.21%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '74'
Parameters:
[]
1.73 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '78'
Parameters:
[]
1.58 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '75'
Parameters:
[]
1.49 ms
(0.17%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '77'
Parameters:
[]
1.31 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '73'
Parameters:
[]
1.29 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '235'
Parameters:
[]
1.24 ms
(0.14%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '72'
Parameters:
[]
1.09 ms
(0.13%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '76'
Parameters:
[]
0.89 ms
(0.10%)
1
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:
[
  "products_document"
  null
  "pl"
]
0.84 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'slug' AND ownertype = 'localizedfield' AND position = 'pl' AND objectId = '79'
Parameters:
[]
0.57 ms
(0.07%)
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.