Query Metrics

454 Database Queries
51 Different statements
202.23 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
35.65 ms
(17.63%)
95
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  62
]
25.69 ms
(12.70%)
59
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
22.22 ms
(10.99%)
79
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  62
]
15.57 ms
(7.70%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ERuLnkoMwGymA5hq2IziUhZ0eLtYljffcOWrDyGQT0A="
]
10.72 ms
(5.30%)
21
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  62
]
8.10 ms
(4.01%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  153
]
7.77 ms
(3.84%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
7.25 ms
(3.59%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ERuLnkoMwGymA5hq2IziUhZ0eLtYljffcOWrDyGQT0A="
]
6.74 ms
(3.33%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
5.50 ms
(2.72%)
26
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:
[
  383
]
5.35 ms
(2.65%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
4.79 ms
(2.37%)
3
SELECT object_localized_manned_alert_notification_ar.id as id, object_localized_manned_alert_notification_ar.type as `type` FROM object_localized_manned_alert_notification_ar WHERE (((isEws = ? OR isEws IS NULL))  AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1 ORDER BY `lastModifiedDate` DESC
Parameters:
[
  0
  1775283213
]
3.77 ms
(1.86%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,93,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  107
]
3.43 ms
(1.70%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  36
]
3.16 ms
(1.56%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,6,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  153
]
3.06 ms
(1.51%)
6
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
3.01 ms
(1.49%)
14
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
2.90 ms
(1.43%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
2.45 ms
(1.21%)
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:
[
  "/ar/early-warning/76984"
  "path"
  "auto_create"
  "/ar/early-warning/76984"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/early-warning/76984"
  "entire_uri"
]
2.23 ms
(1.10%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  36
]
2.17 ms
(1.07%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "manned_alert_notification"
]
1.60 ms
(0.79%)
1
SELECT object_localized_manned_alert_notification_ar.id as id, object_localized_manned_alert_notification_ar.type as `type` FROM object_localized_manned_alert_notification_ar WHERE (alertId = ? AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1 LIMIT 1
Parameters:
[
  "76984"
]
1.52 ms
(0.75%)
7
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  7
]
1.45 ms
(0.72%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  36
]
1.42 ms
(0.70%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
1.32 ms
(0.65%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
1.31 ms
(0.65%)
3
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE (((isEws = ? OR isEws IS NULL))  AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  0
  1775283213
]
1.24 ms
(0.61%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  171
]
1.19 ms
(0.59%)
8
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  41
]
1.13 ms
(0.56%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,120,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  144
]
1.08 ms
(0.54%)
14
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  2050
]
1.05 ms
(0.52%)
14
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  2050
]
0.96 ms
(0.47%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP(NOW(6)) + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP(NOW(6)))
Parameters:
[
  300.0
  "ERuLnkoMwGymA5hq2IziUhZ0eLtYljffcOWrDyGQT0A="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ERuLnkoMwGymA5hq2IziUhZ0eLtYljffcOWrDyGQT0A="
]
0.85 ms
(0.42%)
1
SELECT object_localized_manned_alert_notification_ar.id as id, object_localized_manned_alert_notification_ar.type as `type` FROM object_localized_manned_alert_notification_ar WHERE (((isEws = ? OR isEws IS NULL))  AND (`toDate` >= ?)  AND ((alertId = 76984 ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1 ORDER BY `lastModifiedDate` DESC
Parameters:
[
  0
  1775283213
]
0.73 ms
(0.36%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,95,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  102
]
0.58 ms
(0.28%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  101
]
0.55 ms
(0.27%)
7
SELECT documents.*, documents_link.*, tree_locks.locked FROM documents
            LEFT JOIN documents_link ON documents.id = documents_link.id
                LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  28
]
0.54 ms
(0.27%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
0.31 ms
(0.16%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ERuLnkoMwGymA5hq2IziUhZ0eLtYljffcOWrDyGQT0A="
]
0.24 ms
(0.12%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/early-warning/"
  "76984"
]
0.21 ms
(0.10%)
1
SELECT objects.id as id, objects.type as `type` FROM objects WHERE (parentId = ? AND  objects.type IN ('object','variant','folder')) AND objects.published = 1 ORDER BY `key` ASC
Parameters:
[
  2050
]
0.20 ms
(0.10%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,154,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  178
]
0.20 ms
(0.10%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,157,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  179
]
0.17 ms
(0.09%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,134,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  126
]
0.17 ms
(0.08%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE (((isEws = ? OR isEws IS NULL))  AND (`toDate` >= ?)  AND ((alertId = 76984 ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  0
  1775283213
]
0.15 ms
(0.07%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.14 ms
(0.07%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.14 ms
(0.07%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.12 ms
(0.06%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.08 ms
(0.04%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/ar/early-warning/76984"
]
0.06 ms
(0.03%)
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.

Managed Entities

No managed entities.

Entities Mapping

No mapped entities.