GET https://sandbox.cgenial-connect.fr/entreprise/17-Groupe-Avril

Query Metrics

18 Database Queries
12 Different statements
6.69 ms Query time
3 Invalid entities
9 Managed entities

Queries

Group similar statements

# Time Info
1 0.70 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.activity_area_more AS activity_area_more_4, t0.head_office_address AS head_office_address_5, t0.head_office_zipcode AS head_office_zipcode_6, t0.head_office_city AS head_office_city_7, t0.head_office_country AS head_office_country_8, t0.nb_employees AS nb_employees_9, t0.logo AS logo_10, t0.website_url AS website_url_11, t0.perimeter AS perimeter_12, t0.skills AS skills_13, t0.partner AS partner_14, t0.partner_itdlc AS partner_itdlc_15, t0.partner_pee AS partner_pee_16, t0.partner_foundation AS partner_foundation_17, t0.slug AS slug_18, t0.max_published_pee AS max_published_pee_19, t0.count_pee_subscription_came AS count_pee_subscription_came_20, t0.count_speaker AS count_speaker_21, t0.count_itdlc_archived AS count_itdlc_archived_22, t0.count_itdlc_aborted_by_speaker AS count_itdlc_aborted_by_speaker_23, t0.count_itdlc_archived_children AS count_itdlc_archived_children_24, t0.count_company_location AS count_company_location_25, t0.company_idv1 AS company_idv1_26, t0.other_activity_area AS other_activity_area_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29, t0.idv1 AS idv1_30, t0.comment AS comment_31, t0.activity_area_id AS activity_area_id_32, t0.academy_id AS academy_id_33, t0.corporation_id AS corporation_id_34, t0.created_by AS created_by_35, t0.updated_by AS updated_by_36 FROM company t0 WHERE t0.id = ? AND t0.status = ? AND t0.partner = ? LIMIT 1
Parameters:
[
  17
  "published"
  1
]
2 1.03 ms
SELECT p0_.id AS id_0, p0_.type AS type_1, p0_.occure_at AS occure_at_2, p0_.start_at AS start_at_3, p0_.finish_at AS finish_at_4, p0_.subscription_finish_at AS subscription_finish_at_5, p0_.subscription_finish_at_time AS subscription_finish_at_time_6, p0_.subscribers_min AS subscribers_min_7, p0_.subscribers_max AS subscribers_max_8, p0_.validation_type AS validation_type_9, p0_.speaker_profil_fields AS speaker_profil_fields_10, p0_.subscriber_profil_fields AS subscriber_profil_fields_11, p0_.subscriber_profil_more_field_label AS subscriber_profil_more_field_label_12, p0_.visit_name AS visit_name_13, p0_.webinar_name AS webinar_name_14, p0_.download_file_mimes AS download_file_mimes_15, p0_.steps AS steps_16, p0_.company_location_steps AS company_location_steps_17, p0_.technical_work_shop_step AS technical_work_shop_step_18, p0_.commitment AS commitment_19, p0_.instructions AS instructions_20, p0_.accessibility AS accessibility_21, p0_.accessibility_more AS accessibility_more_22, p0_.more_informations AS more_informations_23, p0_.has_public_transport AS has_public_transport_24, p0_.public_transport_information AS public_transport_information_25, p0_.access_information AS access_information_26, p0_.access_map AS access_map_27, p0_.parking_informations AS parking_informations_28, p0_.required_documents AS required_documents_29, p0_.delay_before_starting AS delay_before_starting_30, p0_.cefpep_available AS cefpep_available_31, p0_.cefpep_name AS cefpep_name_32, p0_.cefpep_uid AS cefpep_uid_33, p0_.module_name AS module_name_34, p0_.module_number AS module_number_35, p0_.paf_name AS paf_name_36, p0_.paf_uid AS paf_uid_37, p0_.paf_available AS paf_available_38, p0_.paf_information AS paf_information_39, p0_.paf_limit_date AS paf_limit_date_40, p0_.paf_url AS paf_url_41, p0_.visio_platform AS visio_platform_42, p0_.visio_platform_other AS visio_platform_other_43, p0_.visio_link AS visio_link_44, p0_.visio_instruction AS visio_instruction_45, p0_.contact_title AS contact_title_46, p0_.contact_firstname AS contact_firstname_47, p0_.contact_lastname AS contact_lastname_48, p0_.contact_email AS contact_email_49, p0_.contact_phone AS contact_phone_50, p0_.event_hidden AS event_hidden_51, p0_.review_status AS review_status_52, p0_.abort_reason AS abort_reason_53, p0_.created_at AS created_at_54, p0_.updated_at AS updated_at_55, p0_.status AS status_56, p0_.comment AS comment_57, c1_.id AS id_58, c1_.name AS name_59, c1_.status AS status_60, c1_.activity_area_more AS activity_area_more_61, c1_.information AS information_62, c1_.count_active_speaker AS count_active_speaker_63, c1_.count_speaker AS count_speaker_64, c1_.count_itdlc_scheduled AS count_itdlc_scheduled_65, c1_.count_itdlc_archived AS count_itdlc_archived_66, c1_.count_itdlc_students AS count_itdlc_students_67, c1_.count_itdlc_aborted_by_speaker AS count_itdlc_aborted_by_speaker_68, c1_.other_activity_area AS other_activity_area_69, c1_.created_at AS created_at_70, c1_.updated_at AS updated_at_71, c1_.comment AS comment_72, c1_.idv1 AS idv1_73, c2_.id AS id_74, c2_.name AS name_75, c2_.status AS status_76, c2_.activity_area_more AS activity_area_more_77, c2_.head_office_address AS head_office_address_78, c2_.head_office_zipcode AS head_office_zipcode_79, c2_.head_office_city AS head_office_city_80, c2_.head_office_country AS head_office_country_81, c2_.nb_employees AS nb_employees_82, c2_.logo AS logo_83, c2_.website_url AS website_url_84, c2_.perimeter AS perimeter_85, c2_.skills AS skills_86, c2_.partner AS partner_87, c2_.partner_itdlc AS partner_itdlc_88, c2_.partner_pee AS partner_pee_89, c2_.partner_foundation AS partner_foundation_90, c2_.slug AS slug_91, c2_.max_published_pee AS max_published_pee_92, c2_.count_pee_subscription_came AS count_pee_subscription_came_93, c2_.count_speaker AS count_speaker_94, c2_.count_itdlc_archived AS count_itdlc_archived_95, c2_.count_itdlc_aborted_by_speaker AS count_itdlc_aborted_by_speaker_96, c2_.count_itdlc_archived_children AS count_itdlc_archived_children_97, c2_.count_company_location AS count_company_location_98, c2_.company_idv1 AS company_idv1_99, c2_.other_activity_area AS other_activity_area_100, c2_.created_at AS created_at_101, c2_.updated_at AS updated_at_102, c2_.idv1 AS idv1_103, c2_.comment AS comment_104, p0_.company_location_id AS company_location_id_105, p0_.activity_area_id AS activity_area_id_106, p0_.brand_label_id AS brand_label_id_107, p0_.created_by AS created_by_108, p0_.updated_by AS updated_by_109, c1_.company_id AS company_id_110, c1_.activity_area_id AS activity_area_id_111, c1_.address_id AS address_id_112, c1_.organisation AS organisation_113, c1_.created_by AS created_by_114, c1_.updated_by AS updated_by_115, c2_.activity_area_id AS activity_area_id_116, c2_.academy_id AS academy_id_117, c2_.corporation_id AS corporation_id_118, c2_.created_by AS created_by_119, c2_.updated_by AS updated_by_120 FROM pee p0_ INNER JOIN company_location c1_ ON p0_.company_location_id = c1_.id INNER JOIN company c2_ ON c1_.company_id = c2_.id WHERE c2_.id = ? AND p0_.status IN (?) AND p0_.event_hidden = ? ORDER BY p0_.occure_at ASC
Parameters:
[
  17
  "published"
  0
]
3 0.15 ms
SELECT DATABASE()
Parameters:
[]
4 0.55 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "cgenial_sandbox"
]
5 0.07 ms
SELECT DATABASE()
Parameters:
[]
6 0.44 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "cgenial_sandbox"
]
7 0.14 ms
SELECT DATABASE()
Parameters:
[]
8 0.65 ms
SELECT t.TABLE_NAME,
           t.ENGINE,
           t.AUTO_INCREMENT,
           t.TABLE_COMMENT,
           t.CREATE_OPTIONS,
           t.TABLE_COLLATION,
           ccsa.CHARACTER_SET_NAME
      FROM information_schema.TABLES t
        INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
          ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "cgenial_sandbox"
  "migration_versions"
]
9 0.07 ms
SELECT DATABASE()
Parameters:
[]
10 0.58 ms
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!50116,
            c.UPDATE_RULE,
            c.DELETE_RULE */
