Query Metrics

957 Database Queries
72 Different statements
1565.59 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
763.97 ms
(48.80%)
1
SELECT COUNT(*) FROM objects WHERE ( objects.type IN ('object','variant','folder')) AND objects.published = 1
Parameters:
[]
116.46 ms
(7.44%)
120
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
69.12 ms
(4.42%)
93
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  2050
]
58.44 ms
(3.73%)
93
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
]
52.36 ms
(3.34%)
97
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:
[
  117
]
51.54 ms
(3.29%)
81
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:
[
  117
]
41.65 ms
(2.66%)
38
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  50
]
33.56 ms
(2.14%)
38
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  50
]
32.62 ms
(2.08%)
1
SELECT object_SuggestionAndComments.id as id, object_SuggestionAndComments.type as `type` FROM object_SuggestionAndComments WHERE (page LIKE ? AND  object_SuggestionAndComments.type IN ('object','variant','folder')) AND object_SuggestionAndComments.published = 1
Parameters:
[
  "%/the-climate/climate-forecasts/quarterly-forecast"
]
27.87 ms
(1.78%)
49
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
]
21.50 ms
(1.37%)
25
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  291524
]
20.44 ms
(1.31%)
28
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
19.57 ms
(1.25%)
38
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  50
]
19.41 ms
(1.24%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  117
]
15.50 ms
(0.99%)
25
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  291524
]
14.14 ms
(0.90%)
21
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  6
]
13.27 ms
(0.85%)
25
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  291524
]
12.57 ms
(0.80%)
5
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
11.50 ms
(0.73%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
11.44 ms
(0.73%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Region"
]
11.44 ms
(0.73%)
6
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2253
]
10.42 ms
(0.67%)
5
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/the-climate/climate-forecasts/quarterly-forecast"
  "path"
  "auto_create"
  "/ar/the-climate/climate-forecasts/quarterly-forecast"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/the-climate/climate-forecasts/quarterly-forecast"
  "entire_uri"
]
10.29 ms
(0.66%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
9.85 ms
(0.63%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  36
]
9.60 ms
(0.61%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
8.03 ms
(0.51%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  36
]
7.00 ms
(0.45%)
6
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2253
]
6.06 ms
(0.39%)
6
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2252
]
5.82 ms
(0.37%)
8
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  41
]
5.50 ms
(0.35%)
6
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2252
]
5.46 ms
(0.35%)
6
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
5.11 ms
(0.33%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
5.02 ms
(0.32%)
6
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2253
]
4.96 ms
(0.32%)
1
SELECT id,domains FROM sites
Parameters:
[]
4.83 ms
(0.31%)
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
]
4.31 ms
(0.27%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  36
]
3.71 ms
(0.24%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "w5OGH+JTvElDym1Ydqbsre5mG1u8Ed40yAT0g5lRw9c="
]
3.63 ms
(0.23%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  171
]
3.62 ms
(0.23%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,93,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  117
]
3.40 ms
(0.22%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/the-climate/climate-forecasts/"
  "quarterly-forecast"
]
3.38 ms
(0.22%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "w5OGH+JTvElDym1Ydqbsre5mG1u8Ed40yAT0g5lRw9c="
]
3.28 ms
(0.21%)
1
SELECT object_Suggestions.id as id, object_Suggestions.type as `type` FROM object_Suggestions WHERE (page LIKE ? AND WasThisPageHelpful = ? AND  object_Suggestions.type IN ('object','variant','folder')) AND object_Suggestions.published = 1
Parameters:
[
  "%/the-climate/climate-forecasts/quarterly-forecast"
  "yes"
]
3.19 ms
(0.20%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
3.16 ms
(0.20%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
2.94 ms
(0.19%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,134,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  42
]
2.67 ms
(0.17%)
3
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
1.61 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/ar/the-climate/climate-forecasts/quarterly-forecast' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
1.59 ms
(0.10%)
6
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2252
]
1.33 ms
(0.08%)
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:
[
  90
]
1.14 ms
(0.07%)
3
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.78 ms
(0.05%)
3
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.52 ms
(0.03%)
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  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
  1779250086
]
0.50 ms
(0.03%)
1
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
  1779250086
]
0.49 ms
(0.03%)
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.48 ms
(0.03%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,95,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  102
]
0.46 ms
(0.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,154,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  178
]
0.45 ms
(0.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  101
]
0.44 ms
(0.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,120,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  144
]
0.27 ms
(0.02%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,6,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  7
]
0.24 ms
(0.02%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.23 ms
(0.01%)
1
SELECT objects.id as id, objects.type as `type` FROM objects WHERE ( objects.type IN ('object','variant','folder')) AND objects.published = 1 ORDER BY `modificationDate` DESC   LIMIT 1
Parameters:
[]
0.22 ms
(0.01%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "w5OGH+JTvElDym1Ydqbsre5mG1u8Ed40yAT0g5lRw9c="
]
0.19 ms
(0.01%)
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.01%)
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
  "w5OGH+JTvElDym1Ydqbsre5mG1u8Ed40yAT0g5lRw9c="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "w5OGH+JTvElDym1Ydqbsre5mG1u8Ed40yAT0g5lRw9c="
]
0.16 ms
(0.01%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.12 ms
(0.01%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.12 ms
(0.01%)
1
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.11 ms
(0.01%)
1
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
0.11 ms
(0.01%)
1
SELECT COUNT(*) FROM documents WHERE published = 1
Parameters:
[]
0.10 ms
(0.01%)
1
SELECT documents.id, documents.type FROM documents WHERE published = 1 ORDER BY `modificationDate` DESC   LIMIT 1
Parameters:
[]
0.09 ms
(0.01%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.08 ms
(0.01%)
1
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]

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.