POST https://api-dev.mileguy.de/api/flights/search?date=2026-01-12&destination=SIN&origin=FRA

Query Metrics

813 Database Queries
5 Different statements
175.00 ms Query time
0 Invalid entities
76 Managed entities

Grouped Statements

Show all queries

Time Count Info
98.83 ms
(56.48%)
795
SELECT t0.route_code AS route_code_1, t0.from_location AS from_location_2, t0.to_location AS to_location_3, t0.miles_economy AS miles_economy_4, t0.miles_premium_economy AS miles_premium_economy_5, t0.miles_business AS miles_business_6, t0.miles_first AS miles_first_7, t0.tax_economy AS tax_economy_8, t0.tax_premium_economy AS tax_premium_economy_9, t0.tax_business AS tax_business_10, t0.tax_first AS tax_first_11, t0.tax_currency AS tax_currency_12 FROM flight_route t0 WHERE t0.route_code = ?
Parameters:
[
  "FRASIN"
]
53.58 ms
(30.62%)
14
SELECT t0.id AS id_1, t0.code AS code_2, t0.icao AS icao_3, t0.name AS name_4, t0.latitude AS latitude_5, t0.longitude AS longitude_6, t0.elevation AS elevation_7, t0.url AS url_8, t0.time_zone AS time_zone_9, t0.city_code AS city_code_10, t0.country AS country_11, t0.city AS city_12, t0.state AS state_13, t0.county AS county_14, t0.type AS type_15 FROM airport t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "FRA"
]
17.68 ms
(10.10%)
2
SELECT a.*, 
                   (6371 * ACOS(
                      COS(RADIANS(?)) * COS(RADIANS(a.latitude)) * COS(RADIANS(a.longitude) - RADIANS(?)) 
                      + SIN(RADIANS(?)) * SIN(RADIANS(a.latitude))
                   )) AS distance
            FROM airport a
            HAVING distance < ?
            ORDER BY distance ASC
Parameters:
[
  50.0229437
  8.5249381519162
  50.0229437
  250
]
4.53 ms
(2.59%)
1
SELECT f0_.id AS id_0, f0_.origin_iata AS origin_iata_1, f0_.destination_iata AS destination_iata_2, f0_.departure_at AS departure_at_3, f0_.arrival_at AS arrival_at_4, f0_.airline AS airline_5, f0_.operating_airline AS operating_airline_6, f0_.flight_number AS flight_number_7, f0_.segments AS segments_8, f0_.layovers AS layovers_9, f0_.mixed_cabin AS mixed_cabin_10, f0_.program AS program_11, f0_.duration_minutes AS duration_minutes_12, f0_.booking_link AS booking_link_13, f0_.last_checked AS last_checked_14 FROM flight f0_ WHERE f0_.origin_iata = ? AND f0_.destination_iata = ? AND f0_.departure_at >= ? AND f0_.departure_at < ? ORDER BY f0_.departure_at ASC
Parameters:
[
  "FRA"
  "SIN"
  "2026-01-12 00:00:00"
  "2026-01-13 00:00:00"
]
0.38 ms
(0.22%)
1
SELECT t0.id AS id_1, t0.create_at AS create_at_2, t0.type AS type_3, t0.decryption_key AS decryption_key_4, t0.status AS status_5, t0.data AS data_6, t0.last_check_at AS last_check_at_7, t0.return_message AS return_message_8, t0.has_worked AS has_worked_9, t0.error_counter AS error_counter_10, t0.user_id AS user_id_11 FROM user_credential t0 WHERE t0.id = ?
Parameters:
[
  "75"
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Airport 68
App\Entity\FlightRoute 6
App\Entity\UserCredential 1
App\Entity\User 1

Entities Mapping

Class Mapping errors
App\Entity\UserCredential No errors.
App\Entity\User No errors.
App\Entity\Airport No errors.
App\Entity\FlightRoute No errors.
App\Entity\Flight No errors.