FROM information_schema.key_column_usage k /*!50116
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'cgenial_sandbox' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "cgenial_sandbox"
  "migration_versions"
]
11 1.03 ms
SELECT       c.COLUMN_NAME        AS field,
           IF(
        c.COLUMN_TYPE = 'longtext'
        AND EXISTS(
            SELECT * from information_schema.CHECK_CONSTRAINTS i_c
            WHERE i_c.CONSTRAINT_SCHEMA = 'cgenial_sandbox'
            AND i_c.TABLE_NAME = c.TABLE_NAME
            AND i_c.CHECK_CLAUSE = CONCAT(
                'json_valid(`',
                    c.COLUMN_NAME,
                '`)'
            )
        ),
        'json',
        c.COLUMN_TYPE
    )       AS type,
       c.IS_NULLABLE        AS `null`,
       c.COLUMN_KEY         AS `key`,
       c.COLUMN_DEFAULT     AS `default`,
       c.EXTRA,
       c.COLUMN_COMMENT     AS comment,
       c.CHARACTER_SET_NAME AS characterset,
       c.COLLATION_NAME     AS collation
FROM information_schema.COLUMNS c
    INNER JOIN information_schema.TABLES t
        ON t.TABLE_NAME = c.TABLE_NAME
     WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "cgenial_sandbox"
  "cgenial_sandbox"
  "migration_versions"
]
12 0.08 ms
SELECT DATABASE()
Parameters:
[]
13 0.17 ms
SELECT        NON_UNIQUE  AS Non_Unique,
        INDEX_NAME  AS Key_name,
        COLUMN_NAME AS Column_Name,
        SUB_PART    AS Sub_Part,
        INDEX_TYPE  AS Index_Type
FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
[
  "cgenial_sandbox"
  "migration_versions"
]
14 0.08 ms
SELECT * FROM migration_versions
Parameters:
[]
15 0.22 ms
SELECT DATABASE()
Parameters:
[]
16 0.28 ms
SELECT t0.id AS id_1, t0.label AS label_2 FROM activity_area t0 WHERE t0.id = ?
Parameters:
[
  2
]
17 0.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.activity_area_more AS activity_area_more_4, t0.information AS information_5, t0.count_active_speaker AS count_active_speaker_6, t0.count_speaker AS count_speaker_7, t0.count_itdlc_scheduled AS count_itdlc_scheduled_8, t0.count_itdlc_archived AS count_itdlc_archived_9, t0.count_itdlc_students AS count_itdlc_students_10, t0.count_itdlc_aborted_by_speaker AS count_itdlc_aborted_by_speaker_11, t0.other_activity_area AS other_activity_area_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.comment AS comment_15, t0.idv1 AS idv1_16, t0.company_id AS company_id_17, t0.activity_area_id AS activity_area_id_18, t0.address_id AS address_id_19, t0.organisation AS organisation_20, t0.created_by AS created_by_21, t0.updated_by AS updated_by_22 FROM company_location t0 WHERE t0.company_id = ?
Parameters:
[
  17
]
18 0.19 ms
SELECT COUNT(*) FROM speaker t0 WHERE t0.company_location_id = ?
Parameters:
[
  376
]

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\User 3
App\Entity\Company 1
App\Entity\ActivityArea 1
App\Entity\Academy 1
App\Entity\SuperOrganisation 1
App\Entity\CompanyLocation 1
App\Entity\Address 1

Entities Mapping

Class Mapping errors
App\Entity\Company No errors.
App\Entity\ActivityArea No errors.
App\Entity\Academy No errors.
App\Entity\Corporation No errors.
App\Entity\User No errors.
App\Entity\CompanyLocation No errors.
App\Entity\Manager No errors.
App\Entity\Feedback No errors.
App\Entity\Pee No errors.
App\Entity\AdminRole No errors.
App\Entity\ManagerOrganisation No errors.
App\Entity\UserPreference No errors.
App\Entity\ResetPasswordRequest No errors.
App\Entity\UserLog No errors.
App\Entity\Address No errors.
App\Entity\Image No errors.
App\Entity\Speaker No errors.
App\Entity\Organisation No errors.
App\Entity\Stage No errors.
App\Entity\EventSession No errors.
App\Entity\Itdlc No errors.
App\Entity\PeeSubscription No errors.
App\Entity\ProcessLog No errors.
App\Entity\BrandLabel No errors.
App\Entity\SuperOrganisation No errors.
App\Entity\ResourceFile No errors.
App\Entity\Info No errors.
App\Entity\Discipline
  • The field App\Entity\Discipline#teachers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Teacher#disciplines does not contain the required 'inversedBy="teachers"' attribute.
App\Entity\Import No errors.
App\Entity\School No errors.
App\Entity\Zipcode No errors.
App\Entity\ClassLevel
  • The field App\Entity\ClassLevel#teachers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Teacher#classLevels does not contain the required 'inversedBy="teachers"' attribute.
App\Entity\EventSpeaker No errors.
App\Entity\EventTheme No errors.
App\Entity\TeacherJob No errors.
App\Entity\EventType No errors.
App\Entity\StagePeriod No errors.
App\Entity\WeekItem
  • The field App\Entity\WeekItem#teachers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Teacher#disciplines does not contain the required 'inversedBy="teachers"' attribute.
App\Entity\SchoolType No errors.
App\Entity\Notification No errors.
App\Entity\EventSessionSpeaker No errors.
App\Entity\NotificationTemplate No errors.
App\Entity\StageSubscription No errors.
App\Entity\SpeechType No errors.
App\Entity\OrganisationType No errors.
App\Entity\ItdlcOptionDate No errors.
App\Entity\Teacher No errors.
App\Entity\SendinBlueNotificationTracking No errors.
App\Entity\EventSessionSubscription No errors.
App\Entity\EducationLevel No errors.
App\Entity\TeacherSchool No errors.
App\Entity\ZipcodeGeolocation No errors.
Vich\UploaderBundle\Entity\File No errors.