GET https://sandbox.cgenial-connect.fr/profentreprise/2179

Query Metrics

22 Database Queries
16 Different statements
7.77 ms Query time
3 Invalid entities
13 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.09 ms
(14.00%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "cgenial_sandbox"
]
1.01 ms
(12.98%)
1
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"
]
0.94 ms
(12.04%)
6
SELECT DATABASE()
Parameters:
[]
0.76 ms
(9.71%)
1
SELECT t0.id AS id_1, t0.type AS type_2, t0.occure_at AS occure_at_3, t0.start_at AS start_at_4, t0.finish_at AS finish_at_5, t0.subscription_finish_at AS subscription_finish_at_6, t0.subscription_finish_at_time AS subscription_finish_at_time_7, t0.subscribers_min AS subscribers_min_8, t0.subscribers_max AS subscribers_max_9, t0.validation_type AS validation_type_10, t0.speaker_profil_fields AS speaker_profil_fields_11, t0.subscriber_profil_fields AS subscriber_profil_fields_12, t0.subscriber_profil_more_field_label AS subscriber_profil_more_field_label_13, t0.visit_name AS visit_name_14, t0.webinar_name AS webinar_name_15, t0.download_file_mimes AS download_file_mimes_16, t0.steps AS steps_17, t0.company_location_steps AS company_location_steps_18, t0.technical_work_shop_step AS technical_work_shop_step_19, t0.commitment AS commitment_20, t0.instructions AS instructions_21, t0.accessibility AS accessibility_22, t0.accessibility_more AS accessibility_more_23, t0.more_informations AS more_informations_24, t0.has_public_transport AS has_public_transport_25, t0.public_transport_information AS public_transport_information_26, t0.access_information AS access_information_27, t0.access_map AS access_map_28, t0.parking_informations AS parking_informations_29, t0.required_documents AS required_documents_30, t0.delay_before_starting AS delay_before_starting_31, t0.cefpep_available AS cefpep_available_32, t0.cefpep_name AS cefpep_name_33, t0.cefpep_uid AS cefpep_uid_34, t0.module_name AS module_name_35, t0.module_number AS module_number_36, t0.paf_name AS paf_name_37, t0.paf_uid AS paf_uid_38, t0.paf_available AS paf_available_39, t0.paf_information AS paf_information_40, t0.paf_limit_date AS paf_limit_date_41, t0.paf_url AS paf_url_42, t0.visio_platform AS visio_platform_43, t0.visio_platform_other AS visio_platform_other_44, t0.visio_link AS visio_link_45, t0.visio_instruction AS visio_instruction_46, t0.contact_title AS contact_title_47, t0.contact_firstname AS contact_firstname_48, t0.contact_lastname AS contact_lastname_49, t0.contact_email AS contact_email_50, t0.contact_phone AS contact_phone_51, t0.event_hidden AS event_hidden_52, t0.review_status AS review_status_53, t0.abort_reason AS abort_reason_54, t0.created_at AS created_at_55, t0.updated_at AS updated_at_56, t0.status AS status_57, t0.comment AS comment_58, t0.company_location_id AS company_location_id_59, t0.activity_area_id AS activity_area_id_60, t0.brand_label_id AS brand_label_id_61, t0.created_by AS created_by_62, t0.updated_by AS updated_by_63 FROM pee t0 WHERE t0.id = ?
Parameters:
[
  "2179"
]
0.72 ms
(9.30%)
1
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"
]
0.61 ms
(7.85%)
1
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"
]
0.40 ms
(5.11%)
1
SELECT t0.id AS id_1, t0.type AS type_2, t0.occure_at AS occure_at_3, t0.start_at AS start_at_4, t0.finish_at AS finish_at_5, t0.subscription_finish_at AS subscription_finish_at_6, t0.subscription_finish_at_time AS subscription_finish_at_time_7, t0.subscribers_min AS subscribers_min_8, t0.subscribers_max AS subscribers_max_9, t0.validation_type AS validation_type_10, t0.speaker_profil_fields AS speaker_profil_fields_11, t0.subscriber_profil_fields AS subscriber_profil_fields_12, t0.subscriber_profil_more_field_label AS subscriber_profil_more_field_label_13, t0.visit_name AS visit_name_14, t0.webinar_name AS webinar_name_15, t0.download_file_mimes AS download_file_mimes_16, t0.steps AS steps_17, t0.company_location_steps AS company_location_steps_18, t0.technical_work_shop_step AS technical_work_shop_step_19, t0.commitment AS commitment_20, t0.instructions AS instructions_21, t0.accessibility AS accessibility_22, t0.accessibility_more AS accessibility_more_23, t0.more_informations AS more_informations_24, t0.has_public_transport AS has_public_transport_25, t0.public_transport_information AS public_transport_information_26, t0.access_information AS access_information_27, t0.access_map AS access_map_28, t0.parking_informations AS parking_informations_29, t0.required_documents AS required_documents_30, t0.delay_before_starting AS delay_before_starting_31, t0.cefpep_available AS cefpep_available_32, t0.cefpep_name AS cefpep_name_33, t0.cefpep_uid AS cefpep_uid_34, t0.module_name AS module_name_35, t0.module_number AS module_number_36, t0.paf_name AS paf_name_37, t0.paf_uid AS paf_uid_38, t0.paf_available AS paf_available_39, t0.paf_information AS paf_information_40, t0.paf_limit_date AS paf_limit_date_41, t0.paf_url AS paf_url_42, t0.visio_platform AS visio_platform_43, t0.visio_platform_other AS visio_platform_other_44, t0.visio_link AS visio_link_45, t0.visio_instruction AS visio_instruction_46, t0.contact_title AS contact_title_47, t0.contact_firstname AS contact_firstname_48, t0.contact_lastname AS contact_lastname_49, t0.contact_email AS contact_email_50, t0.contact_phone AS contact_phone_51, t0.event_hidden AS event_hidden_52, t0.review_status AS review_status_53, t0.abort_reason AS abort_reason_54, t0.created_at AS created_at_55, t0.updated_at AS updated_at_56, t0.status AS status_57, t0.comment AS comment_58, t0.company_location_id AS company_location_id_59, t0.activity_area_id AS activity_area_id_60, t0.brand_label_id AS brand_label_id_61, t0.created_by AS created_by_62, t0.updated_by AS updated_by_63 FROM pee t0 WHERE t0.company_location_id = ?
Parameters:
[
  1231
]
0.38 ms
(4.85%)
1
SELECT count(p0_.id) AS sclr_0 FROM pee p1_ INNER JOIN pee_subscription p0_ ON p1_.id = p0_.pee_id WHERE p0_.status = ? AND p1_.id = ?
Parameters:
[
  "accepted"
  2179
]
0.37 ms
(4.81%)
1
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 = ?
Parameters:
[
  552
]
0.27 ms
(3.53%)
1
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.id = ?
Parameters:
[
  1231
]
0.27 ms
(3.42%)
1
SELECT t0.id AS id_1, t0.job AS job_2, t0.about_you AS about_you_3, t0.about_your_job AS about_your_job_4, t0.about_your_formation AS about_your_formation_5, t0.about_your_offer AS about_your_offer_6, t0.my_address_enabled AS my_address_enabled_7, t0.itdlc_number AS itdlc_number_8, t0.itdlc_distance_max AS itdlc_distance_max_9, t0.available AS available_10, t0.available_at AS available_at_11, t0.context_available AS context_available_12, t0.nb_itdlc_archived AS nb_itdlc_archived_13, t0.nb_itdlc_refused_by_speaker_current_year AS nb_itdlc_refused_by_speaker_current_year_14, t0.nb_itdlc_aborted_by_speaker_current_year AS nb_itdlc_aborted_by_speaker_current_year_15, t0.nb_successive_non_response AS nb_successive_non_response_16, t0.last_registration_step AS last_registration_step_17, t0.available_date_updated AS available_date_updated_18, t0.created_at AS created_at_19, t0.updated_at AS updated_at_20, t0.status AS status_21, t0.comment AS comment_22, t0.idv1 AS idv1_23, t0.user_id AS user_id_24, t0.education_level_id AS education_level_id_25, t0.my_address_id AS my_address_id_26, t0.current_address_id AS current_address_id_27, t0.company_location_id AS company_location_id_28 FROM speaker t0 WHERE t0.company_location_id = ?
Parameters:
[
  1231
]
0.24 ms
(3.09%)
1
SELECT t0.id AS id_1, t0.filename AS filename_2, t0.title AS title_3, t0.copyright AS copyright_4, t0.description AS description_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.type FROM resource_file t0 INNER JOIN company_location_image ON t0.id = company_location_image.image_id WHERE company_location_image.company_location_id = ? AND t0.type IN ('image')
Parameters:
[
  1231
]
0.22 ms
(2.87%)
1
SELECT t0.id AS id_1, t0.address AS address_2, t0.address_more AS address_more_3, t0.zipcode AS zipcode_4, t0.zipcode_cleaned AS zipcode_cleaned_5, t0.city AS city_6, t0.country AS country_7, ST_AsText(t0.position) AS position_8, t0.name AS name_9, t0.type AS type_10, t0.code_insee AS code_insee_11, t0.academy_id AS academy_id_12 FROM address t0 WHERE t0.id = ?
Parameters:
[
  11116
]
0.19 ms
(2.39%)
1
SELECT t0.id AS id_1, t0.label AS label_2 FROM activity_area t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.16 ms
(2.12%)
1
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"
]
0.15 ms
(1.93%)
1
SELECT * FROM migration_versions
Parameters:
[]

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\ResourceFile 3
App\Entity\Pee 2
App\Entity\CompanyLocation 1
App\Entity\Company 1
App\Entity\ActivityArea 1
App\Entity\Address 1
App\Entity\Academy 1

Entities Mapping

Class Mapping errors
App\Entity\Pee No errors.
App\Entity\CompanyLocation No errors.
App\Entity\ActivityArea No errors.
App\Entity\BrandLabel No errors.
App\Entity\User No errors.
App\Entity\PeeSubscription No errors.
App\Entity\ProcessLog No errors.
App\Entity\Feedback No errors.
App\Entity\Company No errors.
App\Entity\Address No errors.
App\Entity\Organisation No errors.
App\Entity\Image No errors.
App\Entity\Manager No errors.
App\Entity\Speaker No errors.
App\Entity\Stage 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\Teacher No errors.
App\Entity\Itdlc No errors.
App\Entity\EventSession No errors.
App\Entity\Academy No errors.
App\Entity\Corporation No errors.
App\Entity\OrganisationType No errors.
App\Entity\EducationLevel 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\SpeechType No errors.
App\Entity\StageSubscription 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\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\ItdlcOptionDate No errors.
App\Entity\SendinBlueNotificationTracking No errors.
App\Entity\EventSessionSubscription No errors.
App\Entity\TeacherSchool No errors.
App\Entity\ZipcodeGeolocation No errors.
Vich\UploaderBundle\Entity\File No errors.