Query Metrics

10 Database Queries
7 Different statements
10.50 ms Query time
0 Invalid entities
14 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
2.82 ms
(26.82%)
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"
]
2.39 ms
(22.81%)
1
SELECT q0_.id AS id_0, q0_.title AS title_1, q0_.slug AS slug_2, q0_.description AS description_3, q0_.is_published AS is_published_4, q0_.created_at AS created_at_5, q0_.updated_at AS updated_at_6, q1_.id AS id_7, q1_.sort_order AS sort_order_8, q2_.id AS id_9, q2_.type AS type_10, q2_.difficulty AS difficulty_11, q2_.text AS text_12, q2_.explanation AS explanation_13, q2_.is_published AS is_published_14, q2_.created_at AS created_at_15, q2_.updated_at AS updated_at_16, q2_.deleted_at AS deleted_at_17, q3_.id AS id_18, q3_.text AS text_19, q3_.is_correct AS is_correct_20, q3_.sort_order AS sort_order_21, q0_.organization_id AS organization_id_22, q1_.package_id AS package_id_23, q1_.question_id AS question_id_24, q2_.topic_id AS topic_id_25, q2_.organization_id AS organization_id_26, q3_.question_id AS question_id_27 FROM question_packages q0_ LEFT JOIN question_package_items q1_ ON q0_.id = q1_.package_id LEFT JOIN questions q2_ ON q1_.question_id = q2_.id AND (q2_.organization_id IS NULL) LEFT JOIN question_options q3_ ON q2_.id = q3_.question_id WHERE (q0_.slug = ?) AND (q0_.organization_id IS NULL) ORDER BY q1_.sort_order ASC, q3_.sort_order ASC
Parameters:
[
  "flow-pkg-a2adb7"
]
1.66 ms
(15.84%)
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.14 ms
(10.87%)
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 = ? AND t0.is_published = ? AND ((t0.organization_id IS NULL)) LIMIT 1
Parameters:
[
  "question_package"
  2
  1
]
0.97 ms
(9.21%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.subject_id AS subject_id_7, t0.organization_id AS organization_id_8 FROM topics t0 WHERE t0.id = ? AND ((t0.organization_id IS NULL))
Parameters:
[
  1
]
0.95 ms
(9.08%)
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"
]
0.56 ms
(5.38%)
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\QuestionBank\QuestionOption 4
App\Entity\Settings\Setting 3
App\Entity\QuestionBank\QuestionPackage 1
App\Entity\QuestionBank\QuestionPackageItem 1
App\Entity\QuestionBank\Question 1
App\Entity\QuestionBank\Topic 1
App\Entity\Product\Product 1
App\Entity\QuestionBank\Subject 1
App\Entity\Content\Page 1