Query Metrics

8 Database Queries
5 Different statements
11.08 ms Query time
0 Invalid entities
33 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.58 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.37 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 5.84 ms
SELECT e0_.id AS id_0, e0_.title AS title_1, e0_.slug AS slug_2, e0_.description AS description_3, e0_.type AS type_4, e0_.shuffle_mode AS shuffle_mode_5, e0_.duration_minutes AS duration_minutes_6, e0_.passing_score AS passing_score_7, e0_.negative_score_ratio AS negative_score_ratio_8, e0_.max_attempts AS max_attempts_9, e0_.starts_at AS starts_at_10, e0_.ends_at AS ends_at_11, e0_.is_published AS is_published_12, e0_.created_at AS created_at_13, e0_.updated_at AS updated_at_14, e0_.deleted_at AS deleted_at_15, e1_.id AS id_16, e1_.sort_order AS sort_order_17, e1_.score_weight AS score_weight_18, q2_.id AS id_19, q2_.type AS type_20, q2_.difficulty AS difficulty_21, q2_.text AS text_22, q2_.explanation AS explanation_23, q2_.is_published AS is_published_24, q2_.created_at AS created_at_25, q2_.updated_at AS updated_at_26, q2_.deleted_at AS deleted_at_27, q3_.id AS id_28, q3_.text AS text_29, q3_.is_correct AS is_correct_30, q3_.sort_order AS sort_order_31, e0_.created_by_id AS created_by_id_32, e0_.course_id AS course_id_33, e0_.organization_id AS organization_id_34, e1_.exam_id AS exam_id_35, e1_.question_id AS question_id_36, q2_.topic_id AS topic_id_37, q2_.organization_id AS organization_id_38, q3_.question_id AS question_id_39 FROM exams e0_ LEFT JOIN exam_questions e1_ ON e0_.id = e1_.exam_id LEFT JOIN questions q2_ ON e1_.question_id = q2_.id AND (q2_.organization_id IS NULL) LEFT JOIN question_options q3_ ON q2_.id = q3_.question_id WHERE (e0_.slug = ? AND e0_.deleted_at IS NULL) AND (e0_.organization_id IS NULL) ORDER BY e1_.sort_order ASC, q3_.sort_order ASC
Parameters:
[
  "-1789287782"
]
4 1.17 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.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"
]
6 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_favicon"
]
7 0.46 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.62 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\QuestionBank\QuestionOption 16
App\Entity\Exam\ExamQuestion 4
App\Entity\QuestionBank\Question 4
App\Entity\QuestionBank\Topic 4
App\Entity\Settings\Setting 3
App\Entity\Exam\Exam 1
App\Entity\Content\Page 1