GET http://learning.ostadyar.ir/blog

Query Metrics

11 Database Queries
8 Different statements
16.31 ms Query time
0 Invalid entities
12 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
3.97 ms
(24.32%)
1
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2, b0_.description AS description_3, b0_.created_at AS created_at_4, b0_.updated_at AS updated_at_5, b1_.id AS id_6, b1_.title AS title_7, b1_.slug AS slug_8, b1_.content AS content_9, b1_.excerpt AS excerpt_10, b1_.featured_image AS featured_image_11, b1_.is_published AS is_published_12, b1_.views_count AS views_count_13, b1_.created_at AS created_at_14, b1_.updated_at AS updated_at_15, b1_.author_id AS author_id_16, b1_.category_id AS category_id_17 FROM blog_categories b0_ LEFT JOIN blog_posts b1_ ON b0_.id = b1_.category_id ORDER BY b0_.name ASC
Parameters:
[]
3.84 ms
(23.55%)
1
SELECT COUNT(b0_.id) AS sclr_0 FROM blog_posts b0_ LEFT JOIN blog_categories b1_ ON b0_.category_id = b1_.id LEFT JOIN users u2_ ON b0_.author_id = u2_.id AND (u2_.organization_id IS NULL) WHERE b0_.is_published = 1 ORDER BY b0_.created_at DESC
Parameters:
[]
3.14 ms
(19.23%)
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.15 ms
(13.19%)
1
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.slug AS slug_2, b0_.content AS content_3, b0_.excerpt AS excerpt_4, b0_.featured_image AS featured_image_5, b0_.is_published AS is_published_6, b0_.views_count AS views_count_7, b0_.created_at AS created_at_8, b0_.updated_at AS updated_at_9, b1_.id AS id_10, b1_.name AS name_11, b1_.slug AS slug_12, b1_.description AS description_13, b1_.created_at AS created_at_14, b1_.updated_at AS updated_at_15, u2_.id AS id_16, u2_.mobile AS mobile_17, u2_.email AS email_18, u2_.email_verified_at AS email_verified_at_19, u2_.mobile_verified_at AS mobile_verified_at_20, u2_.password_set AS password_set_21, u2_.two_factor_enabled AS two_factor_enabled_22, u2_.password AS password_23, u2_.first_name AS first_name_24, u2_.last_name AS last_name_25, u2_.national_code AS national_code_26, u2_.gender AS gender_27, u2_.headline AS headline_28, u2_.bio AS bio_29, u2_.education AS education_30, u2_.social_links AS social_links_31, u2_.avatar AS avatar_32, u2_.status AS status_33, u2_.last_login_at AS last_login_at_34, u2_.skyroom_mode AS skyroom_mode_35, u2_.skyroom_api_key AS skyroom_api_key_36, u2_.skyroom_api_url AS skyroom_api_url_37, u2_.skyroom_request_status AS skyroom_request_status_38, u2_.skyroom_request_note AS skyroom_request_note_39, u2_.skyroom_approved_at AS skyroom_approved_at_40, u2_.negative_points AS negative_points_41, u2_.referral_code AS referral_code_42, u2_.wallet_balance AS wallet_balance_43, u2_.created_at AS created_at_44, u2_.updated_at AS updated_at_45, u2_.deleted_at AS deleted_at_46, b0_.author_id AS author_id_47, b0_.category_id AS category_id_48, u2_.live_account_id AS live_account_id_49, u2_.organization_id AS organization_id_50, u2_.referred_by_id AS referred_by_id_51 FROM blog_posts b0_ LEFT JOIN blog_categories b1_ ON b0_.category_id = b1_.id LEFT JOIN users u2_ ON b0_.author_id = u2_.id AND (u2_.organization_id IS NULL) WHERE b0_.is_published = 1 ORDER BY b0_.created_at DESC LIMIT 9
Parameters:
[]
1.06 ms
(6.49%)
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
]
0.96 ms
(5.91%)
1
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.slug AS slug_2, b0_.content AS content_3, b0_.excerpt AS excerpt_4, b0_.featured_image AS featured_image_5, b0_.is_published AS is_published_6, b0_.views_count AS views_count_7, b0_.created_at AS created_at_8, b0_.updated_at AS updated_at_9, b0_.author_id AS author_id_10, b0_.category_id AS category_id_11 FROM blog_posts b0_ WHERE b0_.is_published = 1 ORDER BY b0_.created_at DESC LIMIT 5
Parameters:
[]
0.79 ms
(4.82%)
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.41 ms
(2.49%)
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\Blog\BlogCategory 4
App\Entity\Blog\BlogPost 3
App\Entity\Settings\Setting 3
App\Entity\User\User 1
App\Entity\Content\Page 1