Query Metrics

8 Database Queries
8 Different statements
52.92 ms Query time
6 Invalid entities
0 Cache hits
0 Cache misses
0 Cache puts

Queries

Group similar statements

default connection

# Time Info
1 0.50 ms
SELECT p0_.id AS id_0, p0_.uri AS uri_1, p0_.top_html AS top_html_2, p0_.bottom_html AS bottom_html_3, p0_.meta_title AS meta_title_4, p0_.meta_description AS meta_description_5, p0_.meta_keywords AS meta_keywords_6, p0_.page_heading AS page_heading_7, p0_.city_id AS city_id_8 FROM page_seo_texts p0_ WHERE p0_.uri = ? LIMIT 1
Parameters:
[
  "/moskva/salons/"
]
2 2.29 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.uri_identity AS uri_identity_2, c0_.country_code AS country_code_3, c0_.city_group AS city_group_4, c0_.city_price_category AS city_price_category_5, c0_.timezone AS timezone_6, c0_.map_latitude AS map_latitude_7, c0_.map_longitude AS map_longitude_8 FROM cities c0_ WHERE c0_.uri_identity = ? LIMIT 1
Parameters:
[
  "moskva"
]
3 12.24 ms
SELECT DISTINCT s0_.id AS id_0, (CASE WHEN (s1_.position_group IS NOT NULL) THEN s1_.position_group ELSE 0 END) AS sclr_1, (CASE WHEN (s1_.position IS NOT NULL) THEN s1_.position ELSE 0 END) AS sclr_2, s0_.inactivated_at AS inactivated_at_3, (CASE WHEN (s0_.user_id IS NOT NULL) THEN 1 ELSE 0 END) AS sclr_4, s0_.id AS id_5 FROM saloons s0_ LEFT JOIN placement_hidings p2_ ON s0_.id = p2_.saloon_id AND p2_.entity_type IN ('saloon') LEFT JOIN saloon_adboard_placements s1_ ON s0_.id = s1_.saloon_id INNER JOIN cities c3_ ON s0_.city_id = c3_.id LEFT JOIN saloon_stations s5_ ON s0_.id = s5_.saloon_id LEFT JOIN city_stations c4_ ON c4_.id = s5_.station_id LEFT JOIN saloon_media_files s6_ ON s0_.id = s6_.saloon_id AND s6_.type IN ('thumbnail') LEFT JOIN saloon_adboard_placements s7_ ON s0_.id = s7_.saloon_id WHERE (p2_.id IS NULL AND s0_.city_id = ?) AND (s0_.deleted_at IS NULL) ORDER BY sclr_1 DESC, sclr_2 ASC, s0_.inactivated_at DESC, sclr_4 DESC, s0_.id DESC LIMIT 36
Parameters:
[
  1
]
4 9.22 ms
SELECT (CASE WHEN (s0_.position_group IS NOT NULL) THEN s0_.position_group ELSE 0 END) AS sclr_0, (CASE WHEN (s0_.position IS NOT NULL) THEN s0_.position ELSE 0 END) AS sclr_1, (CASE WHEN (s1_.user_id IS NOT NULL) THEN 1 ELSE 0 END) AS sclr_2, s1_.id AS id_3, s1_.uri_identity AS uri_identity_4, s1_.name AS name_5, s1_.description AS description_6, s1_.client_types AS client_types_7, s1_.phone_number AS phone_number_8, s1_.prices AS prices_9, s1_.extra_charge AS extra_charge_10, s1_.districts AS districts_11, s1_.address AS address_12, s1_.created_at AS created_at_13, s1_.updated_at AS updated_at_14, s1_.inactivated_at AS inactivated_at_15, s1_.email AS email_16, s1_.seo AS seo_17, s1_.delete_mode AS delete_mode_18, s1_.deleted_at AS deleted_at_19, s1_.messengers_telegram AS messengers_telegram_20, s1_.messengers_whatsapp AS messengers_whatsapp_21, s1_.messengers_max AS messengers_max_22, s1_.messengers_telegram_username AS messengers_telegram_username_23, s1_.messengers_max_url AS messengers_max_url_24, s1_.call_time_from AS call_time_from_25, s1_.call_time_to AS call_time_to_26, s1_.call_answering_to AS call_answering_to_27, s1_.working_hours_since AS working_hours_since_28, s1_.working_hours_till AS working_hours_till_29, s1_.apartments_one_hour_price AS apartments_one_hour_price_30, s1_.apartments_two_hours_price AS apartments_two_hours_price_31, s1_.apartments_night_price AS apartments_night_price_32, s1_.take_out_one_hour_price AS take_out_one_hour_price_33, s1_.take_out_two_hours_price AS take_out_two_hours_price_34, s1_.take_out_night_price AS take_out_night_price_35, s1_.take_out_locations AS take_out_locations_36, s1_.express_provided AS express_provided_37, s1_.express_price AS express_price_38, s1_.map_latitude AS map_latitude_39, s1_.map_longitude AS map_longitude_40, p2_.id AS id_41, p2_.placed_at AS placed_at_42, p2_.placed_until AS placed_until_43, s0_.type AS type_44, s0_.position_group AS position_group_45, s0_.position AS position_46, s0_.placed_at AS placed_at_47, s0_.placed_until AS placed_until_48, c3_.id AS id_49, c3_.name AS name_50, c3_.uri_identity AS uri_identity_51, c3_.country_code AS country_code_52, c3_.city_group AS city_group_53, c3_.city_price_category AS city_price_category_54, c3_.timezone AS timezone_55, c3_.map_latitude AS map_latitude_56, c3_.map_longitude AS map_longitude_57, c4_.id AS id_58, c4_.name AS name_59, c4_.uri_identity AS uri_identity_60, s5_.id AS id_61, s5_.path AS path_62, s5_.preview_path AS preview_path_63, s6_.type AS type_64, s6_.position_group AS position_group_65, s6_.position AS position_66, s6_.placed_at AS placed_at_67, s6_.placed_until AS placed_until_68, s1_.user_id AS user_id_69, s1_.city_id AS city_id_70, s1_.primary_station_id AS primary_station_id_71, p2_.entity_type AS entity_type_72, p2_.saloon_id AS saloon_id_73, s0_.saloon_id AS saloon_id_74, s0_.placement_price_id AS placement_price_id_75, c4_.city_id AS city_id_76, c4_.county_id AS county_id_77, c4_.district_id AS district_id_78, s5_.type AS type_79, s5_.saloon_id AS saloon_id_80, s6_.saloon_id AS saloon_id_81, s6_.placement_price_id AS placement_price_id_82 FROM saloons s1_ LEFT JOIN placement_hidings p2_ ON s1_.id = p2_.saloon_id AND p2_.entity_type IN ('saloon') LEFT JOIN saloon_adboard_placements s0_ ON s1_.id = s0_.saloon_id INNER JOIN cities c3_ ON s1_.city_id = c3_.id LEFT JOIN saloon_stations s7_ ON s1_.id = s7_.saloon_id LEFT JOIN city_stations c4_ ON c4_.id = s7_.station_id LEFT JOIN saloon_media_files s5_ ON s1_.id = s5_.saloon_id AND s5_.type IN ('thumbnail') LEFT JOIN saloon_adboard_placements s6_ ON s1_.id = s6_.saloon_id WHERE (p2_.id IS NULL AND s1_.city_id = ? AND s1_.id IN (?)) AND (s1_.deleted_at IS NULL) ORDER BY sclr_0 DESC, sclr_1 ASC, s1_.inactivated_at DESC, sclr_2 DESC, s1_.id DESC
Parameters:
[
  1
  1
]
5 12.74 ms
SELECT COUNT(DISTINCT s0_.id) AS sclr_0 FROM saloons s0_ LEFT JOIN placement_hidings p1_ ON s0_.id = p1_.saloon_id AND p1_.entity_type IN ('saloon') LEFT JOIN saloon_adboard_placements s2_ ON s0_.id = s2_.saloon_id INNER JOIN cities c3_ ON s0_.city_id = c3_.id LEFT JOIN saloon_stations s5_ ON s0_.id = s5_.saloon_id LEFT JOIN city_stations c4_ ON c4_.id = s5_.station_id LEFT JOIN saloon_media_files s6_ ON s0_.id = s6_.saloon_id AND s6_.type IN ('thumbnail') LEFT JOIN saloon_adboard_placements s7_ ON s0_.id = s7_.saloon_id WHERE (p1_.id IS NULL AND s0_.city_id = ?) AND (s0_.deleted_at IS NULL)
Parameters:
[
  1
]
6 1.93 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.uri_identity AS uri_identity_3, t0.city_id AS city_id_4, t0.county_id AS county_id_5, t0.district_id AS district_id_6 FROM city_stations t0 WHERE t0.city_id = ? ORDER BY t0.name ASC
Parameters:
[
  1
]
7 1.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.uri_identity AS uri_identity_3, t0.city_id AS city_id_4, t0.county_id AS county_id_5 FROM city_districts t0 WHERE t0.city_id = ?
Parameters:
[
  1
]
8 12.75 ms
SELECT s0_.id AS id_0, s0_.`group` AS group_1, s0_.name AS name_2, s0_.uri_identity AS uri_identity_3, s0_.sort AS sort_4 FROM services s0_ ORDER BY s0_.`group` ASC, s0_.sort ASC, s0_.id ASC
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection
multi_website doctrine.dbal.multi_website_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
multi_website doctrine.orm.multi_website_entity_manager

