Query Metrics
5
Database Queries
5
Different statements
3.84 ms
Query time
0
Invalid entities
3
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.41 ms (36.58%) |
1 |
SELECT count(DISTINCT a0_.id) AS sclr_0 FROM app a0_ LEFT JOIN media m1_ ON a0_.icon_id = m1_.id LEFT JOIN app_by_language a2_ ON a0_.id = a2_.app_id AND (a2_.language_id = ?) LEFT JOIN app_data_by_orientation a3_ ON a2_.id = a3_.app_by_language_id LEFT JOIN orientation o4_ ON a3_.orientation_id = o4_.id LEFT JOIN apps_by_terminal a5_ ON a2_.id = a5_.app_by_language_id AND (a5_.id = (SELECT MAX(a6_.id) AS sclr_1 FROM apps_by_terminal a6_ WHERE a2_.id = a6_.app_by_language_id)) WHERE a0_.deleted_at IS NULL GROUP BY a0_.id
Parameters:
[
1
]
|
|
0.91 ms (23.55%) |
1 |
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.active AS active_2, m1_.file AS file_3, GROUP_CONCAT(IFNULL(a2_.link_template, '')) AS sclr_4, GROUP_CONCAT(IFNULL(a2_.external_link, '')) AS sclr_5, GROUP_CONCAT(IFNULL(a2_.protocol, '')) AS sclr_6, GROUP_CONCAT(o3_.name) AS sclr_7, count(a4_.id) AS sclr_8 FROM app a0_ LEFT JOIN media m1_ ON a0_.icon_id = m1_.id LEFT JOIN app_by_language a5_ ON a0_.id = a5_.app_id AND (a5_.language_id = ?) LEFT JOIN app_data_by_orientation a2_ ON a5_.id = a2_.app_by_language_id LEFT JOIN orientation o3_ ON a2_.orientation_id = o3_.id LEFT JOIN apps_by_terminal a4_ ON a5_.id = a4_.app_by_language_id AND (a4_.id = (SELECT MAX(a6_.id) AS sclr_9 FROM apps_by_terminal a6_ WHERE a5_.id = a6_.app_by_language_id)) WHERE a0_.deleted_at IS NULL AND a0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) GROUP BY a0_.id
Parameters:
[ 1 1 2 3 20 25 26 27 28 29 30 32 33 34 35 36 37 39 40 41 ] |
|
0.77 ms (20.10%) |
1 |
SELECT DISTINCT a0_.id AS id_0 FROM app a0_ LEFT JOIN media m1_ ON a0_.icon_id = m1_.id LEFT JOIN app_by_language a2_ ON a0_.id = a2_.app_id AND (a2_.language_id = ?) LEFT JOIN app_data_by_orientation a3_ ON a2_.id = a3_.app_by_language_id LEFT JOIN orientation o4_ ON a3_.orientation_id = o4_.id LEFT JOIN apps_by_terminal a5_ ON a2_.id = a5_.app_by_language_id AND (a5_.id = (SELECT MAX(a6_.id) AS sclr_1 FROM apps_by_terminal a6_ WHERE a2_.id = a6_.app_by_language_id)) WHERE a0_.deleted_at IS NULL GROUP BY a0_.id LIMIT 20
Parameters:
[
1
]
|
|
0.39 ms (10.23%) |
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.37 ms (9.54%) |
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\App\App | No errors. |
| App\Entity\App\AppByLanguage | No errors. |
| App\Entity\App\AppDataByOrientation | No errors. |
| App\Entity\Orientation | No errors. |
| App\Entity\App\AppsByTerminal | No errors. |