Query Metrics
4
Database Queries
4
Different statements
35.87 ms
Query time
0
Invalid entities
20
Cache hits
0
Cache misses
0
Cache puts
Queries
#▲ | Time | Info |
---|---|---|
1 | 20.17 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 INNER JOIN "user" u2_ ON p0_.user_id = u2_.id WHERE p0_.visibility = ? AND m1_.visibility = ? AND p0_.tags @> '"mac"' = true AND m1_.is_adult = ? AND p0_.is_adult = ? ORDER BY p0_.created_at DESC, p0_.id DESC LIMIT 15
Parameters:
[ "visible" "visible" 0 0 ] |
2 | 2.33 ms |
SELECT count(p0_.id) AS sclr_0 FROM post p0_ INNER JOIN magazine m1_ ON p0_.magazine_id = m1_.id INNER JOIN "user" u2_ ON p0_.user_id = u2_.id WHERE p0_.visibility = ? AND m1_.visibility = ? AND p0_.tags @> '"mac"' = true AND m1_.is_adult = ? AND p0_.is_adult = ? ORDER BY sclr_0 ASC
Parameters:
[ "visible" "visible" 0 0 ] |
3 | 4.42 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_.entry_count > 0 OR m0_.post_count > 0) AND (LOWER(m0_.title) LIKE ? OR LOWER(m0_.description) LIKE ? OR LOWER(m0_.name) LIKE ?) AND m0_.is_adult = false AND m0_.visibility = ? LIMIT 5
Parameters:
[ "%mac%" "%mac%" "%mac%" "visible" ] |
4 | 8.95 ms |
SELECT c0_.name AS name_0, c0_.slug AS slug_1, c0_.description AS description_2, c0_.is_private AS is_private_3, c0_.is_official AS is_official_4, c0_.magazines_count AS magazines_count_5, c0_.subscriptions_count AS subscriptions_count_6, c0_.id AS id_7, c0_.created_at AS created_at_8, c0_.user_id AS user_id_9 FROM category c0_ WHERE (LOWER(c0_.name) LIKE ? OR LOWER(c0_.description) LIKE ?) AND c0_.is_private = false LIMIT 5
Parameters:
[ "%%" "%%" ] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
Second Level Cache
20
Hits
0
Misses
0
Puts
Number of cache hits
Region | Hits |
---|---|
app_entity_settings | 16 |
app_entity_image | 2 |
app_entity_magazine | 2 |
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\Settings | No errors. |
App\Entity\Post | No errors. |
App\Entity\Magazine | No errors. |
App\Entity\User | No errors. |
App\Entity\Image | No errors. |
App\Entity\Moderator | No errors. |
App\Entity\MagazineOwnershipRequest | No errors. |
App\Entity\ModeratorRequest | No errors. |
App\Entity\Entry | No errors. |
App\Entity\MagazineSubscription | No errors. |
App\Entity\MagazineBan | No errors. |
App\Entity\Report | No errors. |
App\Entity\Badge | No errors. |
App\Entity\MagazineLog | No errors. |
App\Entity\Award | No errors. |
App\Entity\CategoryMagazine | No errors. |
App\Entity\Category | No errors. |