Query Metrics
5
Database Queries
5
Different statements
2.87 ms
Query time
0
Invalid entities
3
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.93 ms (32.35%) |
1 |
SELECT count(DISTINCT t0_.id) AS sclr_0 FROM terminal t0_ LEFT JOIN agency a1_ ON t0_.agency_id = a1_.id LEFT JOIN apps_by_terminal a2_ ON t0_.id = a2_.terminal_id LEFT JOIN app_by_language a3_ ON a2_.app_by_language_id = a3_.id AND (a3_.language_id = ?) LEFT JOIN app a4_ ON a3_.app_id = a4_.id AND (a4_.deleted_at IS NULL) WHERE t0_.deleted_at IS NULL AND a1_.deleted_at IS NULL GROUP BY t0_.id
Parameters:
[
1
]
|
|
0.67 ms (23.29%) |
1 |
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.active AS active_2, t0_.id_borne AS id_borne_3, a1_.name AS name_4, a1_.id AS id_5, a1_.eds AS eds_6, count(a2_.id) AS sclr_7 FROM terminal t0_ LEFT JOIN agency a1_ ON t0_.agency_id = a1_.id LEFT JOIN apps_by_terminal a3_ ON t0_.id = a3_.terminal_id LEFT JOIN app_by_language a4_ ON a3_.app_by_language_id = a4_.id AND (a4_.language_id = ?) LEFT JOIN app a2_ ON a4_.app_id = a2_.id AND (a2_.deleted_at IS NULL) WHERE t0_.deleted_at IS NULL AND a1_.deleted_at IS NULL AND t0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) GROUP BY t0_.id
Parameters:
[ 1 1 2 3 7 8 11 13 14 15 16 17 19 21 24 25 26 27 28 29 30 ] |
|
0.60 ms (20.82%) |
1 |
SELECT DISTINCT t0_.id AS id_0 FROM terminal t0_ LEFT JOIN agency a1_ ON t0_.agency_id = a1_.id LEFT JOIN apps_by_terminal a2_ ON t0_.id = a2_.terminal_id LEFT JOIN app_by_language a3_ ON a2_.app_by_language_id = a3_.id AND (a3_.language_id = ?) LEFT JOIN app a4_ ON a3_.app_id = a4_.id AND (a4_.deleted_at IS NULL) WHERE t0_.deleted_at IS NULL AND a1_.deleted_at IS NULL GROUP BY t0_.id LIMIT 20
Parameters:
[
1
]
|
|
0.38 ms (13.38%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.role AS role_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.active AS active_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.deleted_at AS deleted_at_10, t0.main_agent_id AS main_agent_id_11, t0.created_by_id AS created_by_id_12, t0.updatedby_id AS updatedby_id_13 FROM user t0 WHERE t0.id = ?
Parameters:
[
5
]
|
|
0.29 ms (10.17%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.active AS active_4, t0.is_default AS is_default_5, t0.icon_id AS icon_id_6 FROM languages t0 WHERE t0.id = ?
Parameters:
[
1
]
|
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 | 2 |
| App\Entity\Languages | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User | No errors. |
| App\Entity\Agency\MainAgent | No errors. |
| App\Entity\Languages | No errors. |
| App\Entity\Media\Media | No errors. |
| App\Entity\Terminal\Terminal | No errors. |
| App\Entity\Agency\Agency | No errors. |
| App\Entity\App\AppsByTerminal | No errors. |
| App\Entity\App\AppByLanguage | No errors. |
| App\Entity\App\App | No errors. |