https://sk-dev.azdoucovani.cz/doucovanie/bratislava-3/

Query Metrics

14 Database Queries
13 Different statements
10.42 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.53 ms
(14.65%)
1
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 c0_.score DESC, c0_.created_at DESC LIMIT 20
Parameters:
[
  1
  [
    1
    2
  ]
  8
]
1.22 ms
(11.74%)
1
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:
[
  "bratislava-3"
]
1.19 ms
(11.37%)
2
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 ORDER BY t0.count DESC LIMIT 5
Parameters:
[]
1.02 ms
(9.79%)
1
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:
[]
0.88 ms
(8.47%)
1
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 c0_.score DESC, c0_.created_at DESC
Parameters:
[
  1
  [
    1
    2
  ]
  8
]
0.83 ms
(7.95%)
1
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:
[]
0.71 ms
(6.81%)
1
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:
[]
0.63 ms
(6.07%)
1
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:
[]
0.60 ms
(5.76%)
1
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:
[]
0.55 ms
(5.27%)
1
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:
[]
0.52 ms
(5.04%)
1
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:
[
  ""
]
0.43 ms
(4.15%)
1
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:
[]
0.30 ms
(2.93%)
1
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 ORDER BY t0.count DESC LIMIT 5
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.
App\Tutorka\Bundle\UserBundle\Entity\BillingAddress No errors.
App\Tutorka\Bundle\UserBundle\Entity\AboutMe No errors.
App\Tutorka\Bundle\UserBundle\Entity\UserSubscription No errors.
App\Tutorka\Bundle\ContentBundle\Entity\AdvertDemandUnlock No errors.