Query Metrics
20
Database Queries
18
Different statements
115.63 ms
Query time
0
Invalid entities
23
Cache hits
0
Cache misses
0
Cache puts
Queries
#▲ | Time | Info |
---|---|---|
1 | 5.36 ms |
SELECT t0.slug AS slug_1, t0.title AS title_2, t0.url AS url_3, t0.body AS body_4, t0.type AS type_5, t0.lang AS lang_6, t0.is_oc AS is_oc_7, t0.has_embed AS has_embed_8, t0.comment_count AS comment_count_9, t0.favourite_count AS favourite_count_10, t0.score AS score_11, t0.is_adult AS is_adult_12, t0.sticky AS sticky_13, t0.last_active AS last_active_14, t0.ip AS ip_15, t0.ada_amount AS ada_amount_16, t0.tags AS tags_17, t0.mentions AS mentions_18, t0.id AS id_19, t0.title_ts AS title_ts_20, t0.body_ts AS body_ts_21, t0.up_votes AS up_votes_22, t0.down_votes AS down_votes_23, t0.ranking AS ranking_24, t0.visibility AS visibility_25, t0.ap_id AS ap_id_26, t0.edited_at AS edited_at_27, t0.created_at AS created_at_28, t0.user_id AS user_id_29, t0.magazine_id AS magazine_id_30, t0.image_id AS image_id_31, t0.domain_id AS domain_id_32 FROM entry t0 WHERE t0.user_id = ?
Parameters:
[
20482
]
|
2 | 8.52 ms |
SELECT COUNT(*) FROM entry_comment t0 WHERE t0.user_id = ?
Parameters:
[
20482
]
|
3 | 1.95 ms |
SELECT COUNT(*) FROM post t0 WHERE t0.user_id = ?
Parameters:
[
20482
]
|
4 | 1.21 ms |
SELECT COUNT(*) FROM post_comment t0 WHERE t0.user_id = ?
Parameters:
[
20482
]
|
5 | 3.31 ms |
(SELECT entry_id as id, created_at, 'entry' AS type FROM entry_vote WHERE user_id = :userId AND choice = 1) UNION (SELECT comment_id as id, created_at, 'entry_comment' AS type FROM entry_comment_vote WHERE user_id = :userId AND choice = 1) UNION (SELECT post_id as id, created_at, 'post' AS type FROM post_vote WHERE user_id = :userId AND choice = 1) UNION (SELECT comment_id as id, created_at, 'post_comment' AS type FROM post_comment_vote WHERE user_id = :userId AND choice = 1) ORDER BY created_at DESC
Parameters:
[ "userId" => 20482 ] |
6 | 0.77 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.follower_id AS follower_id_3, t0.following_id AS following_id_4 FROM user_follow t0 WHERE t0.follower_id = ? ORDER BY t0.created_at DESC
Parameters:
[
20482
]
|
7 | 0.58 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.follower_id AS follower_id_3, t0.following_id AS following_id_4 FROM user_follow t0 WHERE t0.following_id = ? ORDER BY t0.created_at DESC
Parameters:
[
20482
]
|
8 | 21.02 ms |
SELECT e0_.body AS body_0, e0_.lang AS lang_1, e0_.is_adult AS is_adult_2, e0_.favourite_count AS favourite_count_3, e0_.score AS score_4, e0_.last_active AS last_active_5, e0_.ip AS ip_6, e0_.tags AS tags_7, e0_.mentions AS mentions_8, e0_.id AS id_9, e0_.body_ts AS body_ts_10, e0_.up_votes AS up_votes_11, e0_.down_votes AS down_votes_12, e0_.visibility AS visibility_13, e0_.ap_id AS ap_id_14, e0_.edited_at AS edited_at_15, e0_.created_at AS created_at_16, u1_.email AS email_17, u1_.username AS username_18, u1_.roles AS roles_19, u1_.followers_count AS followers_count_20, u1_.homepage AS homepage_21, u1_.about AS about_22, u1_.last_active AS last_active_23, u1_.marked_for_deletion_at AS marked_for_deletion_at_24, u1_.fields AS fields_25, u1_.oauth_github_id AS oauth_github_id_26, u1_.oauth_google_id AS oauth_google_id_27, u1_.oauth_facebook_id AS oauth_facebook_id_28, u1_.oauth_keycloak_id AS oauth_keycloak_id_29, u1_.hide_adult AS hide_adult_30, u1_.show_subscribed_users AS show_subscribed_users_31, u1_.show_subscribed_magazines AS show_subscribed_magazines_32, u1_.show_subscribed_domains AS show_subscribed_domains_33, u1_.preferred_languages AS preferred_languages_34, u1_.featured_magazines AS featured_magazines_35, u1_.show_profile_subscriptions AS show_profile_subscriptions_36, u1_.show_profile_followings AS show_profile_followings_37, u1_.mark_new_comments AS mark_new_comments_38, u1_.notify_on_new_entry AS notify_on_new_entry_39, u1_.notify_on_new_entry_reply AS notify_on_new_entry_reply_40, u1_.notify_on_new_entry_comment_reply AS notify_on_new_entry_comment_reply_41, u1_.notify_on_new_post AS notify_on_new_post_42, u1_.notify_on_new_post_reply AS notify_on_new_post_reply_43, u1_.notify_on_new_post_comment_reply AS notify_on_new_post_comment_reply_44, u1_.add_mentions_entries AS add_mentions_entries_45, u1_.add_mentions_posts AS add_mentions_posts_46, u1_.is_banned AS is_banned_47, u1_.is_verified AS is_verified_48, u1_.is_deleted AS is_deleted_49, u1_.is_bot AS is_bot_50, u1_.spam_protection AS spam_protection_51, u1_.custom_css AS custom_css_52, u1_.ignore_magazines_custom_css AS ignore_magazines_custom_css_53, u1_.id AS id_54, u1_.password AS password_55, u1_.totp_secret AS totp_secret_56, u1_.totp_backup_codes AS totp_backup_codes_57, u1_.ap_id AS ap_id_58, u1_.ap_profile_id AS ap_profile_id_59, u1_.ap_public_url AS ap_public_url_60, u1_.ap_followers_url AS ap_followers_url_61, u1_.ap_inbox_url AS ap_inbox_url_62, u1_.ap_domain AS ap_domain_63, u1_.ap_preferred_username AS ap_preferred_username_64, u1_.ap_discoverable AS ap_discoverable_65, u1_.ap_manually_approves_followers AS ap_manually_approves_followers_66, u1_.private_key AS private_key_67, u1_.public_key AS public_key_68, u1_.ap_fetched_at AS ap_fetched_at_69, u1_.ap_deleted_at AS ap_deleted_at_70, u1_.ap_timeout_at AS ap_timeout_at_71, u1_.visibility AS visibility_72, u1_.created_at AS created_at_73, e0_.user_id AS user_id_74, e0_.entry_id AS entry_id_75, e0_.magazine_id AS magazine_id_76, e0_.image_id AS image_id_77, e0_.parent_id AS parent_id_78, e0_.root_id AS root_id_79, u1_.avatar_id AS avatar_id_80, u1_.cover_id AS cover_id_81 FROM entry_comment e0_ INNER JOIN "user" u1_ ON e0_.user_id = u1_.id INNER JOIN entry e2_ ON e0_.entry_id = e2_.id INNER JOIN entry e3_ ON e0_.entry_id = e3_.id INNER JOIN magazine m4_ ON e2_.magazine_id = m4_.id WHERE e0_.visibility IN (?, ?, ?) AND e2_.visibility = ? AND e0_.user_id = ? AND m4_.is_adult = ? AND e2_.is_adult = ? ORDER BY e0_.favourite_count - e0_.down_votes DESC, e0_.created_at DESC, e0_.id DESC LIMIT 15
Parameters:
[ "soft_deleted" "visible" "trashed" "visible" 20482 0 0 ] |
9 | 1.83 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 334943 334796 336200 334880 334895 334952 334883 334789 263527 330715 334933 334887 246592 269045 336120 ] |
10 | 1.75 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 246739 246843 246695 247553 246741 246787 248621 246822 269092 331225 335590 335597 335138 334959 336712 335241 336513 335596 335829 336703 335704 335512 337840 336306 336280 336545 ] |
11 | 8.93 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 246750 246791 246955 246781 247114 246957 246818 246929 247623 246941 246961 248121 247724 249576 269110 331426 331330 335535 336135 335779 336173 336175 336203 337131 337112 337136 ] |
12 | 9.44 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 246837 247384 248119 247478 247672 248798 249616 247028 248668 247138 247129 247433 250044 248987 331640 331639 332823 336162 336584 336589 ] |
13 | 9.64 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 247667 248762 247166 247181 247619 247380 247158 247686 249483 250023 248118 248124 271379 249470 332608 334140 332803 331722 336902 ] |
14 | 1.20 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 247275 247913 247303 247915 249623 250688 332757 333464 334348 ] |
15 | 1.48 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?, ?, ?, ?)
Parameters:
[ 247438 248196 249683 333690 334144 ] |
16 | 26.17 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?, ?)
Parameters:
[ 249457 249697 ] |
17 | 0.73 ms |
SELECT t0.body AS body_1, t0.lang AS lang_2, t0.is_adult AS is_adult_3, t0.favourite_count AS favourite_count_4, t0.score AS score_5, t0.last_active AS last_active_6, t0.ip AS ip_7, t0.tags AS tags_8, t0.mentions AS mentions_9, t0.id AS id_10, t0.body_ts AS body_ts_11, t0.up_votes AS up_votes_12, t0.down_votes AS down_votes_13, t0.visibility AS visibility_14, t0.ap_id AS ap_id_15, t0.edited_at AS edited_at_16, t0.created_at AS created_at_17, t0.user_id AS user_id_18, t0.entry_id AS entry_id_19, t0.magazine_id AS magazine_id_20, t0.image_id AS image_id_21, t0.parent_id AS parent_id_22, t0.root_id AS root_id_23 FROM entry_comment t0 WHERE t0.parent_id IN (?)
Parameters:
[
249881
]
|
18 | 0.98 ms |
SELECT t0.slug AS slug_1, t0.title AS title_2, t0.url AS url_3, t0.body AS body_4, t0.type AS type_5, t0.lang AS lang_6, t0.is_oc AS is_oc_7, t0.has_embed AS has_embed_8, t0.comment_count AS comment_count_9, t0.favourite_count AS favourite_count_10, t0.score AS score_11, t0.is_adult AS is_adult_12, t0.sticky AS sticky_13, t0.last_active AS last_active_14, t0.ip AS ip_15, t0.ada_amount AS ada_amount_16, t0.tags AS tags_17, t0.mentions AS mentions_18, t0.id AS id_19, t0.title_ts AS title_ts_20, t0.body_ts AS body_ts_21, t0.up_votes AS up_votes_22, t0.down_votes AS down_votes_23, t0.ranking AS ranking_24, t0.visibility AS visibility_25, t0.ap_id AS ap_id_26, t0.edited_at AS edited_at_27, t0.created_at AS created_at_28, t0.user_id AS user_id_29, t0.magazine_id AS magazine_id_30, t0.image_id AS image_id_31, t0.domain_id AS domain_id_32 FROM entry t0 WHERE t0.id = ?
Parameters:
[
25730
]
|
19 | 0.84 ms |
SELECT t0.slug AS slug_1, t0.title AS title_2, t0.url AS url_3, t0.body AS body_4, t0.type AS type_5, t0.lang AS lang_6, t0.is_oc AS is_oc_7, t0.has_embed AS has_embed_8, t0.comment_count AS comment_count_9, t0.favourite_count AS favourite_count_10, t0.score AS score_11, t0.is_adult AS is_adult_12, t0.sticky AS sticky_13, t0.last_active AS last_active_14, t0.ip AS ip_15, t0.ada_amount AS ada_amount_16, t0.tags AS tags_17, t0.mentions AS mentions_18, t0.id AS id_19, t0.title_ts AS title_ts_20, t0.body_ts AS body_ts_21, t0.up_votes AS up_votes_22, t0.down_votes AS down_votes_23, t0.ranking AS ranking_24, t0.visibility AS visibility_25, t0.ap_id AS ap_id_26, t0.edited_at AS edited_at_27, t0.created_at AS created_at_28, t0.user_id AS user_id_29, t0.magazine_id AS magazine_id_30, t0.image_id AS image_id_31, t0.domain_id AS domain_id_32 FROM entry t0 WHERE t0.id = ?
Parameters:
[
24264
]
|
20 | 9.92 ms |
SELECT m0_.name AS name_0, m0_.title AS title_1, m0_.description AS description_2, m0_.rules AS rules_3, m0_.subscriptions_count AS subscriptions_count_4, m0_.entry_count AS entry_count_5, m0_.entry_comment_count AS entry_comment_count_6, m0_.post_count AS post_count_7, m0_.post_comment_count AS post_comment_count_8, m0_.is_adult AS is_adult_9, m0_.custom_css AS custom_css_10, m0_.last_active AS last_active_11, m0_.marked_for_deletion_at AS marked_for_deletion_at_12, m0_.tags AS tags_13, m0_.id AS id_14, m0_.ap_id AS ap_id_15, m0_.ap_profile_id AS ap_profile_id_16, m0_.ap_public_url AS ap_public_url_17, m0_.ap_followers_url AS ap_followers_url_18, m0_.ap_inbox_url AS ap_inbox_url_19, m0_.ap_domain AS ap_domain_20, m0_.ap_preferred_username AS ap_preferred_username_21, m0_.ap_discoverable AS ap_discoverable_22, m0_.ap_manually_approves_followers AS ap_manually_approves_followers_23, m0_.private_key AS private_key_24, m0_.public_key AS public_key_25, m0_.ap_fetched_at AS ap_fetched_at_26, m0_.ap_deleted_at AS ap_deleted_at_27, m0_.ap_timeout_at AS ap_timeout_at_28, m0_.visibility AS visibility_29, m0_.created_at AS created_at_30, m0_.icon_id AS icon_id_31 FROM magazine m0_ WHERE m0_.id IN (SELECT m1_.magazine_id AS sclr_32 FROM moderator m1_ WHERE m1_.user_id = ?) ORDER BY m0_.ap_id DESC, m0_.last_active DESC
Parameters:
[
20482
]
|
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
Second Level Cache
23
Hits
0
Misses
0
Puts
Number of cache hits
Region | Hits |
---|---|
app_entity_user | 2 |
app_entity_settings | 16 |
app_entity_magazine | 4 |
app_entity_image | 1 |