Query Metrics

13 Database Queries
10 Different statements
7.53 ms Query time
2 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.66 ms
(22.04%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.header AS header_4, t0.subheader AS subheader_5, t0.incentives AS incentives_6, t0.content AS content_7, t0.description AS description_8, t0.description_mobile AS description_mobile_9, t0.rating AS rating_10, t0.reviews_count AS reviews_count_11, t0.students_count AS students_count_12, t0.video AS video_13, t0.title_seo AS title_seo_14, t0.meta_title_seo AS meta_title_seo_15, t0.meta_description_seo AS meta_description_seo_16, t0.title_breadcrumb AS title_breadcrumb_17, t0.updated_at AS updated_at_18, t0.instrument_id AS instrument_id_19 FROM courses t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "איך-משתמשים-באורגנית"
]
1.56 ms
(20.75%)
1
SELECT r0_.id AS id_0, r0_.author AS author_1, r0_.rating AS rating_2, r0_.date AS date_3, r0_.text AS text_4, r0_.type AS type_5, r0_.entity_id AS entity_id_6, r0_.image_name AS image_name_7, r0_.image_unique_name AS image_unique_name_8, r0_.updated_at AS updated_at_9 FROM reviews r0_ WHERE r0_.type = ? ORDER BY r0_.date DESC
Parameters:
[
  "all"
]
1.33 ms
(17.71%)
3
SELECT s0_.id AS id_0, s0_.image_name AS image_name_1, s0_.image_unique_name AS image_unique_name_2, s0_.mobile_image_name AS mobile_image_name_3, s0_.mobile_image_unique_name AS mobile_image_unique_name_4, s0_.type AS type_5, s0_.is_for_paid AS is_for_paid_6, s0_.is_for_free AS is_for_free_7, s0_.created_at AS created_at_8, s0_.updated_at AS updated_at_9, s0_.deleted_at AS deleted_at_10, s0_.url AS url_11, s0_.opens_purchase_popup AS opens_purchase_popup_12, s0_.sale_banner_type_id AS sale_banner_type_id_13 FROM sales_banners s0_ INNER JOIN sales_banners_type s1_ ON s0_.sale_banner_type_id = s1_.id WHERE (s0_.deleted_at IS NULL AND s1_.slug = ?) AND (s0_.deleted_at IS NULL) ORDER BY s0_.created_at DESC LIMIT 1
Parameters:
[
  "all-except-main-and-payment-pages"
]
0.55 ms
(7.29%)
1
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.description AS description_2, p0_.description_mobile AS description_mobile_3, p0_.price AS price_4, p0_.duration AS duration_5, i1_.name AS name_6, i1_.id AS id_7, p0_.pelecard_installments AS pelecard_installments_8, p0_.is_featured AS is_featured_9, p0_.is_auto_renew AS is_auto_renew_10 FROM plans p0_ LEFT JOIN instruments i1_ ON (p0_.instrument_id = i1_.id) WHERE (p0_.is_custom = ? AND p0_.count_less = -1) AND (p0_.deleted_at IS NULL) ORDER BY p0_.duration DESC
Parameters:
[
  0
]
0.52 ms
(6.92%)
1
SELECT l0_.id AS id_0, l0_.title AS title_1, l0_.description AS description_2, l0_.slug AS slug_3, l0_.header AS header_4, l0_.title_seo AS title_seo_5, l0_.meta_title_seo AS meta_title_seo_6, l0_.meta_description_seo AS meta_description_seo_7, l0_.title_breadcrumb AS title_breadcrumb_8, l0_.info AS info_9, l0_.video AS video_10, l0_.duration AS duration_11, l0_.position AS position_12, l0_.day AS day_13, l0_.week AS week_14, l0_.month AS month_15, l0_.blocked_for_days AS blocked_for_days_16, l0_.created_at AS created_at_17, l0_.updated_at AS updated_at_18, l0_.group_id AS group_id_19, l0_.group_title AS group_title_20, l0_.course_id AS course_id_21, l0_.permission_id AS permission_id_22 FROM lessons l0_ WHERE l0_.course_id = ? ORDER BY l0_.position ASC, l0_.group_id ASC
Parameters:
[
  5
]
0.41 ms
(5.39%)
1
SELECT t0.id AS id_1, t0.content AS content_2, t0.entity_id AS entity_id_3, t0.entity FROM faq t0 WHERE t0.entity_id = ? AND t0.entity IN ('lesson_faq')
Parameters:
[
  151
]
0.40 ms
(5.27%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.header AS header_4, t0.subheader AS subheader_5, t0.incentives AS incentives_6, t0.content AS content_7, t0.description AS description_8, t0.description_mobile AS description_mobile_9, t0.rating AS rating_10, t0.reviews_count AS reviews_count_11, t0.students_count AS students_count_12, t0.video AS video_13, t0.title_seo AS title_seo_14, t0.meta_title_seo AS meta_title_seo_15, t0.meta_description_seo AS meta_description_seo_16, t0.title_breadcrumb AS title_breadcrumb_17, t0.updated_at AS updated_at_18, t0.instrument_id AS instrument_id_19 FROM courses t0
Parameters:
[]
0.40 ms
(5.26%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.slug AS slug_4, t0.header AS header_5, t0.title_seo AS title_seo_6, t0.meta_title_seo AS meta_title_seo_7, t0.meta_description_seo AS meta_description_seo_8, t0.title_breadcrumb AS title_breadcrumb_9, t0.info AS info_10, t0.video AS video_11, t0.duration AS duration_12, t0.position AS position_13, t0.day AS day_14, t0.week AS week_15, t0.month AS month_16, t0.blocked_for_days AS blocked_for_days_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.group_id AS group_id_20, t0.group_title AS group_title_21, t0.course_id AS course_id_22, t0.permission_id AS permission_id_23 FROM lessons t0 WHERE t0.course_id = ? AND t0.position = ? LIMIT 1
Parameters:
[
  5
  0
]
0.36 ms
(4.81%)
1
SELECT SUM(l0_.duration) AS sclr_0 FROM lessons l0_ WHERE l0_.course_id = ? ORDER BY l0_.group_id ASC
Parameters:
[
  5
]
0.34 ms
(4.56%)
1
SELECT r0_.id AS id_0, r0_.author AS author_1, r0_.rating AS rating_2, r0_.date AS date_3, r0_.text AS text_4, r0_.type AS type_5, r0_.entity_id AS entity_id_6, r0_.image_name AS image_name_7, r0_.image_unique_name AS image_unique_name_8, r0_.updated_at AS updated_at_9 FROM reviews r0_ WHERE r0_.type = ? ORDER BY r0_.date DESC LIMIT 3
Parameters:
[
  "all"
]

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\Entity\Lesson No errors.
App\Entity\Instrument No errors.
App\Entity\SaleBanner
  • The association App\Entity\SaleBanner#saleBannerType refers to the inverse side field App\Entity\SaleBannerType#sales_banners which does not exist.
App\Entity\VideoTestimonial No errors.
App\Entity\Course No errors.
App\Entity\Permission No errors.
App\Entity\Exercise No errors.
App\Entity\Faq No errors.
App\Entity\LessonFaq No errors.
App\Entity\Review No errors.
App\Entity\Plan No errors.
App\Entity\SaleBannerType
  • The association App\Entity\SaleBannerType#salesBanners refers to the owning side field App\Entity\SaleBanner#sale_banner_type which does not exist.