https://313-f-29314-show-more-duplicate.review.mechanic.works/moscow/test-anketa-moscow-44/

Query Metrics

23 Database Queries
23 Different statements
14.47 ms Query time
9 Invalid entities
0 Cache hits
0 Cache misses
0 Cache puts

Queries

Group similar statements

default connection

# Time Info
1 1.04 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:
[
  "/moscow/test-anketa-moscow-44/"
]
2 0.44 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_.timezone AS timezone_5, c0_.map_latitude AS map_latitude_6, c0_.map_longitude AS map_longitude_7 FROM cities c0_ WHERE c0_.uri_identity = ? LIMIT 1
Parameters:
[
  "moscow"
]
3 0.96 ms
SELECT t0.id AS id_1, t0.is_dummy AS is_dummy_2, t0.uri_identity AS uri_identity_3, t0.name AS name_4, t0.description AS description_5, t0.client_types AS client_types_6, t0.phone_number AS phone_number_7, t0.is_masseur AS is_masseur_8, t0.extra_charge AS extra_charge_9, t0.is_approved AS is_approved_10, t0.moderation_status AS moderation_status_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.inactivated_at AS inactivated_at_14, t0.seo AS seo_15, t0.deleted_at AS deleted_at_16, t0.person_gender AS person_gender_17, t0.person_age AS person_age_18, t0.person_height AS person_height_19, t0.person_weight AS person_weight_20, t0.person_breast_size AS person_breast_size_21, t0.person_breast_type AS person_breast_type_22, t0.person_cloth_size AS person_cloth_size_23, t0.person_shoes_size AS person_shoes_size_24, t0.person_body_type AS person_body_type_25, t0.person_hair_color AS person_hair_color_26, t0.person_private_haircut AS person_private_haircut_27, t0.person_nationality AS person_nationality_28, t0.person_has_tattoo AS person_has_tattoo_29, t0.person_has_piercing AS person_has_piercing_30, t0.messengers_telegram AS messengers_telegram_31, t0.messengers_whatsapp AS messengers_whatsapp_32, t0.call_time_from AS call_time_from_33, t0.call_time_to AS call_time_to_34, t0.call_answering_to AS call_answering_to_35, t0.client_min_age AS client_min_age_36, t0.client_max_age AS client_max_age_37, t0.apartments_one_hour_price AS apartments_one_hour_price_38, t0.apartments_two_hours_price AS apartments_two_hours_price_39, t0.apartments_night_price AS apartments_night_price_40, t0.take_out_one_hour_price AS take_out_one_hour_price_41, t0.take_out_two_hours_price AS take_out_two_hours_price_42, t0.take_out_night_price AS take_out_night_price_43, t0.take_out_locations AS take_out_locations_44, t0.express_provided AS express_provided_45, t0.express_price AS express_price_46, t0.car_provided AS car_provided_47, t0.map_latitude AS map_latitude_48, t0.map_longitude AS map_longitude_49, t0.user_id AS user_id_50, t51.type AS type_52, t51.position_group AS position_group_53, t51.position AS position_54, t51.placed_at AS placed_at_55, t51.placed_until AS placed_until_56, t51.profile_id AS profile_id_57, t51.placement_price_id AS placement_price_id_58, t0.city_id AS city_id_59 FROM profiles t0 LEFT JOIN profile_adboard_placements t51 ON t51.profile_id = t0.id WHERE t0.uri_identity = ? AND t0.city_id = ? LIMIT 1
Parameters:
[
  "test-anketa-moscow-44"
  1
]
4 0.41 ms
SELECT t0.id AS id_1, t0.placed_at AS placed_at_2, t0.placed_until AS placed_until_3, t0.profile_id AS profile_id_4, t0.entity_type FROM placement_hidings t0 WHERE t0.profile_id = ? AND t0.entity_type IN ('profile')
Parameters:
[
  44
]
5 0.49 ms
SELECT t0.id AS id_1, t0.path AS path_2, t0.preview_path AS preview_path_3, t0.is_main AS is_main_4, t0.is_confirmed AS is_confirmed_5, t0.profile_id AS profile_id_6, t0.confirmed_by AS confirmed_by_7, t0.type FROM profile_media_files t0 WHERE t0.profile_id = ? AND t0.type IN ('adm_apr_ph')
Parameters:
[
  44
]
6 0.37 ms
SELECT t0.id AS id_1, t0.path AS path_2, t0.preview_path AS preview_path_3, t0.is_main AS is_main_4, t0.is_confirmed AS is_confirmed_5, t0.profile_id AS profile_id_6, t0.confirmed_by AS confirmed_by_7, t0.type FROM profile_media_files t0 WHERE t0.profile_id = ? AND t0.type IN ('avatar')
Parameters:
[
  44
]
7 0.61 ms
SELECT s0_.id AS id_0, s0_.`group` AS group_1, s0_.name AS name_2, s0_.uri_identity AS uri_identity_3 FROM services s0_ ORDER BY s0_.`group` ASC, s0_.id ASC
Parameters:
[]
8 0.56 ms
SELECT t0.id AS id_1, t0.text AS text_2, t0.created_at AS created_at_3, t0.deleted_at AS deleted_at_4, t0.mark AS mark_5, t0.parent_id AS parent_id_6, t0.profile_id AS profile_id_7, t0.user_id AS user_id_8, t0.ip_address_id AS ip_address_id_9, t0.account_type FROM profile_comments t0 WHERE t0.profile_id = ? AND t0.account_type IN ('customer') AND ((t0.deleted_at IS NULL))
Parameters:
[
  44
]
9 0.45 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 INNER JOIN profile_stations ON t0.id = profile_stations.station_id WHERE profile_stations.profile_id = ?
Parameters:
[
  44
]
10 0.69 ms
SELECT p0_.id AS id_0 FROM profiles p0_ INNER JOIN profile_adboard_placements p1_ ON p0_.id = p1_.profile_id WHERE p0_.moderation_status IN (?, ?, ?) AND (EXISTS (SELECT 1 FROM profile_stations p2_ WHERE p2_.profile_id = p0_.id AND p2_.station_id IN (?)) AND NOT (p0_.id IN (?))) LIMIT 6
Parameters:
[
  0
  2
  1
  false
  44
]
11 0.75 ms
SELECT p0_.id AS id_0 FROM profiles p0_ INNER JOIN profile_adboard_placements p1_ ON p0_.id = p1_.profile_id WHERE p0_.moderation_status IN (?, ?, ?) AND (p0_.city_id = ? AND NOT (p0_.id IN (?))) LIMIT 6
Parameters:
[
  0
  2
  1
  1
  44
]
12 2.00 ms
SELECT 
                p.*, JSON_UNQUOTE(JSON_EXTRACT(p.name, '$.ru')) 
                    AS `name`, 
                JSON_UNQUOTE(JSON_EXTRACT(p.description, '$.ru')) 
                    AS `description`,
                (SELECT path FROM profile_media_files pmf_avatar WHERE p.id = pmf_avatar.profile_id AND pmf_avatar.type = 'avatar' AND pmf_avatar.is_main = 0 LIMIT 1) 
                    AS `avatar_path`,
                (SELECT TYPE FROM profile_adboard_placements pap WHERE p.id = pap.profile_id LIMIT 1) 
                    AS `adboard_placement_type`,
                (SELECT position FROM profile_adboard_placements pap WHERE p.id = pap.profile_id LIMIT 1) 
                    AS `adboard_placement_position`,
                c.id 
                    AS `city_id`, 
                JSON_UNQUOTE(JSON_EXTRACT(c.name, '$.ru')) 
                    AS `city_name`, 
                c.uri_identity 
                    AS `city_uri_identity`,
                c.country_code 
                    AS `city_country_code`,
                EXISTS(SELECT * FROM profile_top_placements ptp WHERE p.id = ptp.profile_id AND (NOW() BETWEEN ptp.placed_at AND ptp.expires_at))
                    AS `has_top_placement`,
                EXISTS(SELECT * FROM placement_hidings ph WHERE p.id = ph.profile_id AND ph.entity_type = 'profile') 
                    AS `has_placement_hiding`,
                EXISTS(SELECT * FROM profile_comments pc WHERE p.id = pc.profile_id AND pc.deleted_at IS NULL) 
                    AS `has_comments`,
                EXISTS(SELECT * FROM profile_media_files pmf_video WHERE p.id = pmf_video.profile_id AND pmf_video.type = 'video') 
                    AS `has_videos`,
                EXISTS(SELECT * FROM profile_media_files pmf_selfie WHERE p.id = pmf_selfie.profile_id AND pmf_selfie.type = 'selfie') 
                    AS `has_selfies`
            FROM profiles `p`
            JOIN cities `c` ON c.id = p.city_id 
            WHERE p.id IN (1,2,3,4,5,6)
            ORDER BY FIELD(p.id,1,2,3,4,5,6)
