Query Metrics

1273 Database Queries
87 Different statements
144.81 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
15.32 ms
(10.58%)
178
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:
[
  93269
]
12.89 ms
(8.90%)
178
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  93269
]
11.69 ms
(8.08%)
94
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:
[
  848805
]
7.34 ms
(5.07%)
80
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  81
]
6.42 ms
(4.44%)
63
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:
[
  123
]
6.41 ms
(4.43%)
48
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:
[
  123
]
6.13 ms
(4.24%)
80
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  81
]
5.81 ms
(4.02%)
80
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  81
]
5.41 ms
(3.73%)
54
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  4
]
4.03 ms
(2.78%)
20
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2397
]
3.97 ms
(2.74%)
20
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  2
]
3.95 ms
(2.73%)
10
SELECT * FROM object_relations_OurServices WHERE src_id = ?
Parameters:
[
  227273
]
3.72 ms
(2.57%)
20
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2397
]
3.38 ms
(2.33%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "KBL/KzuZ9Q0efGlUNS3AylKMrWIK1w2rJV1qu+HtZBk="
]
3.37 ms
(2.32%)
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:
[
  "/en/services/request-services"
  "path"
  "auto_create"
  "/en/services/request-services?service=2897"
  "path_query"
  "https://devncmpublic.centricdxb.com/en/services/request-services?service=2897"
  "entire_uri"
]
3.15 ms
(2.18%)
37
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  347039
]
3.11 ms
(2.15%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "KBL/KzuZ9Q0efGlUNS3AylKMrWIK1w2rJV1qu+HtZBk="
]
3.04 ms
(2.10%)
37
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  347039
]
2.87 ms
(1.98%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
2.48 ms
(1.71%)
1
SELECT id,domains FROM sites
Parameters:
[]
2.40 ms
(1.66%)
37
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  347039
]
2.30 ms
(1.59%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  36
]
1.47 ms
(1.01%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  36
]
1.40 ms
(0.97%)
12
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  4
]
1.31 ms
(0.91%)
10
SELECT * FROM object_localized_data_OurServices WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  227273
]
1.29 ms
(0.89%)
20
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2397
]
1.23 ms
(0.85%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  36
]
0.93 ms
(0.64%)
10
SELECT * FROM object_store_OurServices WHERE oo_id = ? FOR UPDATE
Parameters:
[
  227273
]
0.91 ms
(0.63%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  123
]
0.79 ms
(0.54%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,92,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  106
]
0.76 ms
(0.53%)
10
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Category"
]
0.72 ms
(0.50%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  89
]
0.72 ms
(0.50%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,84,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  17
]
0.71 ms
(0.49%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE ((`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  1781723179
]
0.71 ms
(0.49%)
1
SELECT object_localized_manned_alert_notification_en.id as id, object_localized_manned_alert_notification_en.type as `type` FROM object_localized_manned_alert_notification_en WHERE ((`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 ORDER BY `lastModifiedDate` DESC
Parameters:
[
  1781723179
]
0.63 ms
(0.44%)
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:
[
  135
]
0.60 ms
(0.42%)
7
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2396
]
0.57 ms
(0.39%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  160
]
0.50 ms
(0.35%)
6
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:
[
  3
]
0.50 ms
(0.35%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.48 ms
(0.33%)
7
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2396
]
0.47 ms
(0.33%)
7
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2396
]
0.44 ms
(0.31%)
4
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33591
]
0.43 ms
(0.30%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  63
]
0.38 ms
(0.26%)
1
SELECT object_localized_OurServices_en.id as id, object_localized_OurServices_en.type as `type` FROM object_localized_OurServices_en WHERE (category__id = ? AND  object_localized_OurServices_en.type IN ('object','variant','folder')) AND object_localized_OurServices_en.published = 1 ORDER BY `orderId` ASC
Parameters:
[
  93269
]
0.35 ms
(0.24%)
4
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33591
]
0.35 ms
(0.24%)
3
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.33 ms
(0.23%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,94,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  103
]
0.31 ms
(0.22%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1181'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.30 ms
(0.21%)
1
SELECT object_localized_Category_en.id as id, object_localized_Category_en.type as `type` FROM object_localized_Category_en WHERE (`name` = 'Main Services'  AND  object_localized_Category_en.type IN ('variant','object')) AND object_localized_Category_en.published = 1
Parameters:
[]
0.30 ms
(0.21%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,25,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  161
]
0.30 ms
(0.21%)
3
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
0.29 ms
(0.20%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '974'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.29 ms
(0.20%)
4
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33591
]
0.29 ms
(0.20%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '753'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.26 ms
(0.18%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1369'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.21 ms
(0.15%)
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.21 ms
(0.14%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  188
]
0.21 ms
(0.14%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/services/"
  "request-services"
]
0.20 ms
(0.14%)
3
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
0.19 ms
(0.13%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.19 ms
(0.13%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.19 ms
(0.13%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.19 ms
(0.13%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.18 ms
(0.13%)
2
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.18 ms
(0.12%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "KBL/KzuZ9Q0efGlUNS3AylKMrWIK1w2rJV1qu+HtZBk="
]
0.17 ms
(0.12%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,89,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  100
]
0.16 ms
(0.11%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/services/request-services' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.16 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,160,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  175
]
0.16 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  4
]
0.15 ms
(0.11%)
2
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.14 ms
(0.10%)
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
  "KBL/KzuZ9Q0efGlUNS3AylKMrWIK1w2rJV1qu+HtZBk="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "KBL/KzuZ9Q0efGlUNS3AylKMrWIK1w2rJV1qu+HtZBk="
]
0.14 ms
(0.10%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.13 ms
(0.09%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227273
Parameters:
[]
0.12 ms
(0.08%)
2
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.11 ms
(0.08%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227274
Parameters:
[]
0.11 ms
(0.07%)
1
SELECT * FROM object_localized_data_Category WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  93269
]
0.11 ms
(0.07%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227275
Parameters:
[]
0.11 ms
(0.07%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 2897
Parameters:
[]
0.08 ms
(0.06%)
1
SELECT * FROM object_relations_Category WHERE src_id = ?
Parameters:
[
  93269
]
0.08 ms
(0.06%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227276
Parameters:
[]
0.08 ms
(0.05%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 2898
Parameters:
[]
0.07 ms
(0.05%)
1
SELECT * FROM object_store_Category WHERE oo_id = ? FOR UPDATE
Parameters:
[
  93269
]
0.07 ms
(0.05%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 32161
Parameters:
[]
0.06 ms
(0.04%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 32137
Parameters:
[]
0.06 ms
(0.04%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 7
Parameters:
[]
0.06 ms
(0.04%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 6
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.