Query Metrics
23
Database Queries
6
Different statements
47.31 ms
Query time
5
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
40.27 ms (85.12%) |
1 |
SELECT p0_.id AS id_0, COALESCE(t1_.content, p0_.name) AS name_1, COALESCE(t2_.content, p0_.menu_name) AS menu_name_2, COALESCE(t3_.content, p0_.description) AS description_3, COALESCE(t4_.content, p0_.html) AS html_4, COALESCE(t5_.content, p0_.title) AS title_5, p0_.is_active AS is_active_6, COALESCE(t6_.content, p0_.slug) AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.is_xml_exportable AS is_xml_exportable_16, p0_.created_at AS created_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN ext_translations t1_ ON t1_.locale = 'cs' AND t1_.field = 'name' AND t1_.object_class = 'App\\Entity\\Project\\Category' AND t1_.foreign_key = p0_.id LEFT JOIN ext_translations t2_ ON t2_.locale = 'cs' AND t2_.field = 'menu_name' AND t2_.object_class = 'App\\Entity\\Project\\Category' AND t2_.foreign_key = p0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'cs' AND t3_.field = 'description' AND t3_.object_class = 'App\\Entity\\Project\\Category' AND t3_.foreign_key = p0_.id LEFT JOIN ext_translations t4_ ON t4_.locale = 'cs' AND t4_.field = 'html' AND t4_.object_class = 'App\\Entity\\Project\\Category' AND t4_.foreign_key = p0_.id LEFT JOIN ext_translations t5_ ON t5_.locale = 'cs' AND t5_.field = 'title' AND t5_.object_class = 'App\\Entity\\Project\\Category' AND t5_.foreign_key = p0_.id LEFT JOIN ext_translations t6_ ON t6_.locale = 'cs' AND t6_.field = 'slug' AND t6_.object_class = 'App\\Entity\\Project\\Category' AND t6_.foreign_key = p0_.id WHERE COALESCE(t6_.content, p0_.slug) = ? ORDER BY p0_.id ASC
Parameters:
[
"EHRI-Document-Blog-More-Terrifying-Than-the-Germans"
]
|
3.56 ms (7.53%) |
15 |
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[ "2" "cs" "App\Entity\Project\Category" ] |
1.70 ms (3.60%) |
2 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.html AS html_4, p0_.title AS title_5, p0_.is_active AS is_active_6, p0_.slug AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.is_xml_exportable AS is_xml_exportable_16, p0_.created_at AS created_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN category_menu_type c2_ ON p0_.id = c2_.category_id LEFT JOIN menu_type m1_ ON m1_.id = c2_.menu_type_id LEFT JOIN p_category_category p3_ ON p0_.id = p3_.category_sub_id WHERE p0_.is_active = ? AND p0_.id >= ? AND m1_.id = ? AND p3_.id IS NULL ORDER BY p0_.sequence ASC
Parameters:
[ 1 2 4 ] |
0.74 ms (1.56%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.html AS html_4, p0_.title AS title_5, p0_.is_active AS is_active_6, p0_.slug AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.is_xml_exportable AS is_xml_exportable_16, p0_.created_at AS created_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN category_menu_type c2_ ON p0_.id = c2_.category_id LEFT JOIN menu_type m1_ ON m1_.id = c2_.menu_type_id LEFT JOIN p_category_category p3_ ON p0_.id = p3_.category_sub_id WHERE p0_.is_active = ? AND p0_.id >= ? AND p0_.id <> ? AND p3_.category_super_id = ? AND m1_.id = ? ORDER BY p0_.sequence ASC
Parameters:
[ 1 2 55 55 1 ] |
0.65 ms (1.37%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3, t0.controller_name AS controller_name_4 FROM menu_type t0 WHERE t0.id = ?
Parameters:
[
"4"
]
|
0.39 ms (0.83%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3, t0.controller_name AS controller_name_4 FROM sub_menu_type t0 INNER JOIN category_sub_menu_type ON t0.id = category_sub_menu_type.sub_menu_type_id WHERE category_sub_menu_type.category_id = ?
Parameters:
[
67
]
|
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\Project\Category | No errors. |
Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation | No errors. |
Gedmo\Translatable\Entity\Translation | No errors. |
App\Entity\Project\CategoryType | No errors. |
App\Entity\Project\Upload | No errors. |
App\Entity\Project\Label | No errors. |
App\Entity\Project\CategoryFile | No errors. |
App\Entity\Project\CategoryCategory | No errors. |
App\Entity\Project\Parameter | No errors. |
App\Entity\Project\CategoryProduct | No errors. |
App\Entity\Project\Comment | No errors. |
App\Entity\Project\CategoryPerson | No errors. |
App\Entity\Project\CategoryEvent | No errors. |
App\Entity\Project\CategoryUploadGroup | No errors. |
App\Entity\Project\MenuType | No errors. |
App\Entity\Project\SubMenuType | No errors. |
App\Entity\Project\ContactMessage | No errors. |
App\Entity\Project\UploadGroup |
|
App\Entity\Project\Product |
|
App\Entity\Project\ProductVariant |
|
App\Entity\Project\Producer | No errors. |
App\Entity\Project\File | No errors. |
App\Entity\Project\ParameterGroup |
|
App\Entity\Project\Person | No errors. |
App\Entity\Project\Client |
|
App\Entity\Project\Event | No errors. |