Query Metrics
12
Database Queries
12
Different statements
8.04 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
2.62 ms (32.58%) |
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 a1_.subject_id = ? AND EXISTS (SELECT 1 FROM advert_offer_place_attribute a2_ WHERE a2_.advert_offer_id = a1_.id AND a2_.place_attribute_id IN (?)) ORDER BY c0_.score DESC, c0_.created_at DESC LIMIT 20
Parameters:
[ 1 [ 1 2 ] 2 [ 3 ] ] |
1.04 ms (12.99%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM advert_place_attribute t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
"pres-internet"
]
|
0.84 ms (10.50%) |
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 a1_.subject_id = ? AND EXISTS (SELECT 1 FROM advert_offer_place_attribute a2_ WHERE a2_.advert_offer_id = a1_.id AND a2_.place_attribute_id IN (?)) ORDER BY c0_.score DESC, c0_.created_at DESC
Parameters:
[ 1 [ 1 2 ] 2 [ 3 ] ] |
0.66 ms (8.21%) |
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.54 ms (6.75%) |
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.50 ms (6.27%) |
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.46 ms (5.66%) |
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:
[
"anglictina"
]
|
0.36 ms (4.44%) |
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:
[
"anglictina"
]
|
0.27 ms (3.40%) |
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.26 ms (3.25%) |
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.26 ms (3.24%) |
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.22 ms (2.71%) |
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:
[] |
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. |