Query Metrics
13
Database Queries
10
Different statements
20.24 ms
Query time
0
Invalid entities
10
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
7.20 ms (35.59%) |
1 |
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"
]
|
|
2.88 ms (14.24%) |
4 |
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"
]
|
|
1.87 ms (9.25%) |
1 |
SELECT c0_.id AS id_0, c0_.rating AS rating_1, c0_.comment AS comment_2, c0_.is_approved AS is_approved_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5, u1_.id AS id_6, u1_.mobile AS mobile_7, u1_.email AS email_8, u1_.email_verified_at AS email_verified_at_9, u1_.mobile_verified_at AS mobile_verified_at_10, u1_.password_set AS password_set_11, u1_.two_factor_enabled AS two_factor_enabled_12, u1_.password AS password_13, u1_.first_name AS first_name_14, u1_.last_name AS last_name_15, u1_.national_code AS national_code_16, u1_.gender AS gender_17, u1_.headline AS headline_18, u1_.bio AS bio_19, u1_.education AS education_20, u1_.social_links AS social_links_21, u1_.avatar AS avatar_22, u1_.status AS status_23, u1_.last_login_at AS last_login_at_24, u1_.skyroom_mode AS skyroom_mode_25, u1_.skyroom_api_key AS skyroom_api_key_26, u1_.skyroom_api_url AS skyroom_api_url_27, u1_.skyroom_request_status AS skyroom_request_status_28, u1_.skyroom_request_note AS skyroom_request_note_29, u1_.skyroom_approved_at AS skyroom_approved_at_30, u1_.negative_points AS negative_points_31, u1_.referral_code AS referral_code_32, u1_.wallet_balance AS wallet_balance_33, u1_.created_at AS created_at_34, u1_.updated_at AS updated_at_35, u1_.deleted_at AS deleted_at_36, c0_.course_id AS course_id_37, c0_.user_id AS user_id_38, u1_.live_account_id AS live_account_id_39, u1_.organization_id AS organization_id_40, u1_.referred_by_id AS referred_by_id_41 FROM course_reviews c0_ INNER JOIN users u1_ ON c0_.user_id = u1_.id AND (u1_.organization_id IS NULL) WHERE c0_.course_id = ? AND c0_.is_approved = 1 ORDER BY c0_.created_at DESC LIMIT 20
Parameters:
[
7
]
|
|
1.68 ms (8.33%) |
1 |
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 ] |
|
1.67 ms (8.23%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.type AS type_4, t0.target_id AS target_id_5, t0.short_description AS short_description_6, t0.description AS description_7, t0.price AS price_8, t0.sale_price AS sale_price_9, t0.is_published AS is_published_10, t0.thumbnail_url AS thumbnail_url_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.deleted_at AS deleted_at_14, t0.organization_id AS organization_id_15 FROM products t0 WHERE t0.target_id = ? AND t0.type = ? AND t0.is_published = ? AND ((t0.organization_id IS NULL)) LIMIT 1
Parameters:
[ 7 "course" 1 ] |
|
1.12 ms (5.54%) |
1 |
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:
[
"learning.ostadyar.ir"
]
|
|
1.02 ms (5.05%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.type AS type_4, t0.target_id AS target_id_5, t0.short_description AS short_description_6, t0.description AS description_7, t0.price AS price_8, t0.sale_price AS sale_price_9, t0.is_published AS is_published_10, t0.thumbnail_url AS thumbnail_url_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.deleted_at AS deleted_at_14, t0.organization_id AS organization_id_15 FROM products t0 WHERE t0.type = ? AND t0.target_id IN (?) AND t0.is_published = ? AND ((t0.organization_id IS NULL))
Parameters:
[ "lesson" 14 1 ] |
|
1.00 ms (4.92%) |
1 |
SELECT t0.id AS id_1, t0.mobile AS mobile_2, t0.email AS email_3, t0.email_verified_at AS email_verified_at_4, t0.mobile_verified_at AS mobile_verified_at_5, t0.password_set AS password_set_6, t0.two_factor_enabled AS two_factor_enabled_7, t0.password AS password_8, t0.first_name AS first_name_9, t0.last_name AS last_name_10, t0.national_code AS national_code_11, t0.gender AS gender_12, t0.headline AS headline_13, t0.bio AS bio_14, t0.education AS education_15, t0.social_links AS social_links_16, t0.avatar AS avatar_17, t0.status AS status_18, t0.last_login_at AS last_login_at_19, t0.skyroom_mode AS skyroom_mode_20, t0.skyroom_api_key AS skyroom_api_key_21, t0.skyroom_api_url AS skyroom_api_url_22, t0.skyroom_request_status AS skyroom_request_status_23, t0.skyroom_request_note AS skyroom_request_note_24, t0.skyroom_approved_at AS skyroom_approved_at_25, t0.negative_points AS negative_points_26, t0.referral_code AS referral_code_27, t0.wallet_balance AS wallet_balance_28, t0.created_at AS created_at_29, t0.updated_at AS updated_at_30, t0.deleted_at AS deleted_at_31, t0.live_account_id AS live_account_id_32, t0.organization_id AS organization_id_33, t0.referred_by_id AS referred_by_id_34 FROM users t0 WHERE t0.id = ? AND ((t0.organization_id IS NULL))
Parameters:
[
8
]
|
|
0.99 ms (4.88%) |
1 |
SELECT c0_.rating AS rating_0, COUNT(c0_.id) AS sclr_1 FROM course_reviews c0_ WHERE c0_.course_id = ? AND c0_.is_approved = 1 GROUP BY c0_.rating
Parameters:
[
7
]
|
|
0.80 ms (3.98%) |
1 |
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.subdomain = ? LIMIT 1
Parameters:
[
"learning"
]
|
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\Product\Product | 1 |
| App\Entity\Content\Page | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Organization\Organization | No errors. |
| App\Entity\Course\Course | No errors. |
| App\Entity\Course\CourseSection | No errors. |
| App\Entity\Course\Lesson | No errors. |
| App\Entity\Course\LessonContent | No errors. |
| App\Entity\User\User | No errors. |
| App\Entity\Exam\Exam | No errors. |
| App\Entity\Course\Enrollment | No errors. |
| App\Entity\Product\Product | No errors. |
| App\Entity\Course\CourseReview | No errors. |
| App\Entity\Live\LiveAccount | No errors. |
| App\Entity\Settings\Setting | No errors. |
| App\Entity\User\Role | No errors. |
| App\Entity\User\Permission | No errors. |
| App\Entity\User\SkyroomRequest | No errors. |
| App\Entity\Content\Page | No errors. |