Parameters:
[]
13 0.49 ms
SELECT 
                    cs.id 
                        AS `id`,
                    JSON_UNQUOTE(JSON_EXTRACT(cs.name, '$.ru')) 
                        AS `name`, 
                    cs.uri_identity 
                        AS `uriIdentity`, 
                    ps.profile_id
                        AS `profile_id`,
                    csl.name
                        AS `line_name`,
                    csl.color
                        AS `line_color`
                FROM profile_stations ps
                JOIN city_stations cs ON ps.station_id = cs.id 
                LEFT JOIN city_subway_station_lines cssl ON cssl.station_id = cs.id
                LEFT JOIN city_subway_lines csl ON csl.id = cssl.line_id
                WHERE ps.profile_id IN (1,2,3,4,5,6)
Parameters:
[]
14 0.39 ms
SELECT 
                    s.id 
                        AS `id`,
                    JSON_UNQUOTE(JSON_EXTRACT(s.name, '$.ru')) 
                        AS `name`, 
                    s.group 
                        AS `group`, 
                    s.uri_identity 
                        AS `uriIdentity`,
                    pps.profile_id
                        AS `profile_id`,
                    pps.service_condition
                        AS `condition`,
                    pps.extra_charge
                        AS `extra_charge`,
                    pps.comment
                        AS `comment`
                FROM profile_provided_services pps
                JOIN services s ON pps.service_id = s.id 
                WHERE pps.profile_id IN (1,2,3,4,5,6)
