Query Metrics

98 Database Queries
31 Different statements
76.96 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
18.69 ms
(24.28%)
43
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
(20.61%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
]
13.40 ms
(17.41%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
6.32 ms
(8.22%)
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.31%)
1
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1770166988
  "asset_105"
]
3.24 ms
(4.21%)
10
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
2.95 ms
(3.83%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
]
2.53 ms
(3.28%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  3
]
2.19 ms
(2.85%)
1
SELECT id FROM website_settings
Parameters:
[]
1.99 ms
(2.58%)
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
  "document_3\x01tags\x01"
]
0.83 ms
(1.07%)
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.71 ms
(0.92%)
2
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.68 ms
(0.88%)
4
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  90
]
0.68 ms
(0.88%)
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.53%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.39 ms
(0.51%)
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.50%)
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.40%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "X9HxI2sl5GjGBbRIg/gf2WfKqYMaqYOHJ8cCP53UC8k="
]
0.27 ms
(0.35%)
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.29%)
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.22 ms
(0.29%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/"
  "wellness-bnb"
]
0.19 ms
(0.25%)
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.23%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.17 ms
(0.22%)
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.20%)
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.19%)
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.10%)
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.