Second Level Cache

0 Hits
0 Misses
0 Puts

Entities Mapping

default entity manager

Class Mapping errors
App\Entity\Sales\Profile\AdBoardPlacement No errors.
App\Entity\Sales\PaidPlacementPrice No errors.
App\Entity\Profile\PersonParameters No errors.
App\Entity\Messengers
  • The field 'App\Entity\Messengers#whatsApp' has the property type 'bool' that differs from the metadata field type 'int' returned by the 'integer' DBAL type.
App\Entity\PhoneCallRestrictions No errors.
App\Entity\Profile\ClientRestrictions No errors.
App\Entity\ApartmentsPricing No errors.
App\Entity\TakeOutPricing No errors.
App\Entity\ExpressPricing No errors.
App\Entity\Profile\CarPricing No errors.
App\Entity\Location\MapCoordinate
  • The field 'App\Entity\Location\MapCoordinate#latitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\Location\MapCoordinate#longitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
App\Entity\Profile\Profile
  • The field 'App\Entity\Profile\Profile#messengers.whatsApp' has the property type 'bool' that differs from the metadata field type 'int' returned by the 'integer' DBAL type.
  • The field 'App\Entity\Profile\Profile#mapCoordinate.latitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\Profile\Profile#mapCoordinate.longitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field App\Entity\Profile\Profile#placementHiding is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Sales\Profile\PlacementHiding#profile does not contain the required 'inversedBy="placementHiding"' attribute.
  • The field App\Entity\Profile\Profile#providedServices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Profile\ProfileService#profile does not contain the required 'inversedBy="providedServices"' attribute.
  • The mappings App\Entity\Profile\Profile#selfies and App\Entity\Profile\Selfie#profile are inconsistent with each other.
  • The mappings App\Entity\Profile\Profile#videos and App\Entity\Profile\Video#profile are inconsistent with each other.
  • The mappings App\Entity\Profile\Profile#adminApprovalPhoto and App\Entity\Profile\AdminApprovalPhoto#profile are inconsistent with each other.
  • The mappings App\Entity\Profile\Profile#avatar and App\Entity\Profile\Avatar#profile are inconsistent with each other.
