Query Metrics
20
Database Queries
10
Different statements
12.74 ms
Query time
0
Invalid entities
72
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.49 ms |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.name AS name_3, t0.vat AS vat_4, t0.fiscal_code AS fiscal_code_5, t0.address AS address_6, t0.zip AS zip_7, t0.city AS city_8, t0.country AS country_9, t0.email AS email_10, t0.phone AS phone_11, t0.website AS website_12, t0.logo_path AS logo_path_13, t0.directory_name AS directory_name_14, t0.warranty_email AS warranty_email_15, t16.id AS id_17, t16.logo_path AS logo_path_18, t16.splash_path AS splash_path_19, t16.color_splash_back AS color_splash_back_20, t16.color_back AS color_back_21, t16.brand_id AS brand_id_22 FROM prim_brand t0 LEFT JOIN prim_application t16 ON t16.brand_id = t0.id WHERE t0.id = ? LIMIT 1
Parameters:
[
"1"
]
|
| 2 | 0.54 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.url_link AS url_link_4, t0.description AS description_5, t0.image_path AS image_path_6, t0.cover_path AS cover_path_7, t0.campaign_points_per_read AS campaign_points_per_read_8, t0.primigena_points_per_read AS primigena_points_per_read_9, t0.max_num_of_reads_per_user AS max_num_of_reads_per_user_10, t0.status AS status_11, t0.is_ean_campaign AS is_ean_campaign_12, t0.is_product_campaign AS is_product_campaign_13, t0.has_receipt AS has_receipt_14, t0.iqb_code_id AS iqb_code_id_15, t0.algorithm_id AS algorithm_id_16, t0.campaign_type_id AS campaign_type_id_17, t0.brand_id AS brand_id_18 FROM prim_campaign t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
"2"
]
|
| 3 | 4.57 ms |
SELECT p0_.id AS id_0, p0_.is_active AS is_active_1, p0_.is_expirable AS is_expirable_2, p0_.directory_path AS directory_path_3, p0_.warranty_path AS warranty_path_4, p0_.iqb_code_id AS iqb_code_id_5, p0_.ean_code_id AS ean_code_id_6, p0_.watermark_id AS watermark_id_7, p0_.category_id AS category_id_8, p0_.producer_id AS producer_id_9, p0_.trademark_id AS trademark_id_10, p0_.subcategory_1_id AS subcategory_1_id_11, p0_.subcategory_2_id AS subcategory_2_id_12, p0_.subcategory_3_id AS subcategory_3_id_13, p0_.subcategory_4_id AS subcategory_4_id_14 FROM prim_catalogue_product p0_ LEFT JOIN prim_catalogue_product_detail p1_ ON p0_.id = p1_.product_id LEFT JOIN prim_iqb_code p2_ ON p0_.iqb_code_id = p2_.id LEFT JOIN prim_brand p3_ ON p2_.brand_id = p3_.id WHERE p3_.id = ? AND p1_.name LIKE ? AND p0_.iqb_code_id IS NOT NULL AND p0_.id NOT IN (SELECT p4_.id FROM prim_catalogue_product p4_ INNER JOIN prim_campaign_join_table_campaign_product p5_ ON p4_.id = p5_.product_id WHERE p5_.campaign_id = ?) ORDER BY p1_.name ASC LIMIT 10
Parameters:
[ "1" "%%" "2" ] |
| 4 | 0.55 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.num_of_winners AS num_of_winners_3, t0.points_per_read AS points_per_read_4, t0.primigena_points_per_read AS primigena_points_per_read_5, t0.image_path AS image_path_6, t0.campaign_id AS campaign_id_7 FROM prim_campaign_prize t0 WHERE t0.campaign_id = ?
Parameters:
[
"2"
]
|
| 5 | 0.55 ms |
SELECT p0_.id AS id_0, p0_.is_active AS is_active_1, p0_.value AS value_2, p0_.rfid AS rfid_3, p0_.json_msg AS json_msg_4, p0_.creation_date AS creation_date_5, p0_.gs1_value AS gs1_value_6, p0_.in_stock AS in_stock_7, p0_.iqb_code_id AS iqb_code_id_8, p0_.iqc_code_id AS iqc_code_id_9, p0_.box_id AS box_id_10, p0_.pallet_id AS pallet_id_11, p0_.transfer_entrance_id AS transfer_entrance_id_12, p0_.transfer_exit_id AS transfer_exit_id_13 FROM prim_iqp_code p0_ LEFT JOIN prim_campaign_ticket p1_ ON p0_.id = p1_.iqp_code_id WHERE p1_.campaign_id = ? AND p1_.prize_id IN (?, ?) ORDER BY p1_.prize_id ASC
Parameters:
[ "2" "3" "4" ] |
| 6 | 1.76 ms |
SELECT t0.id AS id_1, t0.value AS value_2, t0.description AS description_3 FROM prim_campaign_type t0 WHERE t0.id = ?
Parameters:
[
"1"
]
|
| 7 | 0.48 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3 FROM prim_campaign_algorithm t0 WHERE t0.id = ?
Parameters:
[
"1"
]
|
| 8 | 0.41 ms |
SELECT t0.id AS id_1, t0.receipt_path AS receipt_path_2, t0.is_closed AS is_closed_3, t0.assign_date AS assign_date_4, t0.withdraw_date AS withdraw_date_5, t0.iqp_code_id AS iqp_code_id_6, t0.prize_id AS prize_id_7, t0.campaign_id AS campaign_id_8, t0.user_id AS user_id_9, t0.point_of_sale_id AS point_of_sale_id_10 FROM prim_campaign_ticket t0 WHERE t0.prize_id = ?
Parameters:
[
"3"
]
|
| 9 | 0.27 ms |
SELECT t0.id AS id_1, t0.receipt_path AS receipt_path_2, t0.is_closed AS is_closed_3, t0.assign_date AS assign_date_4, t0.withdraw_date AS withdraw_date_5, t0.iqp_code_id AS iqp_code_id_6, t0.prize_id AS prize_id_7, t0.campaign_id AS campaign_id_8, t0.user_id AS user_id_9, t0.point_of_sale_id AS point_of_sale_id_10 FROM prim_campaign_ticket t0 WHERE t0.prize_id = ?
Parameters:
[
"4"
]
|
| 10 | 0.61 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"1144"
]
|
| 11 | 0.24 ms |
SELECT t0.id AS id_1, t0.value AS value_2, t0.slug AS slug_3 FROM prim_language t0 WHERE t0.id = ?
Parameters:
[
"1"
]
|
| 12 | 0.31 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"1143"
]
|
| 13 | 0.27 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"740"
]
|
| 14 | 0.24 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"743"
]
|
| 15 | 0.28 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"690"
]
|
| 16 | 0.23 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"678"
]
|
| 17 | 0.29 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"1651"
]
|
| 18 | 0.22 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"937"
]
|
| 19 | 0.21 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"176"
]
|
| 20 | 0.23 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.website AS website_4, t0.image_path AS image_path_5, t0.description AS description_6, t0.notes AS notes_7, t0.product_id AS product_id_8, t0.language_id AS language_id_9 FROM prim_catalogue_product_detail t0 WHERE t0.product_id = ?
Parameters:
[
"1528"
]
|
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\Catalogue\Product | 10 |
| App\Entity\IqbCode | 10 |
| App\Entity\EanCode | 10 |
| App\Entity\Catalogue\ProductDetail | 10 |
| App\Entity\Producer | 6 |
| App\Entity\Catalogue\Subcategory2 | 5 |
| App\Entity\Catalogue\Subcategory3 | 5 |
| App\Entity\Catalogue\Category | 4 |
| App\Entity\Catalogue\Subcategory1 | 4 |
| App\Entity\Campaign\Prize | 2 |
| App\Entity\Brand | 1 |
| App\Entity\Application\Application | 1 |
| App\Entity\Campaign\Campaign | 1 |
| App\Entity\Campaign\Algorithm | 1 |
| App\Entity\Campaign\CampaignType | 1 |
| App\Entity\Language | 1 |