Query Metrics
23
Database Queries
23
Different statements
15.82 ms
Query time
9
Invalid entities
0
Cache hits
0
Cache misses
0
Cache puts
Queries
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 1.01 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-34/"
]
|
| 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 | 1.37 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-34" 1 ] |
| 4 | 0.48 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:
[
34
]
|
| 5 | 0.44 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:
[
34
]
|
| 6 | 0.55 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:
[
34
]
|
| 7 | 0.51 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.47 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:
[
34
]
|
| 9 | 0.41 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:
[
34
]
|
| 10 | 0.58 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 34 ] |
| 11 | 0.64 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 34 ] |
| 12 | 2.09 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.53 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.48 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 | 0.98 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.58 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.46 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:
[
34
]
|
| 18 | 0.60 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:
[
34
]
|
| 19 | 0.40 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:
[
34
]
|
| 20 | 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 ('selfie')
Parameters:
[
34
]
|
| 21 | 0.95 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.48 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 | 1.02 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 |
|
| App\Entity\SEO\PageMetadata | No errors. |
| App\Entity\Location\MapCoordinate |
|
| App\Entity\Location\City |
|
| 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 |
|
| 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 |
|
| 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 |
|
| App\Entity\Profile\Confirmation\ModerationRequest |
|
| App\Entity\Profile\Comment\Comment | No errors. |
| App\Entity\Profile\Comment\CommentByCustomer |
|
| App\Entity\Sales\PaidPlacementsOrder | No errors. |
| App\Entity\Service | No errors. |
| App\Entity\System\IpAddress |
|
| App\Entity\Location\Subway\Line | No errors. |
multi_website entity manager
No loaded entities.