http://isbbethesda.com/index.php/

Query Metrics

15 Database Queries
4 Different statements
15.46 ms Query time
4 Invalid entities

Queries

Group similar statements

# Time Info
1 1.81 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.apc AS apc_3, t0.level_id AS level_id_4 FROM class_room t0 WHERE t0.apc = ? ORDER BY t0.level_id ASC
Parameters:
[
  1
]
2 0.89 ms
SELECT t0.id AS id_1, t0.registration_deadline AS registration_deadline_2, t0.rate AS rate_3, t0.code AS code_4, t0.wording AS wording_5, t0.start_date AS start_date_6, t0.end_date AS end_date_7, t0.activated AS activated_8, t9.id AS id_10, t9.weight AS weight_11, t9.school_year_id AS school_year_id_12 FROM school_year t0 LEFT JOIN payment_plan t9 ON t9.school_year_id = t0.id WHERE t0.activated = ? LIMIT 1
Parameters:
[
  1
]
3 0.79 ms
SELECT t0.id AS id_1, t0.registration_deadline AS registration_deadline_2, t0.rate AS rate_3, t0.code AS code_4, t0.wording AS wording_5, t0.start_date AS start_date_6, t0.end_date AS end_date_7, t0.activated AS activated_8, t9.id AS id_10, t9.weight AS weight_11, t9.school_year_id AS school_year_id_12 FROM school_year t0 LEFT JOIN payment_plan t9 ON t9.school_year_id = t0.id WHERE t0.id = ? LIMIT 1
Parameters:
[
  6
]
4 1.75 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  5
]
5 1.35 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  16
]
6 0.90 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  6
]
7 1.28 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  7
]
8 0.78 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  8
]
9 0.78 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  21
]
10 0.69 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  12
]
11 0.76 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  13
]
12 0.73 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  14
]
13 0.76 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  15
]
14 1.28 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  24
]
15 0.91 ms
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  6
  25
]

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\ClassRoom
  • The mappings App\Entity\ClassRoom#mainTeachers and App\Entity\MainTeacher#classRoom are inconsistent with each other.
App\Entity\Level No errors.
App\Entity\Module No errors.
App\Entity\MainTeacher
  • The association App\Entity\MainTeacher#teacher refers to the inverse side field App\Entity\User#mainTeachers which does not exist.
App\Entity\Subscription No errors.
App\Entity\AbscenceSheet No errors.
App\Entity\SchoolYear
  • The field App\Entity\SchoolYear#paymentPlan is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\PaymentPlan#schoolYear does not contain the required 'inversedBy="paymentPlan"' attribute.
App\Entity\PaymentPlan
  • The association App\Entity\PaymentPlan#payments refers to the owning side field App\Entity\Payment#paymentPlan which does not exist.
  • The field App\Entity\PaymentPlan#installments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Installment#paymentPlan does not contain the required 'inversedBy="installments"' attribute.
App\Entity\Quater No errors.