Query Metrics
57
Database Queries
8
Different statements
18.58 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
8.67 ms (46.64%) |
28 |
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.date_of_birth AS date_of_birth_4, t0.city_of_birth AS city_of_birth_5, t0.gender AS gender_6, t0.number_of_childrens AS number_of_childrens_7, t0.phone_number AS phone_number_8, t0.cin AS cin_9, t0.cnss AS cnss_10, t0.relation_ship_status AS relation_ship_status_11, t0.picture AS picture_12, t0.date_old AS date_old_13, t0.date_cnss AS date_cnss_14, t0.registration_number AS registration_number_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.user_id AS user_id_18, t0.last_history_id AS last_history_id_19 FROM employee t0 WHERE t0.id = ?
Parameters:
[
914
]
|
4.66 ms (25.09%) |
13 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM employee_position t0 WHERE t0.id = ?
Parameters:
[
17
]
|
2.49 ms (13.40%) |
10 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM employee_department t0 WHERE t0.id = ?
Parameters:
[
4
]
|
1.24 ms (6.65%) |
2 |
SELECT e0_.id AS id_0, e0_.start_date AS start_date_1, e0_.end_date AS end_date_2, e0_.reason AS reason_3, e0_.salary_type AS salary_type_4, e0_.price AS price_5, e0_.department_id AS department_id_6, e0_.position_id AS position_id_7, e0_.employee_id AS employee_id_8 FROM employee_history e0_ LEFT JOIN employee e1_ ON e0_.employee_id = e1_.id LEFT JOIN employee_department e2_ ON e0_.department_id = e2_.id LEFT JOIN employee_position e3_ ON e0_.position_id = e3_.id
Parameters:
[] |
0.47 ms (2.53%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.active AS active_5, t0.google_id AS google_id_6, t0.avatar_name AS avatar_name_7, t0.user_role_id AS user_role_id_8, t9.id AS id_10, t9.first_name AS first_name_11, t9.last_name AS last_name_12, t9.date_of_birth AS date_of_birth_13, t9.city_of_birth AS city_of_birth_14, t9.gender AS gender_15, t9.number_of_childrens AS number_of_childrens_16, t9.phone_number AS phone_number_17, t9.cin AS cin_18, t9.cnss AS cnss_19, t9.relation_ship_status AS relation_ship_status_20, t9.picture AS picture_21, t9.date_old AS date_old_22, t9.date_cnss AS date_cnss_23, t9.registration_number AS registration_number_24, t9.created_at AS created_at_25, t9.updated_at AS updated_at_26, t9.user_id AS user_id_27, t9.last_history_id AS last_history_id_28 FROM user t0 LEFT JOIN employee t9 ON t9.user_id = t0.id WHERE t0.id = ?
Parameters:
[
3
]
|
0.46 ms (2.46%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.active AS active_5, t0.google_id AS google_id_6, t0.avatar_name AS avatar_name_7, t0.user_role_id AS user_role_id_8, t9.id AS id_10, t9.first_name AS first_name_11, t9.last_name AS last_name_12, t9.date_of_birth AS date_of_birth_13, t9.city_of_birth AS city_of_birth_14, t9.gender AS gender_15, t9.number_of_childrens AS number_of_childrens_16, t9.phone_number AS phone_number_17, t9.cin AS cin_18, t9.cnss AS cnss_19, t9.relation_ship_status AS relation_ship_status_20, t9.picture AS picture_21, t9.date_old AS date_old_22, t9.date_cnss AS date_cnss_23, t9.registration_number AS registration_number_24, t9.created_at AS created_at_25, t9.updated_at AS updated_at_26, t9.user_id AS user_id_27, t9.last_history_id AS last_history_id_28 FROM user t0 LEFT JOIN employee t9 ON t9.user_id = t0.id WHERE t0.email = ? LIMIT 1
Parameters:
[
"n.bouaziz@sigmatex.ma"
]
|
0.43 ms (2.33%) |
1 |
SELECT e0_.id AS id_0, e0_.start_date AS start_date_1, e0_.end_date AS end_date_2, e0_.reason AS reason_3, e0_.salary_type AS salary_type_4, e0_.price AS price_5, e0_.department_id AS department_id_6, e0_.position_id AS position_id_7, e0_.employee_id AS employee_id_8 FROM employee_history e0_ LEFT JOIN employee e1_ ON e0_.employee_id = e1_.id LEFT JOIN employee_department e2_ ON e0_.department_id = e2_.id LEFT JOIN employee_position e3_ ON e0_.position_id = e3_.id GROUP BY e0_.id ORDER BY e0_.id DESC LIMIT 30
Parameters:
[] |
0.17 ms (0.89%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.permissions AS permissions_3 FROM user_role t0 WHERE t0.id = ?
Parameters:
[
3
]
|
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\User | No errors. |
App\Entity\UserRole | No errors. |
App\Entity\Employee | No errors. |
App\Entity\EmployeeHistory | No errors. |
App\Entity\EmployeeHourLog | No errors. |
App\Entity\EmployeeAdvance | No errors. |
App\Entity\EmployeeDepartment | No errors. |
App\Entity\EmployeePosition | No errors. |
App\Entity\EmployeeSalaryBonusHistory | No errors. |
App\Entity\EmployeeHourCount | No errors. |