GET https://cgenial.quentinribac.fr/itdlc/5811

Query Metrics

31 Database Queries
23 Different statements
13.62 ms Query time
7 Invalid entities
23 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.35 ms
(9.89%)
1
SELECT t0.id AS id_1, t0.occure_at AS occure_at_2, t0.start_at AS start_at_3, t0.finish_at AS finish_at_4, t0.status AS status_5, t0.itdlc_id AS itdlc_id_6, t0.created_by AS created_by_7, t0.updated_by AS updated_by_8 FROM itdlc_option_date t0 WHERE t0.itdlc_id = ?
Parameters:
[
  5811
]
1.27 ms
(9.30%)
1
SELECT t0.id AS id_1, t0.label AS label_2 FROM discipline t0 INNER JOIN teacher_discipline ON t0.id = teacher_discipline.discipline_id WHERE teacher_discipline.teacher_id = ?
Parameters:
[
  17602
]
1.26 ms
(9.28%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "cgenial_connect_test"
]
1.09 ms
(8.02%)
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_connect_test'
            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_connect_test"
  "cgenial_connect_test"
  "migration_versions"
]
1.07 ms
(7.86%)
6
SELECT DATABASE()
Parameters:
[]
0.89 ms
(6.50%)
1
SELECT t0.id AS id_1, t0.label AS label_2 FROM class_level t0 INNER JOIN teacher_class_level ON t0.id = teacher_class_level.class_level_id WHERE teacher_class_level.teacher_id = ?
Parameters:
[
  17602
]
0.80 ms
(5.86%)
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_connect_test"
  "migration_versions"
]
0.73 ms
(5.35%)
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_connect_test' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "cgenial_connect_test"
  "migration_versions"
]
0.71 ms
(5.21%)
2
SELECT t0.id AS id_1, t0.username AS username_2, t0.username_canonical AS username_canonical_3, t0.email AS email_4, t0.email_canonical AS email_canonical_5, t0.enabled AS enabled_6, t0.salt AS salt_7, t0.password AS password_8, t0.last_login AS last_login_9, t0.confirmation_token AS confirmation_token_10, t0.password_requested_at AS password_requested_at_11, t0.firstname AS firstname_12, t0.lastname AS lastname_13, t0.mobile AS mobile_14, t0.sex AS sex_15, t0.roles AS roles_16, t0.picture AS picture_17, t0.slug AS slug_18, t0.password_expired AS password_expired_19, t0.anonymized AS anonymized_20, t0.optin AS optin_21, t0.recycle_status AS recycle_status_22, t0.recycle_start_at AS recycle_start_at_23, t0.created_at AS created_at_24, t0.updated_at AS updated_at_25, t0.idv1 AS idv1_26, t0.admin_role_id AS admin_role_id_27 FROM user t0 WHERE t0.id = ?
Parameters:
[
  22608
]
0.65 ms
(4.76%)
2
SELECT COUNT(*) FROM notification t0 WHERE t0.recipient_id = ? AND t0.status = ? AND t0.channel = ?
Parameters:
[
  22608
  "sent"
  "notification.channel.plateform"
]
0.47 ms
(3.44%)
1
SELECT i0_.id AS id_0, i0_.student_number AS student_number_1, i0_.female_student_number AS female_student_number_2, i0_.male_student_number AS male_student_number_3, i0_.description AS description_4, i0_.occure_at AS occure_at_5, i0_.start_at AS start_at_6, i0_.finish_at AS finish_at_7, i0_.statued_by_role AS statued_by_role_8, i0_.review_teacher_status AS review_teacher_status_9, i0_.review_speaker_status AS review_speaker_status_10, i0_.reason_acceptance AS reason_acceptance_11, i0_.reason_proposal AS reason_proposal_12, i0_.reason_refusal AS reason_refusal_13, i0_.type AS type_14, i0_.class_level_name AS class_level_name_15, i0_.process_updated_at AS process_updated_at_16, i0_.reported AS reported_17, i0_.created_at AS created_at_18, i0_.updated_at AS updated_at_19, i0_.status AS status_20, i0_.comment AS comment_21, i0_.speaker_id AS speaker_id_22, i0_.teacher_id AS teacher_id_23, i0_.teacher_school_id AS teacher_school_id_24, i0_.class_level_id AS class_level_id_25, i0_.speech_type_id AS speech_type_id_26, i0_.address_id AS address_id_27, i0_.duplicated_from_id AS duplicated_from_id_28 FROM itdlc i0_ WHERE i0_.id = ? AND i0_.status <> ?
Parameters:
[
  5811
  "edit"
]
0.41 ms
(2.98%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.email AS email_3, t0.priority_education_network AS priority_education_network_4, t0.uai AS uai_5, t0.teacher_id AS teacher_id_6, t0.school_id AS school_id_7, t0.address_id AS address_id_8, t0.school_type_id AS school_type_id_9 FROM teacher_school t0 WHERE t0.id = ?
Parameters:
[
  17603
]
0.38 ms
(2.79%)
1
SELECT t0.id AS id_1, t0.shoe_size AS shoe_size_2, t0.top_size AS top_size_3, t0.bottom_size AS bottom_size_4, t0.teacher_job_more AS teacher_job_more_5, t0.head AS head_6, t0.count_itdlc AS count_itdlc_7, t0.count_itdlc_archived AS count_itdlc_archived_8, t0.count_itdlc_accepted AS count_itdlc_accepted_9, t0.count_itdlc_aborted_by_teacher AS count_itdlc_aborted_by_teacher_10, t0.count_itdlc_refused_by_teacher AS count_itdlc_refused_by_teacher_11, t0.count_pee_subscription AS count_pee_subscription_12, t0.count_pee_subscription_came AS count_pee_subscription_came_13, t0.count_pee_subscription_no_came AS count_pee_subscription_no_came_14, t0.count_pee_subscription_aborted AS count_pee_subscription_aborted_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.status AS status_18, t0.idv1 AS idv1_19, t0.comment AS comment_20, t0.user_id AS user_id_21, t0.teacher_job_id AS teacher_job_id_22, t0.default_teacher_school_id AS default_teacher_school_id_23 FROM teacher t0 WHERE t0.id = ?
Parameters:
[
  17602
]
0.36 ms
(2.65%)
1
SELECT t0.id AS id_1, t0.label AS label_2 FROM class_level t0 WHERE t0.id = ?
Parameters:
[
  6
]
0.33 ms
(2.45%)
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.id = ?
Parameters:
[
  2199
]
0.26 ms
(1.91%)
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.user_id = ? LIMIT 1
Parameters:
[
  22608
]
0.25 ms
(1.85%)
1
SELECT * FROM migration_versions
Parameters:
[]
0.25 ms
(1.83%)
1
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.user_id AS user_id_4, t0.company_id AS company_id_5, t0.company_location_id AS company_location_id_6, t0.corporation_id AS corporation_id_7 FROM manager t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
  22608
]
0.25 ms
(1.82%)
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:
[
  21797
]
0.23 ms
(1.70%)
1
SELECT t0.id AS id_1, t0.label AS label_2, t0.sort_order AS sort_order_3 FROM teacher_job t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.22 ms
(1.59%)
1
SELECT t0.id AS id_1, t0.shoe_size AS shoe_size_2, t0.top_size AS top_size_3, t0.bottom_size AS bottom_size_4, t0.teacher_job_more AS teacher_job_more_5, t0.head AS head_6, t0.count_itdlc AS count_itdlc_7, t0.count_itdlc_archived AS count_itdlc_archived_8, t0.count_itdlc_accepted AS count_itdlc_accepted_9, t0.count_itdlc_aborted_by_teacher AS count_itdlc_aborted_by_teacher_10, t0.count_itdlc_refused_by_teacher AS count_itdlc_refused_by_teacher_11, t0.count_pee_subscription AS count_pee_subscription_12, t0.count_pee_subscription_came AS count_pee_subscription_came_13, t0.count_pee_subscription_no_came AS count_pee_subscription_no_came_14, t0.count_pee_subscription_aborted AS count_pee_subscription_aborted_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.status AS status_18, t0.idv1 AS idv1_19, t0.comment AS comment_20, t0.user_id AS user_id_21, t0.teacher_job_id AS teacher_job_id_22, t0.default_teacher_school_id AS default_teacher_school_id_23 FROM teacher t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
  22608
]
0.21 ms
(1.51%)
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_connect_test"
  "migration_versions"
]
0.20 ms
(1.45%)
1
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.user_id AS user_id_4, t0.organisation_id AS organisation_id_5 FROM manager_organisation t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
  22608
]

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\ClassLevel 4
App\Entity\Address 3
App\Entity\ItdlcOptionDate 3
App\Entity\User 2
App\Entity\Itdlc 1
App\Entity\Speaker 1
App\Entity\Teacher 1
App\Entity\TeacherSchool 1
App\Entity\SpeechType 1
App\Entity\EducationLevel 1
App\Entity\CompanyLocation 1
App\Entity\TeacherJob 1
App\Entity\Discipline 1
App\Entity\School 1
App\Entity\Academy 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\AdminRole No errors.
App\Entity\ManagerOrganisation No errors.
App\Entity\UserPreference No errors.
App\Entity\ResetPasswordRequest No errors.
App\Entity\Feedback No errors.
App\Entity\UserLog No errors.
App\Entity\Itdlc No errors.
App\Entity\Speaker No errors.
App\Entity\Teacher No errors.
App\Entity\TeacherSchool 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\Address No errors.
App\Entity\ItdlcOptionDate No errors.
App\Entity\ProcessLog No errors.
App\Entity\EducationLevel No errors.
App\Entity\CompanyLocation No errors.
App\Entity\Notification No errors.
App\Entity\Manager No errors.
App\Entity\Company No errors.
App\Entity\Corporation No errors.
App\Entity\Organisation No errors.
App\Entity\TeacherJob No errors.
App\Entity\Stage No errors.
App\Entity\EventSession No errors.
App\Entity\Pee No errors.
App\Entity\Academy 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\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\PeeSubscription No errors.
App\Entity\EventSessionSubscription No errors.
App\Entity\StageSubscription No errors.
App\Entity\School No errors.
App\Entity\SchoolType No errors.
App\Entity\ActivityArea No errors.
App\Entity\Image No errors.
App\Entity\NotificationTemplate No errors.
App\Entity\OrganisationType No errors.
App\Entity\SuperOrganisation No errors.
App\Entity\ResourceFile No errors.
App\Entity\Info No errors.
App\Entity\EventTheme No errors.
App\Entity\Import No errors.
App\Entity\Tag
  • The association App\Entity\Tag#speakers refers to the inverse side field App\Entity\Speaker#tags which does not exist.
  • The association App\Entity\Tag#teachers refers to the inverse side field App\Entity\Teacher#tags which does not exist.
App\Entity\Zipcode No errors.
App\Entity\ZipcodeGeolocation No errors.
App\Entity\SendinBlueNotificationTracking No errors.
App\Entity\StagePeriod No errors.
App\Entity\EventSessionSpeaker No errors.
App\Entity\EducationItem
  • The association App\Entity\EducationItem#speaker refers to the inverse side field App\Entity\Speaker#educationItems which does not exist.
App\Entity\EventSpeaker No errors.
App\Entity\BrandLabel No errors.
App\Entity\AcquisitionChannel
  • The association App\Entity\AcquisitionChannel#users refers to the owning side field App\Entity\User#acquisitionChannel which does not exist.
App\Entity\TagList No errors.
App\Entity\JobHistoryItem
  • The association App\Entity\JobHistoryItem#speaker refers to the inverse side field App\Entity\Speaker#jobHistoryItems which does not exist.
App\Entity\EventType No errors.
Vich\UploaderBundle\Entity\File No errors.