Query Metrics
789
Database Queries
30
Different statements
178.01 ms
Query time
11
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
48.67 ms (27.34%) |
248 |
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" ] |
30.37 ms (17.06%) |
170 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.menu_name AS menu_name_3, t0.description AS description_4, t0.html AS html_5, t0.title AS title_6, t0.is_active AS is_active_7, t0.slug AS slug_8, t0.javascript AS javascript_9, t0.sequence AS sequence_10, t0.is_menu AS is_menu_11, t0.latitude AS latitude_12, t0.longitude AS longitude_13, t0.state AS state_14, t0.has_comments AS has_comments_15, t0.is_indexable AS is_indexable_16, t0.is_xml_exportable AS is_xml_exportable_17, t0.created_at AS created_at_18, t0.category_type_id AS category_type_id_19, t0.upload_id AS upload_id_20 FROM p_category t0 WHERE t0.id = ?
Parameters:
[
79
]
|
30.22 ms (16.98%) |
176 |
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.is_menu_item AS is_menu_item_3, t0.category_super_id AS category_super_id_4, t0.category_sub_id AS category_sub_id_5 FROM p_category_category t0 WHERE t0.category_sub_id = ? ORDER BY t0.sequence ASC
Parameters:
[
62
]
|
21.30 ms (11.96%) |
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:
[
"veda-a-vedec-ve-spolecnosti"
]
|
7.08 ms (3.98%) |
15 |
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_ INNER JOIN p_category_category p1_ ON p0_.id = p1_.category_sub_id WHERE ? IN (p1_.category_super_id) AND p0_.is_active = ? AND p0_.id > 10 ORDER BY p0_.sequence ASC
Parameters:
[ 62 1 ] |
3.51 ms (1.97%) |
14 |
SELECT c0_.id AS id_0, c0_.sequence AS sequence_1, c0_.is_manager AS is_manager_2, c0_.category_id AS category_id_3, c0_.person_id AS person_id_4 FROM category_person c0_ LEFT JOIN p_category p1_ ON c0_.category_id = p1_.id LEFT JOIN p_category_category p2_ ON p1_.id = p2_.category_sub_id WHERE c0_.person_id = ? AND p1_.is_active = ? AND p2_.category_super_id = ? ORDER BY c0_.sequence ASC
Parameters:
[ 5 1 69 ] |
3.38 ms (1.90%) |
15 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.surname AS surname_3, t0.department AS department_4, t0.email AS email_5, t0.phone AS phone_6, t0.room AS room_7, t0.user_id AS user_id_8, t0.title_before AS title_before_9, t0.title_after AS title_after_10, t0.description AS description_11, t0.slug AS slug_12, t0.is_active AS is_active_13 FROM person t0 WHERE t0.id = ? AND ((t0.is_active = 1))
Parameters:
[
5
]
|
3.35 ms (1.88%) |
16 |
SELECT t0.id AS id_1, t0.data AS data_2, t0.sequence AS sequence_3, t0.parameter_group_id AS parameter_group_id_4, t0.category_id AS category_id_5, t0.product_variant_id AS product_variant_id_6, t0.person_id AS person_id_7 FROM parameter t0 WHERE t0.parameter_group_id = ? AND t0.category_id = ? LIMIT 1
Parameters:
[ 12 253 ] |
3.07 ms (1.72%) |
7 |
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 p_category_category p1_ ON p0_.id = p1_.category_sub_id WHERE p1_.category_super_id = ? AND p0_.category_type_id = ? AND p0_.id > 10 ORDER BY p0_.sequence ASC
Parameters:
[ 62 2 ] |
2.94 ms (1.65%) |
5 |
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 ] |
2.82 ms (1.58%) |
14 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.extension AS extension_3, t0.mime AS mime_4, t0.title AS title_5, t0.short_description AS short_description_6, t0.description AS description_7, t0.created AS created_8, t0.path AS path_9, t0.original_name AS original_name_10, t0.width AS width_11, t0.height AS height_12, t0.sequence AS sequence_13, t0.upload_group_id AS upload_group_id_14 FROM upload t0 WHERE t0.upload_group_id = ? ORDER BY t0.sequence ASC
Parameters:
[
22
]
|
2.79 ms (1.57%) |
16 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.unit AS unit_3, t0.is_product_parameter AS is_product_parameter_4, t0.is_filter AS is_filter_5, t0.type_id AS type_id_6 FROM parameter_group t0 WHERE t0.name = ? AND t0.type_id = ? LIMIT 1
Parameters:
[ "Řešitel" 3 ] |
2.76 ms (1.55%) |
15 |
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.upload_group_id AS upload_group_id_3, t0.person_id AS person_id_4 FROM person_upload_group t0 WHERE t0.person_id = ?
Parameters:
[
21
]
|
2.54 ms (1.43%) |
16 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM parameter_group_type t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
"Projekt"
]
|
2.32 ms (1.30%) |
14 |
SELECT t0.id AS id_1, t0.type AS type_2 FROM upload_group t0 WHERE t0.id = ?
Parameters:
[
22
]
|
1.84 ms (1.03%) |
10 |
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.is_menu_item AS is_menu_item_3, t0.category_super_id AS category_super_id_4, t0.category_sub_id AS category_sub_id_5 FROM p_category_category t0 WHERE t0.category_super_id = ? ORDER BY t0.sequence ASC
Parameters:
[
230
]
|
1.45 ms (0.82%) |
7 |
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
]
|
1.40 ms (0.79%) |
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 ] |
1.08 ms (0.60%) |
5 |
SELECT p0_.id AS id_0, p0_.sequence AS sequence_1, p0_.is_menu_item AS is_menu_item_2, p0_.category_super_id AS category_super_id_3, p0_.category_sub_id AS category_sub_id_4 FROM p_category_category p0_ WHERE p0_.category_sub_id = ? ORDER BY p0_.id ASC
Parameters:
[
62
]
|
0.69 ms (0.39%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.conversion_rate AS conversion_rate_4, t0.rounding AS rounding_5, t0.is_default AS is_default_6 FROM currency t0 WHERE t0.is_default = ? LIMIT 1
Parameters:
[
1
]
|
0.64 ms (0.36%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.extension AS extension_3, t0.mime AS mime_4, t0.title AS title_5, t0.short_description AS short_description_6, t0.description AS description_7, t0.created AS created_8, t0.path AS path_9, t0.original_name AS original_name_10, t0.width AS width_11, t0.height AS height_12, t0.sequence AS sequence_13, t0.upload_group_id AS upload_group_id_14 FROM upload t0 WHERE t0.id = ?
Parameters:
[
2345
]
|
0.58 ms (0.33%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.menu_name AS menu_name_3, t0.description AS description_4, t0.title AS title_5, t0.slug AS slug_6, t0.is_active AS is_active_7, t0.sequence AS sequence_8, t0.javascript AS javascript_9, t0.text_general AS text_general_10, t0.state AS state_11, t0.is_indexable AS is_indexable_12, t0.external_id AS external_id_13, t0.producer_id AS producer_id_14, t0.upload_id AS upload_id_15, t0.product_type_id AS product_type_id_16 FROM product t0 WHERE t0.id = ? AND ((t0.is_active = 1))
Parameters:
[
932
]
|
0.56 ms (0.31%) |
2 |
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.extension AS extension_2, u0_.mime AS mime_3, u0_.title AS title_4, u0_.short_description AS short_description_5, u0_.description AS description_6, u0_.created AS created_7, u0_.path AS path_8, u0_.original_name AS original_name_9, u0_.width AS width_10, u0_.height AS height_11, u0_.sequence AS sequence_12, u0_.upload_group_id AS upload_group_id_13 FROM upload u0_ LEFT JOIN upload_group u1_ ON u0_.upload_group_id = u1_.id LEFT JOIN category_upload_group c2_ ON u1_.id = c2_.upload_group_id WHERE u1_.type = ? AND c2_.category_id = ?
Parameters:
[ 1 62 ] |
0.56 ms (0.31%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.stock AS stock_3, t0.external_id AS external_id_4, t0.avg_restock_days AS avg_restock_days_5, t0.is_active AS is_active_6, t0.product_id AS product_id_7, t0.colour_id AS colour_id_8, t0.availability_id AS availability_id_9, t0.upload_id AS upload_id_10, t0.product_type_id AS product_type_id_11 FROM product_variant t0 WHERE t0.product_id = ?
Parameters:
[
932
]
|
0.52 ms (0.29%) |
3 |
SELECT t0.id AS id_1, t0.data AS data_2, t0.sequence AS sequence_3, t0.parameter_group_id AS parameter_group_id_4, t0.category_id AS category_id_5, t0.product_variant_id AS product_variant_id_6, t0.person_id AS person_id_7 FROM parameter t0 WHERE t0.product_variant_id = ?
Parameters:
[
391
]
|
0.50 ms (0.28%) |
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.50 ms (0.28%) |
3 |
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.upload_group_id AS upload_group_id_3, t0.product_variant_id AS product_variant_id_4 FROM product_variant_upload_group t0 WHERE t0.product_variant_id = ?
Parameters:
[
391
]
|
0.20 ms (0.11%) |
1 |
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.is_manager AS is_manager_3, t0.category_id AS category_id_4, t0.person_id AS person_id_5 FROM category_person t0 WHERE t0.category_id = ? ORDER BY t0.sequence ASC
Parameters:
[
62
]
|
0.19 ms (0.11%) |
1 |
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.product_id AS product_id_3, t0.category_id AS category_id_4 FROM category_product t0 WHERE t0.category_id = ? ORDER BY t0.sequence ASC
Parameters:
[
62
]
|
0.18 ms (0.10%) |
1 |
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.category_id AS category_id_3, t0.event_id AS event_id_4 FROM category_event t0 WHERE t0.category_id = ? ORDER BY t0.sequence ASC
Parameters:
[
62
]
|
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\Currency | No 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. |
App\Entity\Project\PersonUploadGroup | No errors. |
App\Entity\Project\ProductVariantUploadGroup | No errors. |
App\Entity\Project\EventUploadGroup | No errors. |
App\Entity\Project\ProductUploadGroup |
|
App\Entity\Project\Review | No errors. |
App\Entity\Project\ProductType | No errors. |
App\Entity\Project\PurchaseProductVariant |
|
App\Entity\Project\Colour | No errors. |
App\Entity\Project\Video | No errors. |
App\Entity\Project\Availability | No errors. |
App\Entity\Project\Price |
|
App\Entity\Project\ParameterGroupType |
|
App\Entity\Project\Purchase |
|
App\Entity\Project\ClientDiscount | No errors. |
App\Entity\Project\EventType | No errors. |
App\Entity\Project\PurchaseEvent | No errors. |
App\Entity\Project\PaymentType |
|
App\Entity\Project\Transportation | No errors. |
App\Entity\Project\Note | No errors. |
App\Entity\Project\Payment | No errors. |