Query Metrics

11 Database Queries
11 Different statements
5.60 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.87 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.genitive_name AS genitive_name_4, t0.order_number AS order_number_5, t0.count AS count_6 FROM city t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "blansko"
]
2 0.49 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.genitive_name AS genitive_name_4, t0.icon AS icon_5, t0.order_number AS order_number_6, t0.count AS count_7 FROM subject t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  ""
]
3 0.57 ms
SELECT a0_.order_number AS order_number_0, a0_.id AS id_1, a0_.name AS name_2, a0_.slug AS slug_3 FROM advert_level a0_ ORDER BY a0_.order_number DESC
Parameters:
[]
4 0.24 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.slug AS slug_2 FROM advert_place_attribute a0_ ORDER BY a0_.id DESC
Parameters:
[]
5 0.38 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.slug AS slug_2 FROM advert_preferred_time_attribute a0_ ORDER BY a0_.id DESC
Parameters:
[]
6 0.24 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.slug AS slug_2 FROM advert_teacher_experience_attribute a0_ ORDER BY a0_.id DESC
Parameters:
[]
7 0.33 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.slug AS slug_2 FROM advert_other_attribute a0_ ORDER BY a0_.id DESC
Parameters:
[]
8 1.08 ms
SELECT c0_.id AS id_0, c0_.uuid AS uuid_1, c0_.approve_status AS approve_status_2, c0_.visibility_status AS visibility_status_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5, c0_.expire_at AS expire_at_6, c0_.deleted_at AS deleted_at_7, c0_.ip_address AS ip_address_8, c0_.view_count AS view_count_9, c0_.score AS score_10, a1_.title AS title_11, a1_.slug AS slug_12, a1_.brief AS brief_13, a1_.description AS description_14, a1_.price AS price_15, a1_.price_alternative AS price_alternative_16, a1_.price_time AS price_time_17, c0_.type AS type_18, c0_.user_id AS user_id_19, a1_.subject_id AS subject_id_20 FROM advert_offer a1_ INNER JOIN content_item c0_ ON a1_.id = c0_.id WHERE c0_.visibility_status = ? AND c0_.approve_status IN (?) AND EXISTS (SELECT 1 FROM advert_offer_city a2_ WHERE a2_.advert_offer_id = a1_.id AND a2_.city_id IN (?)) ORDER BY a1_.price ASC LIMIT 20
Parameters:
[
  1
  [
    1
    2
  ]
  5
]
9 0.55 ms
SELECT COUNT(c0_.id) AS sclr_0 FROM advert_offer a1_ INNER JOIN content_item c0_ ON a1_.id = c0_.id WHERE c0_.visibility_status = ? AND c0_.approve_status IN (?) AND EXISTS (SELECT 1 FROM advert_offer_city a2_ WHERE a2_.advert_offer_id = a1_.id AND a2_.city_id IN (?)) ORDER BY a1_.price ASC
Parameters:
[
  1
  [
    1
    2
  ]
  5
]
10 0.49 ms
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2, s0_.genitive_name AS genitive_name_3, s0_.icon AS icon_4, s0_.order_number AS order_number_5, s0_.count AS count_6 FROM subject s0_ ORDER BY s0_.order_number ASC, s0_.name ASC
Parameters:
[]
11 0.36 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.genitive_name AS genitive_name_3, c0_.order_number AS order_number_4, c0_.count AS count_5 FROM city c0_ ORDER BY c0_.order_number ASC, c0_.name ASC
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\Tutorka\Bundle\CoreBundle\Entity\MetaTag No errors.
App\Tutorka\Bundle\UserBundle\Entity\User No errors.
App\Tutorka\Bundle\UserBundle\Entity\Verification No errors.
App\Tutorka\Bundle\CoreBundle\Entity\Setting No errors.
App\Tutorka\Bundle\ContentBundle\Entity\Subject No errors.
App\Tutorka\Bundle\ContentBundle\Entity\City No errors.
App\Tutorka\Bundle\ContentBundle\Entity\PlaceAttribute No errors.
App\Tutorka\Bundle\CoreBundle\Entity\View No errors.
App\Tutorka\Bundle\ContentBundle\Entity\ContentItem No errors.
App\Tutorka\Bundle\ContentBundle\Entity\AdvertOffer No errors.
App\Tutorka\Bundle\ContentBundle\Entity\AdvertDemand No errors.
App\Tutorka\Bundle\ContentBundle\Entity\SearchLog No errors.
App\Tutorka\Bundle\ContentBundle\Entity\Level No errors.
App\Tutorka\Bundle\ContentBundle\Entity\PreferredTimeAttribute No errors.
App\Tutorka\Bundle\ContentBundle\Entity\TeacherExperienceAttribute No errors.
App\Tutorka\Bundle\ContentBundle\Entity\OtherAttribute No errors.