Query Metrics
12
Database Queries
11
Different statements
37.65 ms
Query time
0
Invalid entities
30
Cache hits
0
Cache misses
0
Cache puts
Queries
#▲ | Time | Info |
---|---|---|
1 | 3.63 ms |
SELECT t0.slug AS slug_1, t0.body AS body_2, t0.lang AS lang_3, t0.comment_count AS comment_count_4, t0.favourite_count AS favourite_count_5, t0.score AS score_6, t0.is_adult AS is_adult_7, t0.sticky AS sticky_8, t0.last_active AS last_active_9, t0.ip AS ip_10, t0.tags AS tags_11, t0.mentions AS mentions_12, t0.id AS id_13, t0.body_ts AS body_ts_14, t0.up_votes AS up_votes_15, t0.down_votes AS down_votes_16, t0.ranking AS ranking_17, t0.visibility AS visibility_18, t0.ap_id AS ap_id_19, t0.edited_at AS edited_at_20, t0.created_at AS created_at_21, t0.user_id AS user_id_22, t0.magazine_id AS magazine_id_23, t0.image_id AS image_id_24 FROM post t0 WHERE t0.id = ?
Parameters:
[
"360"
]
|
2 | 1.36 ms |
SELECT t0.choice AS choice_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.user_id AS user_id_4, t0.author_id AS author_id_5, t0.post_id AS post_id_6 FROM post_vote t0 WHERE (t0.choice = ? AND t0.post_id = ?) ORDER BY t0.created_at DESC
Parameters:
[ 1 360 ] |
3 | 8.34 ms |
SELECT p0_.body AS body_0, p0_.lang AS lang_1, p0_.favourite_count AS favourite_count_2, p0_.score AS score_3, p0_.last_active AS last_active_4, p0_.ip AS ip_5, p0_.tags AS tags_6, p0_.mentions AS mentions_7, p0_.is_adult AS is_adult_8, p0_.update_mark AS update_mark_9, p0_.id AS id_10, p0_.body_ts AS body_ts_11, p0_.up_votes AS up_votes_12, p0_.down_votes AS down_votes_13, p0_.visibility AS visibility_14, p0_.ap_id AS ap_id_15, p0_.edited_at AS edited_at_16, p0_.created_at AS created_at_17, u1_.email AS email_18, u1_.username AS username_19, u1_.roles AS roles_20, u1_.followers_count AS followers_count_21, u1_.homepage AS homepage_22, u1_.about AS about_23, u1_.last_active AS last_active_24, u1_.marked_for_deletion_at AS marked_for_deletion_at_25, u1_.fields AS fields_26, u1_.oauth_github_id AS oauth_github_id_27, u1_.oauth_google_id AS oauth_google_id_28, u1_.oauth_facebook_id AS oauth_facebook_id_29, u1_.oauth_keycloak_id AS oauth_keycloak_id_30, u1_.hide_adult AS hide_adult_31, u1_.show_subscribed_users AS show_subscribed_users_32, u1_.show_subscribed_magazines AS show_subscribed_magazines_33, u1_.show_subscribed_domains AS show_subscribed_domains_34, u1_.preferred_languages AS preferred_languages_35, u1_.featured_magazines AS featured_magazines_36, u1_.show_profile_subscriptions AS show_profile_subscriptions_37, u1_.show_profile_followings AS show_profile_followings_38, u1_.mark_new_comments AS mark_new_comments_39, u1_.notify_on_new_entry AS notify_on_new_entry_40, u1_.notify_on_new_entry_reply AS notify_on_new_entry_reply_41, u1_.notify_on_new_entry_comment_reply AS notify_on_new_entry_comment_reply_42, u1_.notify_on_new_post AS notify_on_new_post_43, u1_.notify_on_new_post_reply AS notify_on_new_post_reply_44, u1_.notify_on_new_post_comment_reply AS notify_on_new_post_comment_reply_45, u1_.add_mentions_entries AS add_mentions_entries_46, u1_.add_mentions_posts AS add_mentions_posts_47, u1_.is_banned AS is_banned_48, u1_.is_verified AS is_verified_49, u1_.is_deleted AS is_deleted_50, u1_.is_bot AS is_bot_51, u1_.spam_protection AS spam_protection_52, u1_.custom_css AS custom_css_53, u1_.ignore_magazines_custom_css AS ignore_magazines_custom_css_54, u1_.id AS id_55, u1_.password AS password_56, u1_.totp_secret AS totp_secret_57, u1_.totp_backup_codes AS totp_backup_codes_58, u1_.ap_id AS ap_id_59, u1_.ap_profile_id AS ap_profile_id_60, u1_.ap_public_url AS ap_public_url_61, u1_.ap_followers_url AS ap_followers_url_62, u1_.ap_inbox_url AS ap_inbox_url_63, u1_.ap_domain AS ap_domain_64, u1_.ap_preferred_username AS ap_preferred_username_65, u1_.ap_discoverable AS ap_discoverable_66, u1_.ap_manually_approves_followers AS ap_manually_approves_followers_67, u1_.private_key AS private_key_68, u1_.public_key AS public_key_69, u1_.ap_fetched_at AS ap_fetched_at_70, u1_.ap_deleted_at AS ap_deleted_at_71, u1_.ap_timeout_at AS ap_timeout_at_72, u1_.visibility AS visibility_73, u1_.created_at AS created_at_74, p0_.user_id AS user_id_75, p0_.post_id AS post_id_76, p0_.magazine_id AS magazine_id_77, p0_.parent_id AS parent_id_78, p0_.root_id AS root_id_79, p0_.image_id AS image_id_80, u1_.avatar_id AS avatar_id_81, u1_.cover_id AS cover_id_82 FROM post_comment p0_ INNER JOIN "user" u1_ ON p0_.user_id = u1_.id WHERE p0_.visibility IN (?, ?, ?) AND p0_.post_id = ? AND p0_.parent_id IS NULL ORDER BY p0_.created_at DESC, p0_.created_at DESC, p0_.id DESC LIMIT 25
Parameters:
[ "soft_deleted" "visible" "trashed" 360 ] |
4 | 0.84 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.favourite_count AS favourite_count_3, t0.score AS score_4, t0.last_active AS last_active_5, t0.ip AS ip_6, t0.tags AS tags_7, t0.mentions AS mentions_8, t0.is_adult AS is_adult_9, t0.update_mark AS update_mark_10, t0.id AS id_11, t0.body_ts AS body_ts_12, t0.up_votes AS up_votes_13, t0.down_votes AS down_votes_14, t0.visibility AS visibility_15, t0.ap_id AS ap_id_16, t0.edited_at AS edited_at_17, t0.created_at AS created_at_18, t0.user_id AS user_id_19, t0.post_id AS post_id_20, t0.magazine_id AS magazine_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23, t0.image_id AS image_id_24 FROM post_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?)
Parameters:
[ 1120 1104 1102 1101 ] |
5 | 0.44 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.favourite_count AS favourite_count_3, t0.score AS score_4, t0.last_active AS last_active_5, t0.ip AS ip_6, t0.tags AS tags_7, t0.mentions AS mentions_8, t0.is_adult AS is_adult_9, t0.update_mark AS update_mark_10, t0.id AS id_11, t0.body_ts AS body_ts_12, t0.up_votes AS up_votes_13, t0.down_votes AS down_votes_14, t0.visibility AS visibility_15, t0.ap_id AS ap_id_16, t0.edited_at AS edited_at_17, t0.created_at AS created_at_18, t0.user_id AS user_id_19, t0.post_id AS post_id_20, t0.magazine_id AS magazine_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23, t0.image_id AS image_id_24 FROM post_comment t0 WHERE t0.parent_id IN (?)
Parameters:
[
1116
]
|
6 | 1.01 ms |
SELECT t0.choice AS choice_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.user_id AS user_id_4, t0.author_id AS author_id_5, t0.comment_id AS comment_id_6 FROM post_comment_vote t0 WHERE (t0.choice = ? AND t0.comment_id = ?) ORDER BY t0.created_at DESC
Parameters:
[ 1 1101 ] |
7 | 0.57 ms |
SELECT t0.choice AS choice_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.user_id AS user_id_4, t0.author_id AS author_id_5, t0.comment_id AS comment_id_6 FROM post_comment_vote t0 WHERE (t0.choice = ? AND t0.comment_id = ?) ORDER BY t0.created_at DESC
Parameters:
[ 1 1116 ] |
8 | 1.96 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_10 FROM (SELECT p0_.body AS body_0, p0_.lang AS lang_1, p0_.favourite_count AS favourite_count_2, p0_.score AS score_3, p0_.last_active AS last_active_4, p0_.ip AS ip_5, p0_.tags AS tags_6, p0_.mentions AS mentions_7, p0_.is_adult AS is_adult_8, p0_.update_mark AS update_mark_9, p0_.id AS id_10, p0_.body_ts AS body_ts_11, p0_.up_votes AS up_votes_12, p0_.down_votes AS down_votes_13, p0_.visibility AS visibility_14, p0_.ap_id AS ap_id_15, p0_.edited_at AS edited_at_16, p0_.created_at AS created_at_17, u1_.email AS email_18, u1_.username AS username_19, u1_.roles AS roles_20, u1_.followers_count AS followers_count_21, u1_.homepage AS homepage_22, u1_.about AS about_23, u1_.last_active AS last_active_24, u1_.marked_for_deletion_at AS marked_for_deletion_at_25, u1_.fields AS fields_26, u1_.oauth_github_id AS oauth_github_id_27, u1_.oauth_google_id AS oauth_google_id_28, u1_.oauth_facebook_id AS oauth_facebook_id_29, u1_.oauth_keycloak_id AS oauth_keycloak_id_30, u1_.hide_adult AS hide_adult_31, u1_.show_subscribed_users AS show_subscribed_users_32, u1_.show_subscribed_magazines AS show_subscribed_magazines_33, u1_.show_subscribed_domains AS show_subscribed_domains_34, u1_.preferred_languages AS preferred_languages_35, u1_.featured_magazines AS featured_magazines_36, u1_.show_profile_subscriptions AS show_profile_subscriptions_37, u1_.show_profile_followings AS show_profile_followings_38, u1_.mark_new_comments AS mark_new_comments_39, u1_.notify_on_new_entry AS notify_on_new_entry_40, u1_.notify_on_new_entry_reply AS notify_on_new_entry_reply_41, u1_.notify_on_new_entry_comment_reply AS notify_on_new_entry_comment_reply_42, u1_.notify_on_new_post AS notify_on_new_post_43, u1_.notify_on_new_post_reply AS notify_on_new_post_reply_44, u1_.notify_on_new_post_comment_reply AS notify_on_new_post_comment_reply_45, u1_.add_mentions_entries AS add_mentions_entries_46, u1_.add_mentions_posts AS add_mentions_posts_47, u1_.is_banned AS is_banned_48, u1_.is_verified AS is_verified_49, u1_.is_deleted AS is_deleted_50, u1_.is_bot AS is_bot_51, u1_.spam_protection AS spam_protection_52, u1_.custom_css AS custom_css_53, u1_.ignore_magazines_custom_css AS ignore_magazines_custom_css_54, u1_.id AS id_55, u1_.password AS password_56, u1_.totp_secret AS totp_secret_57, u1_.totp_backup_codes AS totp_backup_codes_58, u1_.ap_id AS ap_id_59, u1_.ap_profile_id AS ap_profile_id_60, u1_.ap_public_url AS ap_public_url_61, u1_.ap_followers_url AS ap_followers_url_62, u1_.ap_inbox_url AS ap_inbox_url_63, u1_.ap_domain AS ap_domain_64, u1_.ap_preferred_username AS ap_preferred_username_65, u1_.ap_discoverable AS ap_discoverable_66, u1_.ap_manually_approves_followers AS ap_manually_approves_followers_67, u1_.private_key AS private_key_68, u1_.public_key AS public_key_69, u1_.ap_fetched_at AS ap_fetched_at_70, u1_.ap_deleted_at AS ap_deleted_at_71, u1_.ap_timeout_at AS ap_timeout_at_72, u1_.visibility AS visibility_73, u1_.created_at AS created_at_74 FROM post_comment p0_ INNER JOIN "user" u1_ ON p0_.user_id = u1_.id WHERE p0_.visibility IN (?, ?, ?) AND p0_.post_id = ? AND p0_.parent_id IS NULL ORDER BY p0_.created_at DESC, p0_.created_at DESC, p0_.id DESC) dctrn_result) dctrn_table
Parameters:
[ "soft_deleted" "visible" "trashed" 360 ] |
9 | 7.95 ms |
SELECT t0.is_owner AS is_owner_1, t0.is_confirmed AS is_confirmed_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.user_id AS user_id_5, t0.magazine_id AS magazine_id_6 FROM moderator t0 WHERE (t0.is_owner = ? AND t0.magazine_id = ?)
Parameters:
[ 1 38 ] |
10 | 0.64 ms |
SELECT t0.is_owner AS is_owner_1, t0.is_confirmed AS is_confirmed_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.user_id AS user_id_5, t0.magazine_id AS magazine_id_6 FROM moderator t0 WHERE t0.magazine_id = ?
Parameters:
[
38
]
|
11 | 6.17 ms |
SELECT COUNT(*) FROM magazine_log t0 WHERE t0.magazine_id = ? AND t0.log_type IN ('entry_deleted', 'entry_restored', 'entry_comment_deleted', 'entry_comment_restored', 'post_deleted', 'post_restored', 'post_comment_deleted', 'post_comment_restored', 'ban')
Parameters:
[
38
]
|
12 | 4.75 ms |
SELECT p0_.slug AS slug_0, p0_.body AS body_1, p0_.lang AS lang_2, p0_.comment_count AS comment_count_3, p0_.favourite_count AS favourite_count_4, p0_.score AS score_5, p0_.is_adult AS is_adult_6, p0_.sticky AS sticky_7, p0_.last_active AS last_active_8, p0_.ip AS ip_9, p0_.tags AS tags_10, p0_.mentions AS mentions_11, p0_.id AS id_12, p0_.body_ts AS body_ts_13, p0_.up_votes AS up_votes_14, p0_.down_votes AS down_votes_15, p0_.ranking AS ranking_16, p0_.visibility AS visibility_17, p0_.ap_id AS ap_id_18, p0_.edited_at AS edited_at_19, p0_.created_at AS created_at_20, p0_.user_id AS user_id_21, p0_.magazine_id AS magazine_id_22, p0_.image_id AS image_id_23 FROM post p0_ INNER JOIN magazine m1_ ON p0_.magazine_id = m1_.id WHERE p0_.tags @> '"memes"' = true AND p0_.visibility = ? AND m1_.name <> ? AND p0_.is_adult = false AND m1_.is_adult = false ORDER BY p0_.created_at DESC LIMIT 24
Parameters:
[ "visible" "memes" ] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
Second Level Cache
30
Hits
0
Misses
0
Puts
Number of cache hits
Region | Hits |
---|---|
app_entity_settings | 16 |
app_entity_magazine | 4 |
app_entity_user | 3 |
app_entity_image | 7 |