Query Metrics

1570 Database Queries
87 Different statements
757.25 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
114.80 ms
(15.16%)
230
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  81
]
74.96 ms
(9.90%)
230
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:
[
  81
]
58.93 ms
(7.78%)
119
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  81
]
45.55 ms
(6.01%)
75
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:
[
  633
]
43.63 ms
(5.76%)
119
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  81
]
37.72 ms
(4.98%)
119
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  81
]
33.09 ms
(4.37%)
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:
[
  5
]
32.22 ms
(4.26%)
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:
[
  5
]
29.43 ms
(3.89%)
51
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  358361
]
28.36 ms
(3.74%)
53
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
20.97 ms
(2.77%)
51
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  358361
]
16.70 ms
(2.20%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
15.33 ms
(2.02%)
51
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  358361
]
15.03 ms
(1.99%)
20
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2076
]
14.18 ms
(1.87%)
12
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
11.18 ms
(1.48%)
20
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  6
]
9.07 ms
(1.20%)
5
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
8.29 ms
(1.09%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
8.27 ms
(1.09%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  35
]
8.07 ms
(1.07%)
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  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:
[
  1783190538
]
7.40 ms
(0.98%)
20
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2076
]
7.08 ms
(0.93%)
3
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/region/najran/governorates/Badr-Al-Janub"
  "path"
  "auto_create"
  "/ar/region/najran/governorates/Badr-Al-Janub"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/region/najran/governorates/Badr-Al-Janub"
  "entire_uri"
]
6.23 ms
(0.82%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  35
]
5.84 ms
(0.77%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  35
]
5.80 ms
(0.77%)
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:
[]
5.56 ms
(0.73%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "eWORKimFB9p+kH8myUkrE9aztMyIhvfrBeekJKJWRbw="
]
5.05 ms
(0.67%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Governorate"
]
4.51 ms
(0.60%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
4.42 ms
(0.58%)
20
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2076
]
4.25 ms
(0.56%)
11
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33591
]
4.23 ms
(0.56%)
11
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33591
]
4.15 ms
(0.55%)
8
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2075
]
4.00 ms
(0.53%)
11
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33591
]
3.58 ms
(0.47%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
3.45 ms
(0.46%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  633
]
3.43 ms
(0.45%)
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
]
3.39 ms
(0.45%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "eWORKimFB9p+kH8myUkrE9aztMyIhvfrBeekJKJWRbw="
]
3.28 ms
(0.43%)
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:
[
  "%/region/najran/governorates/Badr-Al-Janub"
]
3.17 ms
(0.42%)
5
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
3.11 ms
(0.41%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  157
]
2.65 ms
(0.35%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE ((`toDate` >= ?)  AND ((governorates LIKE '%,81,%' ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  1783190535
]
2.34 ms
(0.31%)
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:
[
  "%/region/najran/governorates/Badr-Al-Janub"
]
2.09 ms
(0.28%)
1
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:
[
  1783190538
]
1.93 ms
(0.25%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,93,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  107
]
1.77 ms
(0.23%)
1
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:
[]
1.70 ms
(0.22%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/ar/region/najran/governorates/Badr-Al-Janub"
]
1.56 ms
(0.21%)
8
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2075
]
1.54 ms
(0.20%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/region/najran/governorates/"
  "Badr-Al-Janub"
]
1.52 ms
(0.20%)
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.52 ms
(0.20%)
5
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
1.45 ms
(0.19%)
8
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2075
]
1.28 ms
(0.17%)
1
SELECT object_localized_Governorate_ar.id as id, object_localized_Governorate_ar.type as `type` FROM object_localized_Governorate_ar WHERE (`govId` = '143'  AND  object_localized_Governorate_ar.type IN ('variant','object')) AND object_localized_Governorate_ar.published = 1 LIMIT 1
Parameters:
[]
1.23 ms
(0.16%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  162
]
1.04 ms
(0.14%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  41
]
0.97 ms
(0.13%)
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.97 ms
(0.13%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
0.89 ms
(0.12%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.83 ms
(0.11%)
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 ((governorates LIKE '%,81,%' ))  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:
[
  1783190535
]
0.80 ms
(0.11%)
2
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2056
]
0.79 ms
(0.10%)
1
SELECT object_localized_Region_ar.id as id, object_localized_Region_ar.type as `type` FROM object_localized_Region_ar WHERE (`url` = 'najran'  AND  object_localized_Region_ar.type IN ('variant','object')) AND object_localized_Region_ar.published = 1 LIMIT 1
Parameters:
[]
0.74 ms
(0.10%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '791'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.72 ms
(0.09%)
1
SELECT object_localized_Mountain_ar.id as id, object_localized_Mountain_ar.type as `type` FROM object_localized_Mountain_ar WHERE (region__id = ? AND  object_localized_Mountain_ar.type IN ('object','variant','folder')) AND object_localized_Mountain_ar.published = 1
Parameters:
[
  35
]
0.66 ms
(0.09%)
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.63 ms
(0.08%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,95,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  102
]
0.61 ms
(0.08%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
0.61 ms
(0.08%)
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.58 ms
(0.08%)
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.57 ms
(0.07%)
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:
[
  "%/region/najran/governorates/Badr-Al-Janub"
  "yes"
]
0.55 ms
(0.07%)
2
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2056
]
0.53 ms
(0.07%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1020'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.46 ms
(0.06%)
1
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.44 ms
(0.06%)
1
SELECT object_localized_Governorate_ar.id as id, object_localized_Governorate_ar.type as `type` FROM object_localized_Governorate_ar WHERE (`url` = 'Badr-Al-Janub'  AND  object_localized_Governorate_ar.type IN ('variant','object')) AND object_localized_Governorate_ar.published = 1 LIMIT 1
Parameters:
[]
0.40 ms
(0.05%)
1
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.38 ms
(0.05%)
1
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.35 ms
(0.05%)
2
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2056
]
0.32 ms
(0.04%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "eWORKimFB9p+kH8myUkrE9aztMyIhvfrBeekJKJWRbw="
]
0.29 ms
(0.04%)
1
SELECT object_localized_Governorate_ar.id as id, object_localized_Governorate_ar.type as `type` FROM object_localized_Governorate_ar WHERE (url != ? AND region__id = ? AND  object_localized_Governorate_ar.type IN ('object','variant','folder')) AND object_localized_Governorate_ar.published = 1 LIMIT 6
Parameters:
[
  "Badr-Al-Janub"
  35
]
0.28 ms
(0.04%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,157,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  179
]
0.28 ms
(0.04%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1180'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.23 ms
(0.03%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.21 ms
(0.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.20 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.18 ms
(0.02%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.14 ms
(0.02%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.13 ms
(0.02%)
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
  "eWORKimFB9p+kH8myUkrE9aztMyIhvfrBeekJKJWRbw="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "eWORKimFB9p+kH8myUkrE9aztMyIhvfrBeekJKJWRbw="
]
0.09 ms
(0.01%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.06 ms
(0.01%)
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.