Query Metrics
13
Database Queries
8
Different statements
11.95 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
2.96 ms (24.76%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.country AS country_3, t0.lat AS lat_4, t0.lon AS lon_5, t0.geoname_id AS geoname_id_6, t0.population AS population_7, t8.id AS id_9, t8.population AS population_10, t8.stop_id AS stop_id_11 FROM stop t0 LEFT JOIN stop_info t8 ON t8.stop_id = t0.id WHERE t0.id = ?
Parameters:
[
1785
]
|
2.87 ms (24.04%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.lang AS lang_3, t0.stop_id AS stop_id_4 FROM stop_lang t0 WHERE t0.stop_id = ? AND t0.lang = ? LIMIT 1
Parameters:
[ 1785 "ru" ] |
2.19 ms (18.36%) |
2 |
SELECT DISTINCT p0_.currency AS currency_0 FROM price p0_ WHERE p0_.stop_id_dep = ? AND p0_.stop_id_arr = ? AND p0_.type = ? AND p0_.created_at > ? AND p0_.currency IS NOT NULL AND p0_.currency <> '' AND p0_.cents > 0
Parameters:
[ 1785 898 0 "2025-03-29 06:24:17" ] |
1.55 ms (12.95%) |
2 |
select avg(duration) as avg_dur, min(duration) as min_dur, max(duration) as max_dur, avg(cents) as avg_cents, min(cents) as min_cents, max(cents) as max_cents FROM ( select duration, ( CASE WHEN currency = 'RUB' THEN cents * :RUB END ) as cents from price p where stop_id_dep = :dep and stop_id_arr = :arr and duration is not null and type = :type and dep_datetime > NOW() and created_at > NOW() - INTERVAL :daysold DAY and currency is not null and currency in (:currencies) and cents > 0 ) t;
Parameters:
[ "dep" => 1785 "arr" => 898 "type" => 0 "daysold" => 7 "currencies" => [ "RUB" ] "RUB" => 1 ] |
0.78 ms (6.55%) |
2 |
SELECT t0.id AS id_1, t0.path AS path_2, t0.content AS content_3, t0.meta AS meta_4 FROM block t0 WHERE t0.path = ? LIMIT 1
Parameters:
[
"/ru/bus-o-d-1785-898"
]
|
0.65 ms (5.44%) |
1 |
SELECT p0_.carrier_name AS carrier_name_0, count(p0_.carrier_name) AS sclr_1 FROM price p0_ WHERE p0_.stop_id_dep = ? AND p0_.stop_id_arr = ? AND p0_.type = ? AND p0_.carrier_name IS NOT NULL GROUP BY p0_.carrier_name ORDER BY sclr_1 DESC LIMIT 10
Parameters:
[ 1785 898 0 ] |
0.53 ms (4.42%) |
1 |
select p.* from price p where stop_id_dep = :dep and stop_id_arr = :arr and type = :type and cents > 0 and currency is not null order by id desc limit 15
Parameters:
[ "dep" => 1785 "arr" => 898 "type" => 0 ] |
0.42 ms (3.48%) |
1 |
SELECT t0.id AS id_1, t0.description AS description_2, t0.author AS author_3, t0.flickr_id AS flickr_id_4, t0.stop_id AS stop_id_5 FROM picture_stop t0 WHERE t0.stop_id = ?
Parameters:
[
"898"
]
|
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\Route | No errors. |
App\Entity\Stop | No errors. |
App\Entity\StopInfo | No errors. |
App\Entity\PictureStop | No errors. |
App\Entity\StopLang | No errors. |
App\Entity\StopAlias | No errors. |
App\Entity\Price | No errors. |
App\Entity\model\StatPriceDuration | No errors. |
App\Entity\Block | No errors. |