Query Metrics
14
Database Queries
13
Different statements
7.22 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
1.33 ms (18.45%) |
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_.created_at ASC LIMIT 20
Parameters:
[ 1 [ 1 2 ] 28 ] |
1.09 ms (15.06%) |
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:
[
"kosice-okolie"
]
|
0.77 ms (10.66%) |
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:
[] |
0.72 ms (9.95%) |
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.62 ms (8.57%) |
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.41 ms (5.62%) |
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.39 ms (5.43%) |
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.37 ms (5.12%) |
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_.created_at ASC
Parameters:
[ 1 [ 1 2 ] 28 ] |
0.36 ms (5.03%) |
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.32 ms (4.49%) |
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.30 ms (4.14%) |
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:
[] |
0.29 ms (4.00%) |
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.25 ms (3.49%) |
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:
[] |
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. |