Query Metrics

25 Database Queries
5 Different statements
10.72 ms Query time
3 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.23 ms
(48.78%)
11
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.email AS email_4, t0.surname AS surname_5 FROM teacher t0 INNER JOIN teacher_department ON t0.id = teacher_department.teacher_id WHERE teacher_department.department_id = ?
Parameters:
[
  1
]
3.53 ms
(32.94%)
11
SELECT t0.id AS id_1, t0.name AS name_2, t0.deep_value AS deep_value_3, t0.switch AS switch_4, t0.department_id AS department_id_5 FROM lesson t0 WHERE t0.department_id = ?
Parameters:
[
  1
]
1.12 ms
(10.49%)
1
SELECT DISTINCT d0_.id AS id_0 FROM department d0_ LIMIT 20
Parameters:
[]
0.44 ms
(4.13%)
1
SELECT d0_.id AS id_0, d0_.name AS name_1 FROM department d0_ WHERE d0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
]
0.39 ms
(3.66%)
1
SELECT count(d0_.id) AS sclr_0 FROM department d0_
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.

Entities Mapping

Class Mapping errors
App\Entity\Department No errors.
App\Entity\Lesson
  • The association App\Entity\Lesson#subGroups refers to the owning side field App\Entity\SubGroup#lesson which does not exist.
App\Entity\Teacher No errors.
App\Entity\ClassTime No errors.
App\Entity\SubGroup
  • The mappings App\Entity\SubGroup#directionLesson and App\Entity\Lesson#subGroups are inconsistent with each other.
App\Entity\PhaseGroup No errors.
App\Entity\ChoosedLesson
  • The association App\Entity\ChoosedLesson#typeClass refers to the inverse side field App\Entity\TypeClass#choosedLessons which does not exist.
App\Entity\LessonType No errors.
App\Entity\PhaseItem No errors.
App\Entity\Phase No errors.