App\Entity\SEO\PageMetadata No errors.
App\Entity\Location\City
  • The field 'App\Entity\Location\City#mapCoordinate.latitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\Location\City#mapCoordinate.longitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
App\Entity\Location\County No errors.
App\Entity\Location\District No errors.
App\Entity\Location\Station No errors.
App\Entity\Sales\PaidPlacementsOrder No errors.
App\Entity\Saloon\WorkingHours No errors.
App\Entity\Saloon\Saloon
  • The field 'App\Entity\Saloon\Saloon#messengers.whatsApp' has the property type 'bool' that differs from the metadata field type 'int' returned by the 'integer' DBAL type.
  • The field 'App\Entity\Saloon\Saloon#mapCoordinate.latitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\Saloon\Saloon#mapCoordinate.longitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field App\Entity\Saloon\Saloon#placementHiding is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Sales\Saloon\PlacementHiding#saloon does not contain the required 'inversedBy="placementHiding"' attribute.
  • The field App\Entity\Saloon\Saloon#providedServices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Saloon\SaloonService#saloon does not contain the required 'inversedBy="providedServices"' attribute.
  • The field App\Entity\Saloon\Saloon#thumbnail is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Saloon\Thumbnail#saloon does not contain the required 'inversedBy="thumbnail"' attribute.
  • The field App\Entity\Saloon\Saloon#photos is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Saloon\Photo#saloon does not contain the required 'inversedBy="photos"' attribute.
  • The field App\Entity\Saloon\Saloon#videos is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Saloon\Video#saloon does not contain the required 'inversedBy="videos"' attribute.
App\Entity\Sales\PlacementHiding No errors.
App\Entity\Sales\Saloon\PlacementHiding No errors.
App\Entity\Sales\Saloon\AdBoardPlacement No errors.
App\Entity\Saloon\MediaFile No errors.
App\Entity\Saloon\Thumbnail No errors.
App\Entity\User No errors.
App\Entity\Account\Advertiser No errors.
App\Entity\Saloon\SaloonService No errors.
App\Entity\Saloon\Photo No errors.
App\Entity\Saloon\Video No errors.
App\Entity\Saloon\Comment\Comment No errors.
App\Entity\Saloon\Comment\CommentByCustomer
  • The field App\Entity\Saloon\Comment\CommentByCustomer#comments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Saloon\Comment\Comment#parent does not contain the required 'inversedBy="comments"' attribute.
App\Entity\Location\Subway\Line No errors.
App\Entity\Service No errors.

multi_website entity manager

No loaded entities.