Query Metrics
8
Database Queries
7
Different statements
7.48 ms
Query time
15
Invalid entities
0
Cache hits
0
Cache misses
0
Cache puts
Queries
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.74 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/salons/"
]
|
| 2 | 0.72 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.98 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
]
|
| 4 | 0.83 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 1
Parameters:
[
1
]
|
| 5 | 0.73 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 1
Parameters:
[
1
]
|
| 6 | 0.94 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 ] |
| 7 | 0.55 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:
[] |
| 8 | 2.00 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
]
|
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\Messengers |
|
| App\Entity\PhoneCallRestrictions | No errors. |
| App\Entity\Saloon\WorkingHours | No errors. |
| App\Entity\ApartmentsPricing | No errors. |
| App\Entity\TakeOutPricing | No errors. |
| App\Entity\ExpressPricing | No errors. |
| App\Entity\Saloon\Saloon |
|
| 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\Profile\PersonParameters | No errors. |
| App\Entity\Profile\ClientRestrictions | No errors. |
| App\Entity\Profile\CarPricing | No errors. |
| App\Entity\Profile\Profile |
|
| App\Entity\Location\Subway\Line | 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 |
|
| App\Entity\Sales\Profile\TopPlacement | No errors. |
| App\Entity\Sales\Profile\PlacementHiding | No errors. |
| App\Entity\Profile\ProfileService | No errors. |
| App\Entity\Profile\Photo | No errors. |
| App\Entity\Profile\Selfie | No errors. |
| App\Entity\Profile\Video | No errors. |
| App\Entity\Profile\FileProcessingTask | No errors. |
| App\Entity\Profile\AdminApprovalPhoto | No errors. |
| App\Entity\Profile\Avatar | No errors. |
| App\Entity\Profile\Comment\Comment | No errors. |
| App\Entity\Profile\Comment\CommentByCustomer |
|
| App\Entity\Account\Avatar | No errors. |
| App\Entity\Sales\AccountEnrollment |
|
| App\Entity\Sales\AccountCharge |
|
| App\Entity\Sales\AccountTransaction |
|
| App\Entity\OfferBarHidden | No errors. |
| App\Entity\Account\PhoneReviewAdded |
|
| App\Entity\Service | No errors. |
| App\Entity\System\IpAddress |
|
| App\Entity\Profile\Confirmation\ConfirmationRequest |
|
| App\Entity\Profile\Confirmation\ModerationRequest |
|
multi_website entity manager
No loaded entities.