Query Metrics
5
Database Queries
5
Different statements
3.25 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1.87 ms |
SELECT v0_.id AS id_0, v0_.video_id AS video_id_1, v0_.title AS title_2, v0_.description AS description_3, v0_.duration AS duration_4, v0_.playlist_path AS playlist_path_5, v0_.thumbnail_path AS thumbnail_path_6, v0_.preview_path AS preview_path_7, v0_.is_active AS is_active_8, v0_.price AS price_9, v0_.pricing_type AS pricing_type_10, v0_.created_at AS created_at_11, v0_.updated_at AS updated_at_12, v0_.sort_order AS sort_order_13, v0_.views_count AS views_count_14, v0_.likes_count AS likes_count_15, v0_.purchases_count AS purchases_count_16, v0_.comments_count AS comments_count_17, v1_.id AS id_18, v1_.locale AS locale_19, v1_.title AS title_20, v1_.description AS description_21, v1_.created_at AS created_at_22, v1_.updated_at AS updated_at_23, c2_.id AS id_24, c2_.title AS title_25, c2_.image AS image_26, c2_.is_active AS is_active_27, c2_.created_at AS created_at_28, c2_.updated_at AS updated_at_29, c2_.sort_order AS sort_order_30, c3_.id AS id_31, c3_.locale AS locale_32, c3_.title AS title_33, c3_.description AS description_34, c3_.created_at AS created_at_35, c3_.updated_at AS updated_at_36, s4_.id AS id_37, s4_.name AS name_38, s4_.price AS price_39, s4_.type AS type_40, s4_.is_active AS is_active_41, s4_.is_public AS is_public_42, s4_.description AS description_43, s4_.sort_order AS sort_order_44, s4_.created_at AS created_at_45, s4_.updated_at AS updated_at_46, p5_.id AS id_47, p5_.title AS title_48, p5_.main_image AS main_image_49, p5_.description AS description_50, p5_.is_active AS is_active_51, p5_.price AS price_52, p5_.pricing_type AS pricing_type_53, p5_.created_at AS created_at_54, p5_.updated_at AS updated_at_55, p5_.sort_order AS sort_order_56, p5_.views_count AS views_count_57, p5_.likes_count AS likes_count_58, p5_.purchases_count AS purchases_count_59, p5_.comments_count AS comments_count_60, v0_.linked_photo_gallery_id AS linked_photo_gallery_id_61, v1_.video_id AS video_id_62, c3_.category_id AS category_id_63 FROM video v0_ LEFT JOIN video_translation v1_ ON v0_.id = v1_.video_id AND (v1_.locale = ?) LEFT JOIN video_categories v6_ ON v0_.id = v6_.video_id LEFT JOIN category c2_ ON c2_.id = v6_.category_id LEFT JOIN category_translation c3_ ON c2_.id = c3_.category_id AND (c3_.locale = ?) LEFT JOIN video_subscriptions v7_ ON v0_.id = v7_.video_id LEFT JOIN subscriptions s4_ ON s4_.id = v7_.subscription_id LEFT JOIN photo p5_ ON v0_.linked_photo_gallery_id = p5_.id WHERE v0_.is_active = 1 AND c2_.id = ? ORDER BY v0_.sort_order ASC, v0_.created_at DESC
Parameters:
[ "fr" "fr" "3" ]
|
||||||||||||||||||||||||||
| 2 | 0.39 ms |
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.image AS image_2, c0_.is_active AS is_active_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5, c0_.sort_order AS sort_order_6, c1_.id AS id_7, c1_.locale AS locale_8, c1_.title AS title_9, c1_.description AS description_10, c1_.created_at AS created_at_11, c1_.updated_at AS updated_at_12, c1_.category_id AS category_id_13 FROM category c0_ LEFT JOIN category_translation c1_ ON c0_.id = c1_.category_id AND (c1_.locale = ?) WHERE c0_.is_active = 1 ORDER BY c0_.sort_order ASC, c0_.title ASC
Parameters:
[
"fr"
]
|
||||||||||||||||||||||||||
| 3 | 0.38 ms |
SELECT COUNT(c0_.id) AS sclr_0 FROM comments c0_ WHERE c0_.created_at >= ?
Parameters:
[
"2026-01-22 00:00:00"
]
|
||||||||||||||||||||||||||
| 4 | 0.25 ms |
SELECT COUNT(c0_.id) AS sclr_0 FROM contact_message c0_ WHERE c0_.is_read = ?
Parameters:
[
0
]
|
||||||||||||||||||||||||||
| 5 | 0.36 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.user_id AS user_id_3, t0.video_id AS video_id_4 FROM video_likes t0 WHERE t0.video_id = ?
Parameters:
[
12
]
|
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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Video | No errors. |
| App\Entity\VideoTranslation | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\CategoryTranslation | No errors. |
| App\Entity\Subscription | No errors. |
| App\Entity\Photo | No errors. |
| App\Entity\VideoPurchase | No errors. |
| App\Entity\VideoLike | No errors. |
| App\Entity\SubscriptionTranslation | No errors. |
| App\Entity\Comment | No errors. |
| App\Entity\ContactMessage | No errors. |
| App\Entity\User | No errors. |