Query Metrics

8 Database Queries
5 Different statements
11.29 ms Query time
0 Invalid entities
9 Managed entities

Queries

Group similar statements

#▲ Time Info
1 1.50 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.subdomain AS subdomain_3, t0.custom_domain AS custom_domain_4, t0.is_active AS is_active_5, t0.title AS title_6, t0.description AS description_7, t0.primary_color AS primary_color_8, t0.logo_light_path AS logo_light_path_9, t0.logo_dark_path AS logo_dark_path_10, t0.installment_allowed AS installment_allowed_11, t0.stories_enabled AS stories_enabled_12, t0.min_installment_amount AS min_installment_amount_13, t0.member_discount_percent AS member_discount_percent_14, t0.created_at AS created_at_15 FROM organizations t0 WHERE t0.custom_domain = ? LIMIT 1
Parameters:
[
  "ostadyar.ir"
]
2 3.74 ms
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.slug AS slug_2, c0_.level AS level_3, c0_.short_description AS short_description_4, c0_.description AS description_5, c0_.duration_minutes AS duration_minutes_6, c0_.thumbnail_url AS thumbnail_url_7, c0_.is_published AS is_published_8, c0_.price AS price_9, c0_.sale_price AS sale_price_10, c0_.commission_rate AS commission_rate_11, c0_.is_free AS is_free_12, c0_.rating_average AS rating_average_13, c0_.rating_count AS rating_count_14, c0_.created_at AS created_at_15, c0_.updated_at AS updated_at_16, c0_.deleted_at AS deleted_at_17, c1_.id AS id_18, c1_.title AS title_19, c1_.sort_order AS sort_order_20, c1_.created_at AS created_at_21, c1_.updated_at AS updated_at_22, l2_.id AS id_23, l2_.title AS title_24, l2_.sort_order AS sort_order_25, l2_.duration_minutes AS duration_minutes_26, l2_.is_free_preview AS is_free_preview_27, l2_.created_at AS created_at_28, l2_.updated_at AS updated_at_29, l3_.id AS id_30, l3_.type AS type_31, l3_.title AS title_32, l3_.content AS content_33, l3_.file_size AS file_size_34, l3_.duration_seconds AS duration_seconds_35, l3_.is_protected AS is_protected_36, l3_.is_downloadable AS is_downloadable_37, l3_.storage_driver AS storage_driver_38, l3_.storage_path AS storage_path_39, l3_.mime_type AS mime_type_40, l3_.original_filename AS original_filename_41, l3_.cdn_url AS cdn_url_42, l3_.checksum AS checksum_43, l3_.metadata AS metadata_44, l3_.created_at AS created_at_45, l3_.updated_at AS updated_at_46, c0_.teacher_id AS teacher_id_47, c0_.organization_id AS organization_id_48, c1_.course_id AS course_id_49, c1_.required_exam_id AS required_exam_id_50, l2_.section_id AS section_id_51, l2_.required_exam_id AS required_exam_id_52, l3_.lesson_id AS lesson_id_53 FROM courses c0_ LEFT JOIN course_sections c1_ ON c0_.id = c1_.course_id LEFT JOIN lessons l2_ ON c1_.id = l2_.section_id LEFT JOIN lesson_contents l3_ ON l2_.id = l3_.lesson_id WHERE (c0_.slug = ? AND c0_.deleted_at IS NULL) AND (c0_.organization_id IS NULL) ORDER BY c1_.sort_order ASC, l2_.sort_order ASC
Parameters:
[
  "dvrh-rkstrasyvn-hrfh-y"
]
3 1.61 ms
SELECT l0_.id AS id_0, l0_.title AS title_1, l0_.sort_order AS sort_order_2, l0_.duration_minutes AS duration_minutes_3, l0_.is_free_preview AS is_free_preview_4, l0_.created_at AS created_at_5, l0_.updated_at AS updated_at_6, l1_.id AS id_7, l1_.type AS type_8, l1_.title AS title_9, l1_.content AS content_10, l1_.file_size AS file_size_11, l1_.duration_seconds AS duration_seconds_12, l1_.is_protected AS is_protected_13, l1_.is_downloadable AS is_downloadable_14, l1_.storage_driver AS storage_driver_15, l1_.storage_path AS storage_path_16, l1_.mime_type AS mime_type_17, l1_.original_filename AS original_filename_18, l1_.cdn_url AS cdn_url_19, l1_.checksum AS checksum_20, l1_.metadata AS metadata_21, l1_.created_at AS created_at_22, l1_.updated_at AS updated_at_23, c2_.id AS id_24, c2_.title AS title_25, c2_.sort_order AS sort_order_26, c2_.created_at AS created_at_27, c2_.updated_at AS updated_at_28, c3_.id AS id_29, c3_.title AS title_30, c3_.slug AS slug_31, c3_.level AS level_32, c3_.short_description AS short_description_33, c3_.description AS description_34, c3_.duration_minutes AS duration_minutes_35, c3_.thumbnail_url AS thumbnail_url_36, c3_.is_published AS is_published_37, c3_.price AS price_38, c3_.sale_price AS sale_price_39, c3_.commission_rate AS commission_rate_40, c3_.is_free AS is_free_41, c3_.rating_average AS rating_average_42, c3_.rating_count AS rating_count_43, c3_.created_at AS created_at_44, c3_.updated_at AS updated_at_45, c3_.deleted_at AS deleted_at_46, l0_.section_id AS section_id_47, l0_.required_exam_id AS required_exam_id_48, l1_.lesson_id AS lesson_id_49, c2_.course_id AS course_id_50, c2_.required_exam_id AS required_exam_id_51, c3_.teacher_id AS teacher_id_52, c3_.organization_id AS organization_id_53 FROM lessons l0_ LEFT JOIN lesson_contents l1_ ON l0_.id = l1_.lesson_id LEFT JOIN course_sections c2_ ON l0_.section_id = c2_.id LEFT JOIN courses c3_ ON c2_.course_id = c3_.id AND (c3_.organization_id IS NULL) WHERE l0_.id = ?
Parameters:
[
  14
]
4 0.92 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "meta_description"
]
5 0.62 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "meta_keywords"
]
6 0.51 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "site_favicon"
]
7 0.56 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "brand_primary_color"
]
8 1.82 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.title_fa AS title_fa_3, t0.title_en AS title_en_4, t0.title_ar AS title_ar_5, t0.content_fa AS content_fa_6, t0.content_en AS content_en_7, t0.content_ar AS content_ar_8, t0.is_published AS is_published_9, t0.show_in_footer AS show_in_footer_10, t0.sort_order AS sort_order_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.organization_id AS organization_id_14 FROM pages t0 WHERE t0.is_published = ? AND t0.show_in_footer = ? AND ((t0.organization_id IS NULL)) ORDER BY t0.sort_order ASC, t0.id ASC
Parameters:
[
  1
  1
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Settings\Setting 3
App\Entity\Course\Course 1
App\Entity\User\User 1
App\Entity\Course\CourseSection 1
App\Entity\Course\Lesson 1
App\Entity\Course\LessonContent 1
App\Entity\Content\Page 1