Query Metrics
58
Database Queries
11
Different statements
8.49 ms
Query time
2
Invalid entities
141
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
5.47 ms (64.44%) |
42 |
SELECT t0.id AS id_1, t0.label AS label_2, t0.action AS action_3, t0.description AS description_4, t0.admin_managed AS admin_managed_5, t0.module_dependant AS module_dependant_6, t0.group_id AS group_id_7 FROM permission t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.95 ms (11.23%) |
7 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.label AS label_3 FROM permission_group t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.32 ms (3.73%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.password AS password_3, t0.name AS name_4, t0.surnames AS surnames_5, t0.phone AS phone_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.last_login AS last_login_9, t0.status AS status_10, t0.dark_mode AS dark_mode_11, t0.menu_expanded AS menu_expanded_12, t0.locale AS locale_13, t0.address AS address_14, t0.bio AS bio_15, t0.img_profile_id AS img_profile_id_16 FROM user t0 WHERE t0.id = ?
Parameters:
[
"019df6eb-150c-7d11-94b5-0b82926a9bd1"
]
|
|
0.31 ms (3.60%) |
1 |
SELECT t0.user_id AS user_id_1, t0.permission_id AS permission_id_2 FROM user_has_permission t0 WHERE t0.user_id = ?
Parameters:
[
"019df6eb-150c-7d11-94b5-0b82926a9bd1"
]
|
|
0.27 ms (3.16%) |
1 |
SELECT r0_.id AS id_0, r0_.name AS name_1, r0_.color AS color_2, r0_.admin AS admin_3, r0_.description AS description_4, r0_.company_id AS company_id_5 FROM role r0_
Parameters:
[] |
|
0.26 ms (3.11%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_active AS is_active_3, t0.created_at AS created_at_4 FROM company t0 INNER JOIN user_has_company ON t0.id = user_has_company.company_id WHERE user_has_company.user_id = ?
Parameters:
[
"019df6eb-150c-7d11-94b5-0b82926a9bd1"
]
|
|
0.23 ms (2.70%) |
1 |
SELECT t0.user_id AS user_id_1, t0.role_id AS role_id_2 FROM user_has_role t0 WHERE t0.user_id = ?
Parameters:
[
"019df6eb-150c-7d11-94b5-0b82926a9bd1"
]
|
|
0.18 ms (2.14%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.color AS color_3, t0.admin AS admin_4, t0.description AS description_5, t0.company_id AS company_id_6 FROM role t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.17 ms (2.05%) |
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.is_active AS is_active_2, c0_.created_at AS created_at_3 FROM company c0_
Parameters:
[] |
|
0.17 ms (2.04%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_active AS is_active_3, t0.created_at AS created_at_4 FROM company t0 WHERE t0.id = ?
Parameters:
[
"019df785-25ad-7080-8809-9ecf877d8179"
]
|
|
0.15 ms (1.80%) |
1 |
SELECT t0.role_id AS role_id_1, t0.permission_id AS permission_id_2 FROM role_has_permission t0 WHERE t0.role_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\UserHasPermission | 42 |
| App\Entity\Permission\Permission | 42 |
| App\Entity\Role\RoleHasPermission | 42 |
| App\Entity\Permission\PermissionGroup | 7 |
| App\Entity\Role\Role | 4 |
| App\Entity\User\User | 1 |
| App\Entity\Document\Document | 1 |
| App\Entity\User\UserHasRole | 1 |
| App\Entity\Company\Company | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User\User |
|
| App\Entity\Document\Document |
|
| App\Entity\User\UserHasDocument | No errors. |
| App\Entity\User\UserHasRole | No errors. |
| App\Entity\User\UserHasPermission | No errors. |
| App\Entity\Company\Company | No errors. |
| App\Entity\Task\Task | No errors. |
| App\Entity\Role\Role | No errors. |
| App\Entity\Role\RoleHasPermission | No errors. |
| App\Entity\Permission\Permission | No errors. |
| App\Entity\Permission\PermissionGroup | No errors. |
| App\Entity\Client\Client | No errors. |
| App\Entity\Project\Project | No errors. |