Query Metrics
14
Database Queries
13
Different statements
11.48 ms
Query time
5
Invalid entities
0
Cache hits
0
Cache misses
0
Cache puts
Queries
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.97 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/old/page3/"
]
|
| 2 | 0.53 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/old/"
]
|
| 3 | 0.60 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"
]
|
| 4 | 0.82 ms |
SELECT COUNT(p0_.id) AS sclr_0 FROM profiles p0_ INNER JOIN profile_adboard_placements p1_ ON p0_.id = p1_.profile_id WHERE (p0_.moderation_status IN (?, ?, ?) AND p0_.person_gender IN (?) AND (p0_.city_id = ? AND p0_.person_age >= ?)) AND (p0_.deleted_at IS NULL)
Parameters:
[ 0 2 1 1 1 30 ] |
| 5 | 0.94 ms |
SELECT p0_.id AS id_0, p0_.is_approved AS is_approved_1, (CASE WHEN (p1_.position_group IS NOT NULL) THEN p1_.position_group ELSE 0 END) AS sclr_2, (CASE WHEN (p1_.position IS NOT NULL) THEN p1_.position ELSE 0 END) AS sclr_3, p0_.id AS id_4 FROM profiles p0_ INNER JOIN profile_adboard_placements p1_ ON p0_.id = p1_.profile_id WHERE (p0_.moderation_status IN (?, ?, ?) AND p0_.person_gender IN (?) AND (p0_.city_id = ? AND p0_.person_age >= ?)) AND (p0_.deleted_at IS NULL) ORDER BY sclr_2 DESC, is_approved_1 DESC, sclr_3 ASC LIMIT 10 OFFSET 20
Parameters:
[ 0 2 1 1 1 30 ] |
| 6 | 1.63 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 (46,47,48,49,50,14,2,3,4,5) ORDER BY FIELD(p.id,46,47,48,49,50,14,2,3,4,5)
Parameters:
[] |
| 7 | 0.47 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 (46,47,48,49,50,14,2,3,4,5)
Parameters:
[] |
| 8 | 0.43 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 (46,47,48,49,50,14,2,3,4,5)
Parameters:
[] |
| 9 | 1.67 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
]
|
| 10 | 0.68 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
]
|
| 11 | 0.71 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:
[] |
| 12 | 0.82 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 (?, ?, ?)) AND (p0_.deleted_at IS NULL) GROUP BY p0_.city_id
Parameters:
[ 1 0 2 1 ] |
| 13 | 0.41 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:
[] |
| 14 | 0.79 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\Sales\PaidPlacementsOrder | 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\Location\Subway\Line | No errors. |
| App\Entity\Service | No errors. |
multi_website entity manager
No loaded entities.