GET https://ostadyar.ir/

Query Metrics

26 Database Queries
15 Different statements
18.53 ms Query time
0 Invalid entities
31 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.96 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.ai_config_allowed AS ai_config_allowed_15, t0.created_at AS created_at_16 FROM organizations t0 WHERE t0.custom_domain = ? LIMIT 1
Parameters:
[
  "ostadyar.ir"
]
2 0.69 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_title"
]
3 0.57 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_name"
]
4 0.47 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.44 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_description"
]
6 0.54 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.is_public = ?
Parameters:
[
  1
]
7 1.50 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, u1_.id AS id_18, u1_.mobile AS mobile_19, u1_.email AS email_20, u1_.email_verified_at AS email_verified_at_21, u1_.mobile_verified_at AS mobile_verified_at_22, u1_.password_set AS password_set_23, u1_.two_factor_enabled AS two_factor_enabled_24, u1_.ai_config_allowed AS ai_config_allowed_25, u1_.password AS password_26, u1_.first_name AS first_name_27, u1_.last_name AS last_name_28, u1_.national_code AS national_code_29, u1_.gender AS gender_30, u1_.headline AS headline_31, u1_.bio AS bio_32, u1_.education AS education_33, u1_.social_links AS social_links_34, u1_.avatar AS avatar_35, u1_.status AS status_36, u1_.last_login_at AS last_login_at_37, u1_.skyroom_mode AS skyroom_mode_38, u1_.skyroom_api_key AS skyroom_api_key_39, u1_.skyroom_api_url AS skyroom_api_url_40, u1_.skyroom_request_status AS skyroom_request_status_41, u1_.skyroom_request_note AS skyroom_request_note_42, u1_.skyroom_approved_at AS skyroom_approved_at_43, u1_.negative_points AS negative_points_44, u1_.referral_code AS referral_code_45, u1_.wallet_balance AS wallet_balance_46, u1_.created_at AS created_at_47, u1_.updated_at AS updated_at_48, u1_.deleted_at AS deleted_at_49, c0_.teacher_id AS teacher_id_50, c0_.organization_id AS organization_id_51, u1_.live_account_id AS live_account_id_52, u1_.organization_id AS organization_id_53, u1_.referred_by_id AS referred_by_id_54 FROM courses c0_ LEFT JOIN users u1_ ON c0_.teacher_id = u1_.id AND (u1_.organization_id IS NULL) WHERE (c0_.is_published = ? AND c0_.deleted_at IS NULL) AND (c0_.organization_id IS NULL) ORDER BY c0_.created_at DESC LIMIT 3
Parameters:
[
  1
]
8 1.20 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, u1_.id AS id_18, u1_.mobile AS mobile_19, u1_.email AS email_20, u1_.email_verified_at AS email_verified_at_21, u1_.mobile_verified_at AS mobile_verified_at_22, u1_.password_set AS password_set_23, u1_.two_factor_enabled AS two_factor_enabled_24, u1_.ai_config_allowed AS ai_config_allowed_25, u1_.password AS password_26, u1_.first_name AS first_name_27, u1_.last_name AS last_name_28, u1_.national_code AS national_code_29, u1_.gender AS gender_30, u1_.headline AS headline_31, u1_.bio AS bio_32, u1_.education AS education_33, u1_.social_links AS social_links_34, u1_.avatar AS avatar_35, u1_.status AS status_36, u1_.last_login_at AS last_login_at_37, u1_.skyroom_mode AS skyroom_mode_38, u1_.skyroom_api_key AS skyroom_api_key_39, u1_.skyroom_api_url AS skyroom_api_url_40, u1_.skyroom_request_status AS skyroom_request_status_41, u1_.skyroom_request_note AS skyroom_request_note_42, u1_.skyroom_approved_at AS skyroom_approved_at_43, u1_.negative_points AS negative_points_44, u1_.referral_code AS referral_code_45, u1_.wallet_balance AS wallet_balance_46, u1_.created_at AS created_at_47, u1_.updated_at AS updated_at_48, u1_.deleted_at AS deleted_at_49, c0_.teacher_id AS teacher_id_50, c0_.organization_id AS organization_id_51, u1_.live_account_id AS live_account_id_52, u1_.organization_id AS organization_id_53, u1_.referred_by_id AS referred_by_id_54 FROM courses c0_ LEFT JOIN users u1_ ON c0_.teacher_id = u1_.id AND (u1_.organization_id IS NULL) WHERE (c0_.is_published = ? AND c0_.deleted_at IS NULL) AND (c0_.organization_id IS NULL) ORDER BY c0_.rating_count DESC, c0_.created_at DESC LIMIT 10
Parameters:
[
  1
]
9 1.13 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, u1_.id AS id_18, u1_.mobile AS mobile_19, u1_.email AS email_20, u1_.email_verified_at AS email_verified_at_21, u1_.mobile_verified_at AS mobile_verified_at_22, u1_.password_set AS password_set_23, u1_.two_factor_enabled AS two_factor_enabled_24, u1_.ai_config_allowed AS ai_config_allowed_25, u1_.password AS password_26, u1_.first_name AS first_name_27, u1_.last_name AS last_name_28, u1_.national_code AS national_code_29, u1_.gender AS gender_30, u1_.headline AS headline_31, u1_.bio AS bio_32, u1_.education AS education_33, u1_.social_links AS social_links_34, u1_.avatar AS avatar_35, u1_.status AS status_36, u1_.last_login_at AS last_login_at_37, u1_.skyroom_mode AS skyroom_mode_38, u1_.skyroom_api_key AS skyroom_api_key_39, u1_.skyroom_api_url AS skyroom_api_url_40, u1_.skyroom_request_status AS skyroom_request_status_41, u1_.skyroom_request_note AS skyroom_request_note_42, u1_.skyroom_approved_at AS skyroom_approved_at_43, u1_.negative_points AS negative_points_44, u1_.referral_code AS referral_code_45, u1_.wallet_balance AS wallet_balance_46, u1_.created_at AS created_at_47, u1_.updated_at AS updated_at_48, u1_.deleted_at AS deleted_at_49, c0_.teacher_id AS teacher_id_50, c0_.organization_id AS organization_id_51, u1_.live_account_id AS live_account_id_52, u1_.organization_id AS organization_id_53, u1_.referred_by_id AS referred_by_id_54 FROM courses c0_ LEFT JOIN users u1_ ON c0_.teacher_id = u1_.id AND (u1_.organization_id IS NULL) WHERE (c0_.is_published = ? AND c0_.deleted_at IS NULL) AND (c0_.organization_id IS NULL) ORDER BY c0_.created_at DESC LIMIT 10
Parameters:
[
  1
]
10 1.20 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.description AS description_4, t0.type AS type_5, t0.shuffle_mode AS shuffle_mode_6, t0.duration_minutes AS duration_minutes_7, t0.passing_score AS passing_score_8, t0.negative_score_ratio AS negative_score_ratio_9, t0.max_attempts AS max_attempts_10, t0.starts_at AS starts_at_11, t0.ends_at AS ends_at_12, t0.is_published AS is_published_13, t0.created_at AS created_at_14, t0.updated_at AS updated_at_15, t0.deleted_at AS deleted_at_16, t0.created_by_id AS created_by_id_17, t0.course_id AS course_id_18, t0.organization_id AS organization_id_19 FROM exams t0 WHERE t0.is_published = ? AND ((t0.organization_id IS NULL)) ORDER BY t0.created_at DESC LIMIT 3
Parameters:
[
  1
]
11 1.44 ms
SELECT l0_.id AS id_0, l0_.title AS title_1, l0_.slug AS slug_2, l0_.description AS description_3, l0_.provider AS provider_4, l0_.room_uid AS room_uid_5, l0_.moderator_password AS moderator_password_6, l0_.attendee_password AS attendee_password_7, l0_.scheduled_start AS scheduled_start_8, l0_.scheduled_end AS scheduled_end_9, l0_.max_participants AS max_participants_10, l0_.is_recording_enabled AS is_recording_enabled_11, l0_.status AS status_12, l0_.is_published AS is_published_13, l0_.created_at AS created_at_14, l0_.updated_at AS updated_at_15, l0_.deleted_at AS deleted_at_16, u1_.id AS id_17, u1_.mobile AS mobile_18, u1_.email AS email_19, u1_.email_verified_at AS email_verified_at_20, u1_.mobile_verified_at AS mobile_verified_at_21, u1_.password_set AS password_set_22, u1_.two_factor_enabled AS two_factor_enabled_23, u1_.ai_config_allowed AS ai_config_allowed_24, u1_.password AS password_25, u1_.first_name AS first_name_26, u1_.last_name AS last_name_27, u1_.national_code AS national_code_28, u1_.gender AS gender_29, u1_.headline AS headline_30, u1_.bio AS bio_31, u1_.education AS education_32, u1_.social_links AS social_links_33, u1_.avatar AS avatar_34, u1_.status AS status_35, u1_.last_login_at AS last_login_at_36, u1_.skyroom_mode AS skyroom_mode_37, u1_.skyroom_api_key AS skyroom_api_key_38, u1_.skyroom_api_url AS skyroom_api_url_39, u1_.skyroom_request_status AS skyroom_request_status_40, u1_.skyroom_request_note AS skyroom_request_note_41, u1_.skyroom_approved_at AS skyroom_approved_at_42, u1_.negative_points AS negative_points_43, u1_.referral_code AS referral_code_44, u1_.wallet_balance AS wallet_balance_45, u1_.created_at AS created_at_46, u1_.updated_at AS updated_at_47, u1_.deleted_at AS deleted_at_48, l0_.teacher_id AS teacher_id_49, l0_.course_id AS course_id_50, l0_.live_account_id AS live_account_id_51, l0_.organization_id AS organization_id_52, u1_.live_account_id AS live_account_id_53, u1_.organization_id AS organization_id_54, u1_.referred_by_id AS referred_by_id_55 FROM live_sessions l0_ LEFT JOIN users u1_ ON l0_.teacher_id = u1_.id AND (u1_.organization_id IS NULL) WHERE (l0_.is_published = ? AND l0_.status IN (?, ?) AND l0_.deleted_at IS NULL) AND (l0_.organization_id IS NULL) ORDER BY l0_.scheduled_start ASC
Parameters:
[
  1
  "scheduled"
  "running"
]
12 0.63 ms
SELECT COUNT(*) FROM users t0 WHERE ((t0.organization_id IS NULL))
Parameters:
[]
13 0.55 ms
SELECT COUNT(*) FROM courses t0 WHERE t0.is_published = ? AND ((t0.organization_id IS NULL))
Parameters:
[
  1
]
14 0.52 ms
SELECT COUNT(*) FROM exams t0 WHERE t0.is_published = ? AND ((t0.organization_id IS NULL))
Parameters:
[
  1
]
15 0.68 ms
SELECT COUNT(*) FROM questions t0 WHERE ((t0.organization_id IS NULL))
Parameters:
[]
16 0.58 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"
]
17 0.42 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"
]
18 0.42 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"
]
19 0.72 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.course_id AS course_id_6, t0.required_exam_id AS required_exam_id_7 FROM course_sections t0 WHERE t0.course_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  7
]
20 0.58 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.duration_minutes AS duration_minutes_4, t0.is_free_preview AS is_free_preview_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.section_id AS section_id_8, t0.required_exam_id AS required_exam_id_9 FROM lessons t0 WHERE t0.section_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  9
]
21 0.49 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.course_id AS course_id_6, t0.required_exam_id AS required_exam_id_7 FROM course_sections t0 WHERE t0.course_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  6
]
22 0.48 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.duration_minutes AS duration_minutes_4, t0.is_free_preview AS is_free_preview_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.section_id AS section_id_8, t0.required_exam_id AS required_exam_id_9 FROM lessons t0 WHERE t0.section_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  8
]
23 0.58 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.course_id AS course_id_6, t0.required_exam_id AS required_exam_id_7 FROM course_sections t0 WHERE t0.course_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  3
]
24 0.52 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.duration_minutes AS duration_minutes_4, t0.is_free_preview AS is_free_preview_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.section_id AS section_id_8, t0.required_exam_id AS required_exam_id_9 FROM lessons t0 WHERE t0.section_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  4
]
25 0.48 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.duration_minutes AS duration_minutes_4, t0.is_free_preview AS is_free_preview_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.section_id AS section_id_8, t0.required_exam_id AS required_exam_id_9 FROM lessons t0 WHERE t0.section_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  5
]
26 0.76 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\Course\Lesson 6
App\Entity\User\User 5
App\Entity\Live\LiveSession 5
App\Entity\Settings\Setting 4
App\Entity\Course\CourseSection 4
App\Entity\Course\Course 3
App\Entity\Exam\Exam 2
App\Entity\Live\LiveAccount 1
App\Entity\Content\Page 1