Query Metrics

109 Database Queries
31 Different statements
79.85 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
20.80 ms
(26.05%)
48
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:
[
  1770166988
  "\x01tags\x01site_domain_ea7e467d23ab80526c1d2a28ecf6eb8e"
  "site_domain_ea7e467d23ab80526c1d2a28ecf6eb8e"
]
15.86 ms
(19.87%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
]
13.46 ms
(16.86%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
6.32 ms
(7.92%)
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 => 1770166988
  0 => "system\x01tags\x01"
  1 => b"s:6:"†ŠGý •";"
]
3.32 ms
(4.15%)
1
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1770166988
  "asset_105"
]
3.24 ms
(4.06%)
10
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
2.95 ms
(3.69%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
]
2.60 ms
(3.26%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  3
]
2.19 ms
(2.74%)
1
SELECT id FROM website_settings
Parameters:
[]
2.14 ms
(2.68%)
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:
[
  1770166988
  "document_3\x01tags\x01"
]
1.05 ms
(1.32%)
3
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:
[
  "/fr/wellness-bnb"
  "path"
  "auto_create"
  "/fr/wellness-bnb"
  "path_query"
  "https://flow.apik-pp.be/fr/wellness-bnb"
  "entire_uri"
]
0.83 ms
(1.04%)
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:
[
  1770166988
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_7\x01tags\x01"
  "document_24\x01tags\x01"
  "document_25\x01tags\x01"
  "document_10\x01tags\x01"
  "document_11\x01tags\x01"
  "document_3\x01tags\x01"
  "document_4\x01tags\x01"
  "document_5\x01tags\x01"
  "document_14\x01tags\x01"
  "document_6\x01tags\x01"
  "document_16\x01tags\x01"
  "document_17\x01tags\x01"
  "document_18\x01tags\x01"
  "document_19\x01tags\x01"
  "document_20\x01tags\x01"
  "document_21\x01tags\x01"
  "document_22\x01tags\x01"
]
0.74 ms
(0.93%)
5
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  90
]
0.68 ms
(0.85%)
6
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:
[
  1770166988
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.41 ms
(0.51%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.39 ms
(0.49%)
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:
[
  1770166988
  "document_10\x01tags\x01"
  "asset_100\x01tags\x01"
  "asset_63\x01tags\x01"
  "asset_65\x01tags\x01"
]
0.39 ms
(0.48%)
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:
[
  1770166988
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_105\x01tags\x01"
]
0.31 ms
(0.39%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
]
0.30 ms
(0.37%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/"
  "wellness-bnb"
]
0.27 ms
(0.34%)
2
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:
[
  105
]
0.22 ms
(0.28%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  3
  3
  3
]
0.19 ms
(0.24%)
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:
[
  1770166988
  "document_2\x01tags\x01"
  "document_1\x01tags\x01"
  "asset_86\x01tags\x01"
  "asset_103\x01tags\x01"
  "asset_92\x01tags\x01"
  "asset_98\x01tags\x01"
  "asset_94\x01tags\x01"
]
0.18 ms
(0.22%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.17 ms
(0.21%)
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:
[
  1770166988
  "document_18\x01tags\x01"
  "asset_81\x01tags\x01"
  "asset_82\x01tags\x01"
  "asset_83\x01tags\x01"
  "asset_84\x01tags\x01"
  "asset_85\x01tags\x01"
]
0.17 ms
(0.21%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
]
0.15 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE slug = '/fr/wellness-bnb' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.15 ms
(0.19%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "flow.apik-pp.be"
  "%"flow.apik-pp.be"%"
]
0.15 ms
(0.18%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  3
]
0.10 ms
(0.13%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.07 ms
(0.09%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenace_mode"
]
0.06 ms
(0.07%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) 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.

Entities Mapping

No mapped entities.