Query Metrics

1514 Database Queries
82 Different statements
147.65 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
15.72 ms
(10.65%)
219
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:
[
  358923
]
13.88 ms
(9.40%)
219
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  358923
]
11.96 ms
(8.10%)
83
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
]
8.98 ms
(6.08%)
114
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  90
]
7.72 ms
(5.23%)
114
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  90
]
7.60 ms
(5.14%)
53
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
7.57 ms
(5.13%)
67
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
]
6.64 ms
(4.50%)
77
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:
[
  377
]
6.48 ms
(4.39%)
114
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  90
]
4.23 ms
(2.87%)
50
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  358923
]
4.21 ms
(2.85%)
50
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  358923
]
4.14 ms
(2.80%)
12
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
4.02 ms
(2.72%)
20
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  62
]
3.13 ms
(2.12%)
50
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  358923
]
2.91 ms
(1.97%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
2.64 ms
(1.79%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NOaTdSbUcxSBY+Ro8X5sAGoWYmHKpsRirvNi9QtH98="
]
1.93 ms
(1.31%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NOaTdSbUcxSBY+Ro8X5sAGoWYmHKpsRirvNi9QtH98="
]
1.58 ms
(1.07%)
20
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2094
]
1.53 ms
(1.04%)
2
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE ((`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  1783287071
]
1.46 ms
(0.99%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,93,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  107
]
1.45 ms
(0.98%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
1.43 ms
(0.97%)
2
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 ((`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:
[
  1783287071
]
1.24 ms
(0.84%)
20
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2094
]
1.23 ms
(0.83%)
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.18 ms
(0.80%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33
]
1.12 ms
(0.76%)
20
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2094
]
1.07 ms
(0.72%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  41
]
0.92 ms
(0.62%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  33
]
0.90 ms
(0.61%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  157
]
0.86 ms
(0.58%)
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.81 ms
(0.55%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33
]
0.77 ms
(0.52%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
0.73 ms
(0.49%)
9
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33591
]
0.71 ms
(0.48%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1181'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.64 ms
(0.43%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '616'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.62 ms
(0.42%)
8
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2093
]
0.59 ms
(0.40%)
9
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33591
]
0.59 ms
(0.40%)
1
SELECT id FROM versions WHERE cid = ? AND ctype = ?  AND autoSave = 0 ORDER BY `id` ASC
Parameters:
[
  358876
  "object"
]
0.56 ms
(0.38%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '621'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.55 ms
(0.37%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
0.55 ms
(0.37%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  162
]
0.54 ms
(0.37%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '753'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.54 ms
(0.36%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1471'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.51 ms
(0.34%)
9
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33591
]
0.50 ms
(0.34%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,95,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  102
]
0.50 ms
(0.34%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '942'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.48 ms
(0.33%)
8
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2093
]
0.48 ms
(0.32%)
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 ((`toDate` >= ?)  AND ((alertId = 81736 ))  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:
[
  1783287071
]
0.47 ms
(0.32%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1369'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.46 ms
(0.31%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "manned_alert_notification"
]
0.45 ms
(0.31%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1472'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.45 ms
(0.30%)
8
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2093
]
0.43 ms
(0.29%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '974'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.42 ms
(0.28%)
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:
[
  "/ar/early-warning/81736"
  "path"
  "auto_create"
  "/ar/early-warning/81736"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/early-warning/81736"
  "entire_uri"
]
0.38 ms
(0.26%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE ((`toDate` >= ?)  AND ((alertId = 81736 ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  1783287071
]
0.34 ms
(0.23%)
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:
[
  "81736"
]
0.23 ms
(0.16%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.23 ms
(0.15%)
4
SELECT * FROM versions WHERE id = ?
Parameters:
[
  183327
]
0.23 ms
(0.15%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.22 ms
(0.15%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.22 ms
(0.15%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,157,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  179
]
0.21 ms
(0.14%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.20 ms
(0.13%)
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.19 ms
(0.13%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  101
]
0.18 ms
(0.12%)
2
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.17 ms
(0.12%)
2
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.15 ms
(0.10%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/early-warning/"
  "81736"
]
0.15 ms
(0.10%)
2
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
0.14 ms
(0.10%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NOaTdSbUcxSBY+Ro8X5sAGoWYmHKpsRirvNi9QtH98="
]
0.14 ms
(0.09%)
2
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.13 ms
(0.09%)
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
  "7NOaTdSbUcxSBY+Ro8X5sAGoWYmHKpsRirvNi9QtH98="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NOaTdSbUcxSBY+Ro8X5sAGoWYmHKpsRirvNi9QtH98="
]
0.13 ms
(0.09%)
2
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
0.13 ms
(0.09%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  0
]
0.13 ms
(0.09%)
2
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.11 ms
(0.08%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.11 ms
(0.07%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  0
]
0.11 ms
(0.07%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  0
]
0.10 ms
(0.07%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.10 ms
(0.07%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  0
]
0.06 ms
(0.04%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.05 ms
(0.04%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/ar/early-warning/81736"
]
0.05 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.