Query Metrics

85 Database Queries
28 Different statements
48.53 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
11.71 ms
(24.13%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "rnT4ppJVhNsK13xz0vhlp6X7ZsHgKrNLMJD5J0B8DFI="
]
10.35 ms
(21.33%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
6.05 ms
(12.46%)
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 => 1770167009
  0 => "system\x01tags\x01"
  1 => b"s:6:"{!‹Gb¯";"
]
5.80 ms
(11.95%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  20
]
5.24 ms
(10.81%)
36
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:
[
  1770167009
  "\x01tags\x01site_domain_ea7e467d23ab80526c1d2a28ecf6eb8e"
  "site_domain_ea7e467d23ab80526c1d2a28ecf6eb8e"
]
2.97 ms
(6.12%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "rnT4ppJVhNsK13xz0vhlp6X7ZsHgKrNLMJD5J0B8DFI="
]
2.26 ms
(4.65%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenace_mode"
]
0.57 ms
(1.18%)
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/condition-generales-de-vente"
  "path"
  "auto_create"
  "/fr/condition-generales-de-vente"
  "path_query"
  "https://flow.apik-pp.be/fr/condition-generales-de-vente"
  "entire_uri"
]
0.57 ms
(1.17%)
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:
[
  1770167009
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.44 ms
(0.90%)
10
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.40 ms
(0.83%)
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:
[
  1770167009
  "document_20\x01tags\x01"
]
0.27 ms
(0.55%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "rnT4ppJVhNsK13xz0vhlp6X7ZsHgKrNLMJD5J0B8DFI="
]
0.23 ms
(0.47%)
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:
[
  1770167009
  "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.19 ms
(0.40%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/"
  "condition-generales-de-vente"
]
0.18 ms
(0.38%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  20
  20
  20
]
0.18 ms
(0.38%)
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:
[
  1770167009
  "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.16 ms
(0.34%)
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:
[
  1770167009
  "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.15 ms
(0.32%)
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:
[
  1770167009
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_105\x01tags\x01"
]
0.14 ms
(0.29%)
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
  "rnT4ppJVhNsK13xz0vhlp6X7ZsHgKrNLMJD5J0B8DFI="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "rnT4ppJVhNsK13xz0vhlp6X7ZsHgKrNLMJD5J0B8DFI="
]
0.13 ms
(0.26%)
1
SELECT * FROM object_url_slugs WHERE slug = '/fr/condition-generales-de-vente' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.12 ms
(0.25%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  20
]
0.11 ms
(0.22%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.06 ms
(0.12%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  31
]
0.05 ms
(0.11%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "flow.apik-pp.be"
  "%"flow.apik-pp.be"%"
]
0.05 ms
(0.10%)
1
SELECT id FROM website_settings
Parameters:
[]
0.05 ms
(0.10%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.05 ms
(0.09%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.04 ms
(0.09%)
1
SELECT id,domains FROM sites
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.