Parameters:
[]
15 1.04 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
]
16 0.65 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
]
17 0.57 ms
SELECT t0.id AS id_1, t0.service_condition AS service_condition_2, t0.extra_charge AS extra_charge_3, t0.comment AS comment_4, t0.profile_id AS profile_id_5, t0.service_id AS service_id_6 FROM profile_provided_services t0 WHERE t0.profile_id = ?
Parameters:
[
  44
]
18 0.57 ms
SELECT t0.id AS id_1, t0.path AS path_2, t0.preview_path AS preview_path_3, t0.is_main AS is_main_4, t0.is_confirmed AS is_confirmed_5, t0.profile_id AS profile_id_6, t0.confirmed_by AS confirmed_by_7, t0.type FROM profile_media_files t0 WHERE t0.profile_id = ? AND t0.type IN ('photo', 'video', 'selfie', 'avatar', 'adm_apr_ph')
Parameters:
[
  44
]
19 0.36 ms
SELECT t0.id AS id_1, t0.path AS path_2, t0.preview_path AS preview_path_3, t0.is_main AS is_main_4, t0.is_confirmed AS is_confirmed_5, t0.profile_id AS profile_id_6, t0.confirmed_by AS confirmed_by_7, t0.type FROM profile_media_files t0 WHERE t0.profile_id = ? AND t0.type IN ('video')
Parameters:
[
  44
]
20 0.32 ms
SELECT t0.id AS id_1, t0.path AS path_2, t0.preview_path AS preview_path_3, t0.is_main AS is_main_4, t0.is_confirmed AS is_confirmed_5, t0.profile_id AS profile_id_6, t0.confirmed_by AS confirmed_by_7, t0.type FROM profile_media_files t0 WHERE t0.profile_id = ? AND t0.type IN ('selfie')
Parameters:
[
  44
]
21 0.53 ms
SELECT p0_.city_id AS sclr_0, COUNT(p0_.id) AS sclr_1 FROM profiles p0_ INNER JOIN profile_adboard_placements p1_ ON p0_.id = p1_.profile_id WHERE p0_.person_gender IN (?) AND p0_.moderation_status IN (?, ?, ?) GROUP BY p0_.city_id
Parameters:
[
  1
  0
  2
  1
]
22 0.29 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.uri_identity AS uri_identity_3, t0.country_code AS country_code_4, t0.city_group AS city_group_5, t0.timezone AS timezone_6, t0.map_latitude AS map_latitude_7, t0.map_longitude AS map_longitude_8 FROM cities t0
Parameters:
[]
23 0.52 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
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
  • The field 'App\Entity\Sales\PaidPlacementPrice#priceAmount' has the property type 'string' that differs from the metadata field type 'int' returned by the 'integer' DBAL type.
App\Entity\SEO\PageMetadata 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\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\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\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\User No errors.
App\Entity\Account\Advertiser No errors.
App\Entity\Sales\PlacementHiding No errors.
App\Entity\Sales\Profile\PlacementHiding No errors.
App\Entity\Profile\Photo No errors.
App\Entity\Profile\AdminApprovalPhoto No errors.
App\Entity\Profile\Avatar No errors.
App\Entity\Sales\Profile\TopPlacement No errors.
App\Entity\Profile\ProfileService No errors.
App\Entity\Profile\Selfie No errors.
App\Entity\Profile\Video No errors.
App\Entity\Profile\FileProcessingTask No errors.
App\Entity\Profile\Confirmation\ConfirmationRequest
  • The mappings App\Entity\Profile\Confirmation\ConfirmationRequest#videos and App\Entity\Profile\Confirmation\Video#confirmationRequest are inconsistent with each other.
App\Entity\Profile\Confirmation\ModerationRequest
  • The mappings App\Entity\Profile\Confirmation\ModerationRequest#videos and App\Entity\Profile\Confirmation\Video#confirmationRequest are inconsistent with each other.
App\Entity\Profile\Comment\Comment No errors.
App\Entity\Profile\Comment\CommentByCustomer
  • The field App\Entity\Profile\Comment\CommentByCustomer#comments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Profile\Comment\Comment#parent does not contain the required 'inversedBy="comments"' attribute.
App\Entity\Sales\PaidPlacementsOrder No errors.
App\Entity\Service No errors.
App\Entity\System\IpAddress
  • The mappings App\Entity\System\IpAddress#dailyCommentBans and App\Entity\System\IpAddressDailyCommentBan#ipAddress are inconsistent with each other.
  • The mappings App\Entity\System\IpAddress#permanentCommentBans and App\Entity\System\IpAddressPermanentCommentBan#ipAddress are inconsistent with each other.
App\Entity\Location\Subway\Line No errors.

multi_website entity manager

No loaded entities.