GET https://av.p4y.pt/pt/search/vilamoura

Query Metrics

42 Database Queries
10 Different statements
26.76 ms Query time
0 Invalid entities
208 Managed entities

Grouped Statements

Show all queries

Time Count Info
7.54 ms
(28.19%)
8
SELECT o0_.id AS id_0, o0_.code AS code_1, o0_.name AS name_2, o0_.start_date AS start_date_3, o0_.end_date AS end_date_4, o0_.minimum_nights AS minimum_nights_5, o0_.check_in_days AS check_in_days_6, o0_.check_out_days AS check_out_days_7 FROM occuppational_rule o0_ WHERE o0_.code = ? AND (? BETWEEN o0_.start_date AND o0_.end_date)
Parameters:
[
  1289189
  null
]
4.76 ms
(17.79%)
8
SELECT t0.id AS id_1, t0.type AS type_2, t0.code AS code_3, t0.includedinprice AS includedinprice_4, t0.quantity AS quantity_5, t0.application AS application_6, t0.maxprice AS maxprice_7, t0.minprice AS minprice_8, t0.paytime AS paytime_9, t0.comparison AS comparison_10, t0.comparisonvalue AS comparisonvalue_11, t0.countable AS countable_12, t0.countablelimit AS countablelimit_13, t0.startday AS startday_14, t0.startmonth AS startmonth_15, t0.finalday AS finalday_16, t0.finalmonth AS finalmonth_17, t0.change_bed_clothes AS change_bed_clothes_18, t0.change_frequency AS change_frequency_19, t0.change_towels AS change_towels_20, t0.unit AS unit_21, t0.accommodation_id AS accommodation_id_22 FROM ac_special_service t0 WHERE t0.accommodation_id = ? AND t0.code = ?
Parameters:
[
  6
  2
]
3.24 ms
(12.10%)
8
SELECT t0.id AS id_1, t0.code AS code_2, t0.locale AS locale_3, t0.text AS text_4 FROM service t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  2
]
2.13 ms
(7.96%)
4
SELECT t0.id AS id_1, t0.guestname AS guestname_2, t0.language AS language_3, t0.rating AS rating_4, t0.title AS title_5, t0.positivecomment AS positivecomment_6, t0.negativecomment AS negativecomment_7, t0.bookingstartdate AS bookingstartdate_8, t0.bookingenddate AS bookingenddate_9, t0.reviewdate AS reviewdate_10, t0.reply AS reply_11, t0.accommodation_id AS accommodation_id_12 FROM reviews t0 WHERE t0.accommodation_id = ?
Parameters:
[
  6
]
2.06 ms
(7.71%)
1
SELECT l0_.code AS code_0, l0_.name AS name_1, COUNT(a1_.id) AS sclr_2 FROM location l0_ LEFT JOIN accommodation a1_ ON (a1_.location_id = l0_.id) GROUP BY l0_.id ORDER BY l0_.name ASC
Parameters:
[]
1.80 ms
(6.73%)
3
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.type AS type_4, t0.timestamp AS timestamp_5, t0.accommodation_id AS accommodation_id_6 FROM pictures t0 WHERE t0.accommodation_id = ?
Parameters:
[
  6
]
1.79 ms
(6.70%)
4
SELECT t0.id AS id_1, t0.locale AS locale_2, t0.description AS description_3, t0.accommodation_id AS accommodation_id_4 FROM description t0 WHERE t0.accommodation_id = ?
Parameters:
[
  6
]
1.79 ms
(6.69%)
4
SELECT t0.id AS id_1, t0.code AS code_2, t0.locale AS locale_3, t0.text AS text_4 FROM kind t0 WHERE t0.code = ? AND t0.locale = ? LIMIT 1
Parameters:
[
  2
  "pt"
]
1.10 ms
(4.13%)
1
SELECT t0.id AS id_1, t0.accommodation_id AS accommodation_id_2, t0.user_id AS user_id_3, t0.company AS company_4, t0.company_id AS company_id_5, t0.accommodation_name AS accommodation_name_6, t0.id_gallery AS id_gallery_7, t0.occupational_rule_id AS occupational_rule_id_8, t0.price_modifier_id AS price_modifier_id_9, t0.purpose AS purpose_10, t0.kind_id AS kind_id_11, t0.latitude AS latitude_12, t0.longitude AS longitude_13, t0.accommodation_units AS accommodation_units_14, t0.currency AS currency_15, t0.vat_included AS vat_included_16, t0.touristic_registration_number AS touristic_registration_number_17, t0.location_id AS location_id_18, t19.id AS id_20, t19.people_capacity AS people_capacity_21, t19.minimum_occupation AS minimum_occupation_22, t19.accept_youngsters AS accept_youngsters_23, t19.occupation_without_supplement AS occupation_without_supplement_24, t19.bedrooms AS bedrooms_25, t19.double_beds AS double_beds_26, t19.individual_beds AS individual_beds_27, t19.individual_sofa_bed AS individual_sofa_bed_28, t19.double_sofa_bed AS double_sofa_bed_29, t19.queen_beds AS queen_beds_30, t19.king_beds AS king_beds_31, t19.toilets AS toilets_32, t19.bathroom_with_bathtub AS bathroom_with_bathtub_33, t19.bathroom_with_shower AS bathroom_with_shower_34, t19.berths AS berths_35, t19.area_housing AS area_housing_36, t19.area_housing_unit AS area_housing_unit_37, t19.area_plot AS area_plot_38, t19.area_plot_unit AS area_plot_unit_39, t19.adults_capacity AS adults_capacity_40, t19.accommodation_id AS accommodation_id_41, t42.id AS id_43, t42.tv AS tv_44, t42.garden AS garden_45, t42.garden_furniture AS garden_furniture_46, t42.iron AS iron_47, t42.fire_place AS fire_place_48, t42.barbacue AS barbacue_49, t42.radio AS radio_50, t42.mini_bar AS mini_bar_51, t42.terrace AS terrace_52, t42.fenced_plot AS fenced_plot_53, t42.security_box AS security_box_54, t42.elevator AS elevator_55, t42.dvd AS dvd_56, t42.balcony AS balcony_57, t42.juice_squeezer AS juice_squeezer_58, t42.electric_kettle AS electric_kettle_59, t42.hair_dryer AS hair_dryer_60, t42.children_area AS children_area_61, t42.gym AS gym_62, t42.alarm AS alarm_63, t42.tennis AS tennis_64, t42.squash AS squash_65, t42.paddel AS paddel_66, t42.sauna AS sauna_67, t42.handicapped_facilities AS handicapped_facilities_68, t42.jacuzzi AS jacuzzi_69, t42.smoking_allowed AS smoking_allowed_70, t42.num_of_televisions AS num_of_televisions_71, t42.num_of_fans AS num_of_fans_72, t42.num_of_electronic_mosquito_repeller AS num_of_electronic_mosquito_repeller_73, t42.window_screens AS window_screens_74, t42.acswimming_pool_id AS acswimming_pool_id_75, t42.tv_satellite_id AS tv_satellite_id_76, t42.ackitchen_id AS ackitchen_id_77, t42.accommodation_id AS accommodation_id_78, t79.id AS id_80, t79.name AS name_81, t79.video AS video_82, t79.code AS code_83, t79.accommodation_id AS accommodation_id_84 FROM accommodation t0 LEFT JOIN ac_distribution t19 ON t19.accommodation_id = t0.id LEFT JOIN ac_house_characteristics t42 ON t42.accommodation_id = t0.id LEFT JOIN video t79 ON t79.accommodation_id = t0.id WHERE t0.location_id = ?
Parameters:
[
  5
]
0.54 ms
(2.01%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_airport AS is_airport_3, t0.is_active AS is_active_4, t0.is_online AS is_online_5, t0.is_deleted AS is_deleted_6, t0.is_transfer AS is_transfer_7, t0.traveltime AS traveltime_8, t0.gps AS gps_9, t0.code AS code_10, t0.transferarea_id AS transferarea_id_11 FROM location t0 WHERE t0.code IN (?, ?, ?, ?) LIMIT 1
Parameters:
[
  661
  46216
  459614
  46209
]

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\Pictures 150
App\Entity\Reviews 16
App\Entity\Description 8
App\Entity\Accommodation 4
App\Entity\AcDistribution 4
App\Entity\AcHouseCharacteristics 4
App\Entity\AcSwimmingPool 4
App\Entity\AcTVSatellite 4
App\Entity\AcKitchen 4
App\Entity\AcSpecialService 4
App\Entity\Video 2
App\Entity\Service 2
App\Entity\Location 1
App\Entity\Kind 1