Query Metrics
14
Database Queries
9
Different statements
130.30 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
47.74 ms (36.64%) |
1 |
SELECT DISTINCT sA.name AS stop_name_dep, sA.id AS stop_id_dep, sB.name AS stop_name_arr, sB.id AS stop_id_arr FROM route r JOIN stop sA ON r.stop_id_dep = sA.id and sA.country = 'fr' JOIN stop sB ON r.stop_id_arr = sB.id and sB.country = 'fr' WHERE stop_id_dep = :depStopId AND company_id IN (:companies)
Parameters:
|
33.82 ms (25.96%) |
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:
|
14.62 ms (11.22%) |
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:
|
12.20 ms (9.36%) |
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:
|
8.83 ms (6.78%) |
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:
|
5.49 ms (4.21%) |
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:
|
4.20 ms (3.22%) |
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 = 'EUR' THEN cents * :EUR 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; |
2.33 ms (1.79%) |
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:
|
1.07 ms (0.82%) |
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:
|
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. |
App\Entity\model\RouteSeo | No errors. |