Query Metrics

17 Database Queries
10 Different statements
55.91 ms Query time
2 Invalid entities
15 Managed entities

Queries

Group similar statements

# Time Info
1 3.00 ms
SELECT m.id FROM `manager` m WHERE m.service <> '' AND JSON_CONTAINS(m.service, ?) = 1
Parameters:
[
  "["4"]"
]
2 0.81 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.service AS service_2, m0_.position AS position_3, m0_.email AS email_4, m0_.telephone AS telephone_5, m0_.title AS title_6 FROM manager m0_ WHERE m0_.id IN (?, ?, ?, ?)) dctrn_result) dctrn_table
Parameters:
[
  48
  52
  53
  54
]
3 0.67 ms
SELECT DISTINCT id_0 FROM (SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.service AS service_2, m0_.position AS position_3, m0_.email AS email_4, m0_.telephone AS telephone_5, m0_.title AS title_6 FROM manager m0_ WHERE m0_.id IN (?, ?, ?, ?)) dctrn_result LIMIT 50
Parameters:
[
  48
  52
  53
  54
]
4 2.61 ms
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.service AS service_2, m0_.position AS position_3, m0_.email AS email_4, m0_.telephone AS telephone_5, m0_.title AS title_6, m0_.image_id AS image_id_7 FROM manager m0_ WHERE m0_.id IN (?, ?, ?, ?) AND m0_.id IN (?, ?, ?, ?)
Parameters:
[
  48
  52
  53
  54
  48
  52
  53
  54
]
5 1.63 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "48"
  "en"
  "App\Entity\Manager"
]
6 4.64 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "52"
  "en"
  "App\Entity\Manager"
]
7 0.60 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "53"
  "en"
  "App\Entity\Manager"
]
8 0.63 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "54"
  "en"
  "App\Entity\Manager"
]
9 19.16 ms
SELECT p0_.id AS id_0, COALESCE(t1_.content, p0_.name) AS name_1, p0_.slug AS slug_2 FROM program_level_group p0_ INNER JOIN program_level p2_ ON p0_.id = p2_.group_id INNER JOIN program p4_ ON p2_.id = p4_.level_id LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'name' AND t1_.object_class = 'App\\Entity\\ProgramLevelGroup' AND t1_.foreign_key = p0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'en' AND t3_.field = 'name' AND t3_.object_class = 'App\\Entity\\ProgramLevel' AND t3_.foreign_key = p2_.id LEFT JOIN ext_translations t5_ ON t5_.locale = 'en' AND t5_.field = 'name' AND t5_.object_class = 'App\\Entity\\Program' AND t5_.foreign_key = p4_.id LEFT JOIN ext_translations t6_ ON t6_.locale = 'en' AND t6_.field = 'metadata' AND t6_.object_class = 'App\\Entity\\Program' AND t6_.foreign_key = p4_.id LEFT JOIN ext_translations t7_ ON t7_.locale = 'en' AND t7_.field = 'description' AND t7_.object_class = 'App\\Entity\\Program' AND t7_.foreign_key = p4_.id LEFT JOIN ext_translations t8_ ON t8_.locale = 'en' AND t8_.field = 'entreprise' AND t8_.object_class = 'App\\Entity\\Program' AND t8_.foreign_key = p4_.id LEFT JOIN ext_translations t9_ ON t9_.locale = 'en' AND t9_.field = 'subtitle' AND t9_.object_class = 'App\\Entity\\Program' AND t9_.foreign_key = p4_.id WHERE p4_.status = 1 GROUP BY p0_.id ORDER BY p0_.id ASC
Parameters:
[]
10 4.64 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.status AS status_3, c0_.ordering AS ordering_4, c0_.city AS city_5, c0_.youtube_url AS youtube_url_6, c0_.link360 AS link360_7, c0_.address AS address_8, c0_.cp AS cp_9, c0_.description AS description_10, c0_.is_main AS is_main_11, c0_.google_map AS google_map_12, c0_.created_date AS created_date_13, c0_.updated_date AS updated_date_14, c0_.seo_title AS seo_title_15, c0_.seo_h1 AS seo_h1_16, c0_.seo_keyword AS seo_keyword_17, c0_.seo_description AS seo_description_18 FROM campus c0_ LEFT JOIN manager_campus m2_ ON c0_.id = m2_.campus_id LEFT JOIN manager m1_ ON m1_.id = m2_.manager_id LEFT JOIN news_campus n4_ ON c0_.id = n4_.campus_id LEFT JOIN news n3_ ON n3_.id = n4_.news_id WHERE (c0_.description <> '' OR c0_.address <> '' OR c0_.link360 <> '' OR c0_.youtube_url <> '') AND c0_.id IN (?, ?, ?)) dctrn_result) dctrn_table
Parameters:
[
  1
  2
  4
]
11 4.14 ms
SELECT DISTINCT id_0 FROM (SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.status AS status_3, c0_.ordering AS ordering_4, c0_.city AS city_5, c0_.youtube_url AS youtube_url_6, c0_.link360 AS link360_7, c0_.address AS address_8, c0_.cp AS cp_9, c0_.description AS description_10, c0_.is_main AS is_main_11, c0_.google_map AS google_map_12, c0_.created_date AS created_date_13, c0_.updated_date AS updated_date_14, c0_.seo_title AS seo_title_15, c0_.seo_h1 AS seo_h1_16, c0_.seo_keyword AS seo_keyword_17, c0_.seo_description AS seo_description_18 FROM campus c0_ LEFT JOIN manager_campus m2_ ON c0_.id = m2_.campus_id LEFT JOIN manager m1_ ON m1_.id = m2_.manager_id LEFT JOIN news_campus n4_ ON c0_.id = n4_.campus_id LEFT JOIN news n3_ ON n3_.id = n4_.news_id WHERE (c0_.description <> '' OR c0_.address <> '' OR c0_.link360 <> '' OR c0_.youtube_url <> '') AND c0_.id IN (?, ?, ?)) dctrn_result LIMIT 50
Parameters:
[
  1
  2
  4
]
12 5.74 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.status AS status_3, c0_.ordering AS ordering_4, c0_.city AS city_5, c0_.youtube_url AS youtube_url_6, c0_.link360 AS link360_7, c0_.address AS address_8, c0_.cp AS cp_9, c0_.description AS description_10, c0_.is_main AS is_main_11, c0_.google_map AS google_map_12, c0_.created_date AS created_date_13, c0_.updated_date AS updated_date_14, c0_.seo_title AS seo_title_15, c0_.seo_h1 AS seo_h1_16, c0_.seo_keyword AS seo_keyword_17, c0_.seo_description AS seo_description_18, c0_.logo_id AS logo_id_19, c0_.country_id AS country_id_20 FROM campus c0_ LEFT JOIN manager_campus m2_ ON c0_.id = m2_.campus_id LEFT JOIN manager m1_ ON m1_.id = m2_.manager_id LEFT JOIN news_campus n4_ ON c0_.id = n4_.campus_id LEFT JOIN news n3_ ON n3_.id = n4_.news_id WHERE (c0_.description <> '' OR c0_.address <> '' OR c0_.link360 <> '' OR c0_.youtube_url <> '') AND c0_.id IN (?, ?, ?) AND c0_.id IN (?, ?, ?)
Parameters:
[
  1
  2
  4
  1
  2
  4
]
13 0.46 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "1"
  "en"
  "App\Entity\Campus"
]
14 0.44 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "2"
  "en"
  "App\Entity\Campus"
]
15 0.35 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "4"
  "en"
  "App\Entity\Campus"
]
16 4.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.ordering AS ordering_4, t0.nationality AS nationality_5, t0.language AS language_6, t0.zone_id AS zone_id_7 FROM country t0 WHERE t0.id = ?
Parameters:
[
  1
]
17 2.13 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.ordering AS ordering_4, t0.nationality AS nationality_5, t0.language AS language_6, t0.zone_id AS zone_id_7 FROM country t0 WHERE t0.id = ?
Parameters:
[
  96
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Manager 4
App\Entity\Media 4
App\Entity\Campus 3
App\Entity\Country 2
App\Entity\Zone 2

Entities Mapping

Class Mapping errors
App\Entity\Manager No errors.
App\Entity\Media No errors.
App\Entity\Campus No errors.
Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation No errors.
Gedmo\Translatable\Entity\Translation No errors.
App\Entity\ProgramLevelGroup No errors.
App\Entity\ProgramLevel No errors.
App\Entity\Program No errors.
App\Entity\News No errors.
App\Entity\Country No errors.
App\Entity\Profile
  • The mappings App\Entity\Profile#commercial and App\Entity\User#profiles are inconsistent with each other.
App\Entity\SpoDate No errors.
App\Entity\CampusImage No errors.
App\Entity\AcademicPartner No errors.
App\Entity\Zone No errors.
App\Entity\User
  • The mappings App\Entity\User#nationality and App\Entity\Country#users are inconsistent with each other.
  • The association App\Entity\User#campuses refers to the inverse side field App\Entity\Campus#users which does not exist.
App\Entity\Partenaire No errors.