GET http://45.45.160.216/app.php/drugsearch?orderby=company_name&report_published=1

Query Metrics

49 Database Queries
5 Different statements
2338.27 ms Query time
0 Invalid entities
86 Managed entities

Grouped Statements

Show all queries

Time Count Info
1611.82 ms
(68.93%)
1
SELECT COUNT(*) AS dctrn_count FROM (SELECT d0_.id AS id_0, d0_.drug_code AS drug_code_1, d0_.updated_date AS updated_date_2, d0_.content_update_date AS content_update_date_3, d0_.last_updated_operation AS last_updated_operation_4, d0_.last_updated_ip AS last_updated_ip_5, d0_.product_categorization AS product_categorization_6, d0_.din AS din_7, d0_.brand_name AS brand_name_8, d0_.brand_name_fr AS brand_name_fr_9, d0_.descriptor AS descriptor_10, d0_.pediatric_flag AS pediatric_flag_11, d0_.accession_number AS accession_number_12, d0_.number_of_ais AS number_of_ais_13, d0_.ai_group_no AS ai_group_no_14, d0_.en_proper_name AS en_proper_name_15, d0_.fr_proper_name AS fr_proper_name_16, d0_.en_common_name AS en_common_name_17, d0_.fr_common_name AS fr_common_name_18 FROM drugs d0_ INNER JOIN companies c1_ ON d0_.company_id = c1_.id WHERE d0_.parent_object_id IS NULL GROUP BY d0_.id ORDER BY c1_.name ASC) dctrn_table
Parameters:
[]
695.84 ms
(29.76%)
1
SELECT d0_.id AS id_0, d0_.drug_code AS drug_code_1, d0_.updated_date AS updated_date_2, d0_.content_update_date AS content_update_date_3, d0_.last_updated_operation AS last_updated_operation_4, d0_.last_updated_ip AS last_updated_ip_5, d0_.product_categorization AS product_categorization_6, d0_.din AS din_7, d0_.brand_name AS brand_name_8, d0_.brand_name_fr AS brand_name_fr_9, d0_.descriptor AS descriptor_10, d0_.pediatric_flag AS pediatric_flag_11, d0_.accession_number AS accession_number_12, d0_.number_of_ais AS number_of_ais_13, d0_.ai_group_no AS ai_group_no_14, d0_.en_proper_name AS en_proper_name_15, d0_.fr_proper_name AS fr_proper_name_16, d0_.en_common_name AS en_common_name_17, d0_.fr_common_name AS fr_common_name_18, d0_.parent_object_id AS parent_object_id_19, d0_.last_updated_user_id AS last_updated_user_id_20, d0_.company_id AS company_id_21, d0_.class_id AS class_id_22 FROM drugs d0_ INNER JOIN companies c1_ ON d0_.company_id = c1_.id WHERE d0_.parent_object_id IS NULL GROUP BY d0_.id ORDER BY c1_.name ASC LIMIT 20
Parameters:
[]
16.21 ms
(0.69%)
20
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.deleted_date AS deleted_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.ingredient_supplied_ind AS ingredient_supplied_ind_6, t0.strength AS strength_7, t0.strength_unit AS strength_unit_8, t0.strength_type AS strength_type_9, t0.dosage_value AS dosage_value_10, t0.dosage_unit AS dosage_unit_11, t0.base AS base_12, t0.notes AS notes_13, t0.parent_object_id AS parent_object_id_14, t0.last_updated_user_id AS last_updated_user_id_15, t0.ingredient_id AS ingredient_id_16, t0.drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0.parent_object_id IS NULL AND t0.deleted_date IS NULL) AND t0.drug_id = ?) ORDER BY t0.id DESC
Parameters:
[
  105700
]
11.89 ms
(0.51%)
20
SELECT t0.id AS id_1, t0.number AS number_2, t0.created_date AS created_date_3, t0.din AS din_4, t0.company_name AS company_name_5, t0.atc_number AS atc_number_6, t0.atc_description AS atc_description_7, t0.hc_updated_date AS hc_updated_date_8, t0.remaining_supply_date AS remaining_supply_date_9, t0.discontinuation_date AS discontinuation_date_10, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_11, t0.anticipated_start_date AS anticipated_start_date_12, t0.estimated_end_date AS estimated_end_date_13, t0.actual_start_date AS actual_start_date_14, t0.actual_end_date AS actual_end_date_15, t0.en_info_on_alternative AS en_info_on_alternative_16, t0.fr_info_on_alternative AS fr_info_on_alternative_17, t0.decision_reversal AS decision_reversal_18, t0.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19, t0.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20, t0.en_discontinuation_comments AS en_discontinuation_comments_21, t0.fr_discontinuation_comments AS fr_discontinuation_comments_22, t0.updated_date AS updated_date_23, t0.last_updated_operation AS last_updated_operation_24, t0.last_updated_ip AS last_updated_ip_25, t0.en_product_alternative AS en_product_alternative_26, t0.fr_product_alternative AS fr_product_alternative_27, t0.status AS status_28, t0.en_info_for_care_provider AS en_info_for_care_provider_29, t0.fr_info_for_care_provider AS fr_info_for_care_provider_30, t0.en_mitigation_efforts AS en_mitigation_efforts_31, t0.fr_mitigation_efforts AS fr_mitigation_efforts_32, t0.en_comments AS en_comments_33, t0.fr_comments AS fr_comments_34, t0.hc_en_product_alternative AS hc_en_product_alternative_35, t0.hc_fr_product_alternative AS hc_fr_product_alternative_36, t0.hc_en_shortage_info AS hc_en_shortage_info_37, t0.hc_fr_shortage_info AS hc_fr_shortage_info_38, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40, t0.hc_en_comments AS hc_en_comments_41, t0.hc_fr_comments AS hc_fr_comments_42, t0.en_drug_brand_name AS en_drug_brand_name_43, t0.en_drug_proper_name AS en_drug_proper_name_44, t0.en_drug_common_name AS en_drug_common_name_45, t0.fr_drug_brand_name AS fr_drug_brand_name_46, t0.fr_drug_proper_name AS fr_drug_proper_name_47, t0.fr_drug_common_name AS fr_drug_common_name_48, t0.en_ingredients AS en_ingredients_49, t0.fr_ingredients AS fr_ingredients_50, t0.drug_strength AS drug_strength_51, t0.drug_dosage_form AS drug_dosage_form_52, t0.drug_dosage_form_fr AS drug_dosage_form_fr_53, t0.drug_route AS drug_route_54, t0.drug_route_fr AS drug_route_fr_55, t0.drug_package_quantity AS drug_package_quantity_56, t0.resolved AS resolved_57, t0.avoided AS avoided_58, t0.advance AS advance_59, t0.late_submission AS late_submission_60, t0.shortage_duplicated AS shortage_duplicated_61, t0.discontinuance_duplicated AS discontinuance_duplicated_62, t0.draft AS draft_63, t0.deleted_ip_address AS deleted_ip_address_64, t0.deleted_date AS deleted_date_65, t0.current_form_lang AS current_form_lang_66, t0.discontinuation_duplication AS discontinuation_duplication_67, t0.shortage_duplication AS shortage_duplication_68, t0.unknown_estimated_end_date AS unknown_estimated_end_date_69, t0.marker_a1 AS marker_a1_70, t0.marker_a2 AS marker_a2_71, t0.marker_a3 AS marker_a3_72, t0.marker_b1 AS marker_b1_73, t0.marker_b2 AS marker_b2_74, t0.marker_b3 AS marker_b3_75, t0.late_marker_disabled AS late_marker_disabled_76, t0.tier_3 AS tier_3_77, t0.drug_id AS drug_id_78, t0.type_id AS type_id_79, t0.discontinuance_reason_id AS discontinuance_reason_id_80, t0.shortage_reason_id AS shortage_reason_id_81, t0.parent_object_id AS parent_object_id_82, t0.last_updated_user_id AS last_updated_user_id_83, t0.deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
Parameters:
[
  105700
]
2.50 ms
(0.11%)
7
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.updated_date AS updated_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.company_code AS company_code_6, t0.mfr_code AS mfr_code_7, t0.name AS name_8, t0.company_type AS company_type_9, t0.address_mailing_flag AS address_mailing_flag_10, t0.address_billing_flag AS address_billing_flag_11, t0.address_notification_flag AS address_notification_flag_12, t0.address_other AS address_other_13, t0.address_report_display AS address_report_display_14, t0.suite_number AS suite_number_15, t0.street_name AS street_name_16, t0.province AS province_17, t0.country AS country_18, t0.city AS city_19, t0.postal_code AS postal_code_20, t0.post_office_box AS post_office_box_21, t0.contact_information AS contact_information_22, t0.senior_official_user_id AS senior_official_user_id_23, t0.parent_object_id AS parent_object_id_24, t0.last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0.id = ?
Parameters:
[
  16961
]

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
BaseBundle\Entity\DrugIngredient 29
BaseBundle\Entity\Drug 20
BaseBundle\Entity\Ingredient 12
BaseBundle\Entity\DrugReport 9
BaseBundle\Entity\Company 7
BaseBundle\Entity\DrugClass 2
BaseBundle\Entity\ReportType 2
BaseBundle\Entity\ShortageReason 2
BaseBundle\Entity\User 2
BaseBundle\Entity\DiscontinuanceReason 1