GET http://learning.ostadyar.ir/

Query Metrics

19 Database Queries
13 Different statements
15.51 ms Query time
0 Invalid entities
18 Managed entities

Queries

Group similar statements

#▲ Time Info
1 1.34 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:
[
  "learning.ostadyar.ir"
]
2 0.86 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.subdomain = ? LIMIT 1
Parameters:
[
  "learning"
]
3 0.96 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"
]
4 0.70 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"
]
5 0.43 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"
]
6 0.35 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"
]
7 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.is_public = ?
Parameters:
[
  1
]
8 0.93 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.level AS level_4, t0.short_description AS short_description_5, t0.description AS description_6, t0.duration_minutes AS duration_minutes_7, t0.thumbnail_url AS thumbnail_url_8, t0.is_published AS is_published_9, t0.price AS price_10, t0.sale_price AS sale_price_11, t0.commission_rate AS commission_rate_12, t0.is_free AS is_free_13, t0.rating_average AS rating_average_14, t0.rating_count AS rating_count_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.deleted_at AS deleted_at_18, t0.teacher_id AS teacher_id_19, t0.organization_id AS organization_id_20 FROM courses t0 WHERE t0.is_published = ? AND ((t0.organization_id IS NULL)) ORDER BY t0.created_at DESC LIMIT 3
Parameters:
[
  1
]
9 1.44 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
]
10 1.70 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_.password AS password_24, u1_.first_name AS first_name_25, u1_.last_name AS last_name_26, u1_.national_code AS national_code_27, u1_.gender AS gender_28, u1_.headline AS headline_29, u1_.bio AS bio_30, u1_.education AS education_31, u1_.social_links AS social_links_32, u1_.avatar AS avatar_33, u1_.status AS status_34, u1_.last_login_at AS last_login_at_35, u1_.skyroom_mode AS skyroom_mode_36, u1_.skyroom_api_key AS skyroom_api_key_37, u1_.skyroom_api_url AS skyroom_api_url_38, u1_.skyroom_request_status AS skyroom_request_status_39, u1_.skyroom_request_note AS skyroom_request_note_40, u1_.skyroom_approved_at AS skyroom_approved_at_41, u1_.negative_points AS negative_points_42, u1_.referral_code AS referral_code_43, u1_.wallet_balance AS wallet_balance_44, u1_.created_at AS created_at_45, u1_.updated_at AS updated_at_46, u1_.deleted_at AS deleted_at_47, l0_.teacher_id AS teacher_id_48, l0_.course_id AS course_id_49, l0_.live_account_id AS live_account_id_50, l0_.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 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"
]
11 1.30 ms
SELECT COUNT(*) FROM users t0 WHERE ((t0.organization_id IS NULL))
Parameters:
[]
12 0.83 ms
SELECT COUNT(*) FROM courses t0 WHERE t0.is_published = ? AND ((t0.organization_id IS NULL))
Parameters:
[
  1
]
13 0.73 ms
SELECT COUNT(*) FROM exams t0 WHERE t0.is_published = ? AND ((t0.organization_id IS NULL))
Parameters:
[
  1
]
14 0.62 ms
SELECT COUNT(*) FROM questions t0 WHERE ((t0.organization_id IS NULL))
Parameters:
[]
15 0.60 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"
]
16 0.40 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"
]
17 0.41 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"
]
18 0.66 ms
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
]
19 0.81 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\Live\LiveSession 5
App\Entity\Settings\Setting 4
App\Entity\User\User 3
App\Entity\Course\Course 2
App\Entity\Exam\Exam 2
App\Entity\Live\LiveAccount 1
App\Entity\Content\Page 1