GET http://mua.greendot.cz/cs

Query Metrics

507 Database Queries
20 Different statements
94.93 ms Query time
11 Invalid entities

Grouped Statements

Show all queries

Time Count Info
48.79 ms
(51.40%)
247
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:
[
  "1"
  "cs"
  "App\Entity\Project\Category"
]
22.60 ms
(23.80%)
157
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.category_id = ?
Parameters:
[
  677
]
10.99 ms
(11.58%)
58
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:
[
  74
]
2.01 ms
(2.12%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.title AS title_4, p0_.slug AS slug_5, p0_.is_active AS is_active_6, p0_.sequence AS sequence_7, p0_.javascript AS javascript_8, p0_.text_general AS text_general_9, p0_.state AS state_10, p0_.is_indexable AS is_indexable_11, p0_.external_id AS external_id_12, p0_.producer_id AS producer_id_13, p0_.upload_id AS upload_id_14 FROM product p0_ LEFT JOIN category_product c1_ ON p0_.id = c1_.product_id WHERE (c1_.category_id IN (?) AND p0_.is_active = ?) AND (p0_.is_active = 1) ORDER BY c1_.sequence ASC, p0_.name ASC
Parameters:
[
  417
  1
]
1.56 ms
(1.64%)
8
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:
[
  67
]
1.47 ms
(1.54%)
3
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_.is_active = ? AND p0_.id > 10 ORDER BY p1_.sequence ASC
Parameters:
[
  2
  1
]
0.87 ms
(0.91%)
4
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:
[
  2352
]
0.79 ms
(0.83%)
4
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:
[
  649
]
0.79 ms
(0.83%)
4
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 FROM product_variant t0 WHERE t0.product_id = ?
Parameters:
[
  1170
]
0.78 ms
(0.82%)
4
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:
[
  649
]
0.72 ms
(0.76%)
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 p_category_category p1_ ON p0_.id = p1_.category_sub_id WHERE p0_.id >= ? AND p0_.id <> ? AND p0_.is_menu = 1 AND p1_.id IS NULL ORDER BY p0_.sequence ASC
Parameters:
[
  2
  0
]
0.68 ms
(0.72%)
4
SELECT t0.id AS id_1, t0.type AS type_2 FROM upload_group t0 WHERE t0.id = ?
Parameters:
[
  2352
]
0.57 ms
(0.60%)
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 p_category_category p1_ ON p0_.id = p1_.category_sub_id WHERE p0_.id >= ? AND p0_.is_active = ? AND p0_.is_menu = ? AND p1_.id IS NULL ORDER BY p0_.sequence ASC
Parameters:
[
  2
  1
  2
]
0.51 ms
(0.54%)
3
SELECT t0.id AS id_1, t0.name AS name_2 FROM p_label t0 INNER JOIN category_label ON t0.id = category_label.label_id WHERE category_label.category_id = ?
Parameters:
[
  796
]
0.51 ms
(0.54%)
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:
[
  2665
]
0.35 ms
(0.37%)
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.32 ms
(0.34%)
1
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 = ? LIMIT 1
Parameters:
[
  1
]
0.26 ms
(0.27%)
1
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.date_start AS date_start_2, e0_.date_end AS date_end_3, e0_.location AS location_4, e0_.description AS description_5, e0_.html AS html_6, e0_.price AS price_7, e0_.state AS state_8, e0_.slug AS slug_9, e0_.is_active AS is_active_10, e0_.is_deleted AS is_deleted_11, e0_.length AS length_12, e0_.event_type_id AS event_type_id_13 FROM event e0_ WHERE (e0_.date_end > ?) AND (e0_.is_active = 1 and e0_.is_deleted = 0) ORDER BY e0_.date_start ASC LIMIT 3
Parameters:
[
  "2024-06-11 13:00:17"
]
0.20 ms
(0.21%)
1
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:
[
  1
]
0.16 ms
(0.17%)
1
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:
[
  68
]

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.
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.
Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation No errors.
Gedmo\Translatable\Entity\Translation No errors.
App\Entity\Project\ContactMessage No errors.
App\Entity\Project\UploadGroup
  • The mappings App\Entity\Project\UploadGroup#productUploadGroup and App\Entity\Project\ProductUploadGroup#UploadGroup are inconsistent with each other.
App\Entity\Project\Product
  • The mappings App\Entity\Project\Product#productUploadGroup and App\Entity\Project\ProductUploadGroup#Product are inconsistent with each other.
App\Entity\Project\ProductVariant
  • The mappings App\Entity\Project\ProductVariant#purchaseProductVariant and App\Entity\Project\PurchaseProductVariant#ProductVariant are inconsistent with each other.
App\Entity\Project\Producer No errors.
App\Entity\Project\File No errors.
App\Entity\Project\ParameterGroup
  • The association App\Entity\Project\ParameterGroup#type refers to the inverse side field App\Entity\Project\ParameterGroupType#parameterGroups which does not exist.
App\Entity\Project\Person No errors.
App\Entity\Project\Client
  • The mappings App\Entity\Project\Client#orders and App\Entity\Project\Purchase#Client are inconsistent with each other.
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
  • The association App\Entity\Project\ProductUploadGroup#UploadGroup refers to the inverse side field App\Entity\Project\UploadGroup#productUploadGroups which does not exist.
  • The association App\Entity\Project\ProductUploadGroup#Product refers to the inverse side field App\Entity\Project\Product#productUploadGroups which does not exist.
App\Entity\Project\Review No errors.
App\Entity\Project\PurchaseProductVariant
  • The association App\Entity\Project\PurchaseProductVariant#ProductVariant refers to the inverse side field App\Entity\Project\ProductVariant#orderProductVariants which does not exist.
App\Entity\Project\Colour No errors.
App\Entity\Project\Video No errors.
App\Entity\Project\Availability No errors.
App\Entity\Project\Price
  • The association App\Entity\Project\Price#event refers to the inverse side field App\Entity\Project\Event#price which is not defined as association.
  • The association App\Entity\Project\Price#event refers to the inverse side field App\Entity\Project\Event#price which does not exist.
App\Entity\Project\ParameterGroupType
  • The association App\Entity\Project\ParameterGroupType#type refers to the owning side field App\Entity\Project\ParameterGroup#parameterGroups which does not exist.
App\Entity\Project\Purchase
  • The mappings App\Entity\Project\Purchase#PaymentType and App\Entity\Project\PaymentType#purchases are inconsistent with each other.
  • The association App\Entity\Project\Purchase#Client refers to the inverse side field App\Entity\Project\Client#purchases which does not exist.
App\Entity\Project\ClientDiscount No errors.
App\Entity\Project\EventType No errors.
App\Entity\Project\PurchaseEvent No errors.
App\Entity\Project\PaymentType
  • The association App\Entity\Project\PaymentType#purchases refers to the owning side field App\Entity\Project\Purchase#Payment which does not exist.
App\Entity\Project\Transportation No errors.
App\Entity\Project\Note No errors.
App\Entity\Project\Payment No errors.