Query Metrics
74
Database Queries
13
Different statements
16.23 ms
Query time
0
Invalid entities
82
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
5.01 ms (30.88%) |
30 |
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.iqp_code_id = ?
Parameters:
[
"244839"
]
|
|
4.88 ms (30.09%) |
30 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.company AS company_4, t0.address AS address_5, t0.lat AS lat_6, t0.lng AS lng_7, t0.image_path AS image_path_8, t0.directory_path AS directory_path_9, t0.alert_email AS alert_email_10, t0.notes AS notes_11, t0.iqp_code_id AS iqp_code_id_12, t0.maintenance_category_id AS maintenance_category_id_13, t0.point_of_sale_id AS point_of_sale_id_14 FROM prim_maintenance t0 WHERE t0.iqp_code_id = ?
Parameters:
[
"244839"
]
|
|
1.32 ms (8.15%) |
4 |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.email AS email_3, t0.password AS password_4, t0.role AS role_5, t0.name AS name_6, t0.surname AS surname_7, t0.phone AS phone_8, t0.address AS address_9, t0.city AS city_10, t0.zip AS zip_11, t0.country AS country_12, t0.activation_code AS activation_code_13, t0.one_time_code AS one_time_code_14, t0.directory_path AS directory_path_15, t0.primigena_points AS primigena_points_16, t0.subscription_datetime AS subscription_datetime_17, t0.expiration_one_time_code AS expiration_one_time_code_18, t19.id AS id_20, t19.update_date_time AS update_date_time_21, t19.user_id AS user_id_22 FROM prim_user t0 LEFT JOIN prim_cart t19 ON t19.user_id = t0.id WHERE t0.id = ?
Parameters:
[
"101"
]
|
|
1.05 ms (6.48%) |
1 |
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:
[ "22" "%%" "15" ] |
|
0.63 ms (3.90%) |
1 |
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:
[
"22"
]
|
|
0.61 ms (3.75%) |
1 |
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:
[ "15" "19" ] |
|
0.60 ms (3.70%) |
1 |
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"
]
|
|
0.54 ms (3.30%) |
1 |
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:
[
"1485"
]
|
|
0.36 ms (2.24%) |
1 |
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:
[
"15"
]
|
|
0.35 ms (2.16%) |
1 |
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:
[
"19"
]
|
|
0.35 ms (2.14%) |
1 |
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:
[
"15"
]
|
|
0.27 ms (1.68%) |
1 |
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"
]
|
|
0.25 ms (1.53%) |
1 |
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"
]
|
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\IqpCode | 30 |
| App\Entity\Campaign\Ticket | 30 |
| App\Entity\User | 4 |
| App\Entity\IqbCode | 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\Catalogue\Product | 1 |
| App\Entity\EanCode | 1 |
| App\Entity\Catalogue\Category | 1 |
| App\Entity\Producer | 1 |
| App\Entity\Catalogue\Trademark | 1 |
| App\Entity\Catalogue\Subcategory1 | 1 |
| App\Entity\Catalogue\Subcategory2 | 1 |
| App\Entity\Catalogue\Subcategory3 | 1 |
| App\Entity\Campaign\Prize | 1 |
| App\Entity\Catalogue\ProductDetail | 1 |
| App\Entity\Language | 1 |