Query Metrics

1509 Database Queries
96 Different statements
1898.10 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
941.33 ms
(49.59%)
1
SELECT COUNT(*) FROM objects WHERE ( objects.type IN ('object','variant','folder')) AND objects.published = 1
Parameters:
[]
156.96 ms
(8.27%)
219
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  357654
]
108.13 ms
(5.70%)
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:
[
  357654
]
80.28 ms
(4.23%)
114
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  206
]
69.89 ms
(3.68%)
114
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  206
]
43.56 ms
(2.29%)
114
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  206
]
42.95 ms
(2.26%)
78
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:
[
  374
]
38.55 ms
(2.03%)
45
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  357654
]
37.08 ms
(1.95%)
45
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  357654
]
34.08 ms
(1.80%)
45
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  357654
]
25.51 ms
(1.34%)
54
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  4
]
24.83 ms
(1.31%)
65
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:
[
  58
]
23.53 ms
(1.24%)
50
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:
[
  58
]
11.65 ms
(0.61%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  37
]
10.84 ms
(0.57%)
7
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
10.78 ms
(0.57%)
20
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2067
]
9.57 ms
(0.50%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
9.45 ms
(0.50%)
20
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2067
]
9.37 ms
(0.49%)
20
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2067
]
8.84 ms
(0.47%)
20
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  58
]
8.57 ms
(0.45%)
2
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:
[]
8.24 ms
(0.43%)
9
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "manned_alert_notification"
]
7.53 ms
(0.40%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  37
]
7.24 ms
(0.38%)
11
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33591
]
7.05 ms
(0.37%)
8
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2066
]
6.18 ms
(0.33%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  160
]
5.65 ms
(0.30%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  152
]
5.64 ms
(0.30%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,92,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  106
]
5.58 ms
(0.29%)
2
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:
[
  1783194246
]
5.47 ms
(0.29%)
11
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33591
]
5.25 ms
(0.28%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  37
]
5.15 ms
(0.27%)
8
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2066
]
5.00 ms
(0.26%)
12
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  4
]
4.66 ms
(0.25%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  89
]
4.62 ms
(0.24%)
7
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/early-warning/81658"
  "path"
  "auto_create"
  "/en/early-warning/81658"
  "path_query"
  "https://devncmpublic.centricdxb.com/en/early-warning/81658"
  "entire_uri"
]
4.62 ms
(0.24%)
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
]
4.47 ms
(0.24%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/early-warning/81658"
]
4.45 ms
(0.23%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ld4fqydyFcsB7Sptl7m27tXicVK9uJ7tvZo1DpuPODY="
]
4.27 ms
(0.23%)
1
SELECT COUNT(*) FROM documents WHERE published = 1
Parameters:
[]
4.21 ms
(0.22%)
2
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:
[
  1783194246
]
4.21 ms
(0.22%)
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:
[
  "%/early-warning/81658"
]
4.05 ms
(0.21%)
2
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:
[]
4.05 ms
(0.21%)
2
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1471'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
4.01 ms
(0.21%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/early-warning/"
  "81658"
]
4.01 ms
(0.21%)
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 ((alertId = 81658 ))  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:
[
  1783194247
]
3.92 ms
(0.21%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  22
]
3.48 ms
(0.18%)
11
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33591
]
3.41 ms
(0.18%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ld4fqydyFcsB7Sptl7m27tXicVK9uJ7tvZo1DpuPODY="
]
3.25 ms
(0.17%)
4
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2157
]
3.11 ms
(0.16%)
2
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:
[]
3.02 ms
(0.16%)
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
  "ld4fqydyFcsB7Sptl7m27tXicVK9uJ7tvZo1DpuPODY="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ld4fqydyFcsB7Sptl7m27tXicVK9uJ7tvZo1DpuPODY="
]
2.99 ms
(0.16%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  63
]
2.98 ms
(0.16%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "ld4fqydyFcsB7Sptl7m27tXicVK9uJ7tvZo1DpuPODY="
]
2.94 ms
(0.15%)
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:
[
  56
]
2.83 ms
(0.15%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
2.82 ms
(0.15%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,84,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  17
]
2.65 ms
(0.14%)
8
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2066
]
2.44 ms
(0.13%)
2
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1020'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
2.44 ms
(0.13%)
2
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '791'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
2.00 ms
(0.11%)
2
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '616'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
1.84 ms
(0.10%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE ((`toDate` >= ?)  AND ((alertId = 81658 ))  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  1783194247
]
1.81 ms
(0.10%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  188
]
1.51 ms
(0.08%)
2
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:
[]
1.39 ms
(0.07%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  0
]
1.26 ms
(0.07%)
4
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2157
]
1.15 ms
(0.06%)
2
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
1.09 ms
(0.06%)
2
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '621'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
1.05 ms
(0.06%)
4
SELECT * FROM versions WHERE id = ?
Parameters:
[
  176166
]
1.02 ms
(0.05%)
2
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1472'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.94 ms
(0.05%)
2
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.89 ms
(0.05%)
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 (alertId = ? AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 LIMIT 1
Parameters:
[
  "81658"
]
0.70 ms
(0.04%)
1
SELECT id FROM versions WHERE cid = ? AND ctype = ?  AND autoSave = 0 ORDER BY `id` ASC
Parameters:
[
  358028
  "object"
]
0.70 ms
(0.04%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,25,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  161
]
0.69 ms
(0.04%)
2
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1180'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.58 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.49 ms
(0.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  4
]
0.46 ms
(0.02%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,94,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  103
]
0.46 ms
(0.02%)
4
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2157
]
0.46 ms
(0.02%)
2
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.45 ms
(0.02%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  0
]
0.43 ms
(0.02%)
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:
[
  "%/early-warning/81658"
  "yes"
]
0.36 ms
(0.02%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
0.36 ms
(0.02%)
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.35 ms
(0.02%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  0
]
0.33 ms
(0.02%)
1
SELECT object_Suggestions.id as id, object_Suggestions.type as `type` FROM object_Suggestions WHERE (page LIKE ? AND  object_Suggestions.type IN ('object','variant','folder')) AND object_Suggestions.published = 1
Parameters:
[
  "%/early-warning/81658"
]
0.23 ms
(0.01%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,89,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  100
]
0.20 ms
(0.01%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,160,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  175
]
0.17 ms
(0.01%)
1
SELECT documents.id, documents.type FROM documents WHERE published = 1 ORDER BY `modificationDate` DESC   LIMIT 1
Parameters:
[]
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.16 ms
(0.01%)
1
SELECT * FROM object_store_twitter_feed WHERE oo_id = ? FOR UPDATE
Parameters:
[
  353774
]
0.15 ms
(0.01%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.14 ms
(0.01%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.12 ms
(0.01%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.11 ms
(0.01%)
1
SELECT * FROM object_relations_twitter_feed WHERE src_id = ?
Parameters:
[
  353774
]
0.11 ms
(0.01%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.10 ms
(0.01%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  0
]

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.