Query Metrics
14
Database Queries
8
Different statements
5.24 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
1.21 ms (23.09%) |
4 |
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:
[
14
]
|
||||||||||||||||||||||||||
|
1.17 ms (22.34%) |
4 |
SELECT t0.id AS id_1, t0.image_path AS image_path_2, t0.alt AS alt_3, t0.sort_order AS sort_order_4, t0.created_at AS created_at_5, t0.photo_id AS photo_id_6 FROM photo_gallery t0 WHERE t0.photo_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
4
]
|
||||||||||||||||||||||||||
|
0.81 ms (15.56%) |
1 |
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, v0_.linked_photo_gallery_id AS linked_photo_gallery_id_37, v1_.video_id AS video_id_38, c3_.category_id AS category_id_39 FROM video v0_ LEFT JOIN video_translation v1_ ON v0_.id = v1_.video_id AND (v1_.locale = ?) LEFT JOIN video_categories v4_ ON v0_.id = v4_.video_id LEFT JOIN category c2_ ON c2_.id = v4_.category_id LEFT JOIN category_translation c3_ ON c2_.id = c3_.category_id AND (c3_.locale = ?) WHERE v0_.is_active = ? ORDER BY v0_.created_at DESC LIMIT 6
Parameters:
[ "fr" "fr" 1 ]
|
||||||||||||||||||||||||||
|
0.77 ms (14.73%) |
1 |
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.main_image AS main_image_2, p0_.description AS description_3, p0_.is_active AS is_active_4, p0_.price AS price_5, p0_.pricing_type AS pricing_type_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8, p0_.sort_order AS sort_order_9, p0_.views_count AS views_count_10, p0_.likes_count AS likes_count_11, p0_.purchases_count AS purchases_count_12, p0_.comments_count AS comments_count_13, p1_.id AS id_14, p1_.locale AS locale_15, p1_.title AS title_16, p1_.description AS description_17, p1_.created_at AS created_at_18, p1_.updated_at AS updated_at_19, c2_.id AS id_20, c2_.title AS title_21, c2_.image AS image_22, c2_.is_active AS is_active_23, c2_.created_at AS created_at_24, c2_.updated_at AS updated_at_25, c2_.sort_order AS sort_order_26, c3_.id AS id_27, c3_.locale AS locale_28, c3_.title AS title_29, c3_.description AS description_30, c3_.created_at AS created_at_31, c3_.updated_at AS updated_at_32, p1_.photo_id AS photo_id_33, c3_.category_id AS category_id_34 FROM photo p0_ LEFT JOIN photo_translation p1_ ON p0_.id = p1_.photo_id AND (p1_.locale = ?) LEFT JOIN photo_categories p4_ ON p0_.id = p4_.photo_id LEFT JOIN category c2_ ON c2_.id = p4_.category_id LEFT JOIN category_translation c3_ ON c2_.id = c3_.category_id AND (c3_.locale = ?) WHERE p0_.is_active = ? ORDER BY p0_.created_at DESC LIMIT 6
Parameters:
[ "fr" "fr" 1 ]
|
||||||||||||||||||||||||||
|
0.41 ms (7.78%) |
1 |
SELECT COUNT(c0_.id) AS sclr_0 FROM comments c0_ WHERE c0_.created_at >= ?
Parameters:
[
"2026-01-22 00:00:00"
]
|
||||||||||||||||||||||||||
|
0.34 ms (6.46%) |
1 |
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 = ? ORDER BY c0_.sort_order ASC, c0_.title ASC LIMIT 10
Parameters:
[ "fr" 1 ]
|
||||||||||||||||||||||||||
|
0.26 ms (5.06%) |
1 |
SELECT COUNT(*) FROM video t0 WHERE t0.is_active = ?
Parameters:
[
1
]
|
||||||||||||||||||||||||||
|
0.26 ms (4.98%) |
1 |
SELECT COUNT(c0_.id) AS sclr_0 FROM contact_message c0_ WHERE c0_.is_read = ?
Parameters:
[
0
]
|
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\Photo | No errors. |
| App\Entity\Subscription | No errors. |
| App\Entity\VideoPurchase | No errors. |
| App\Entity\VideoLike | No errors. |
| App\Entity\PhotoTranslation | No errors. |
| App\Entity\PhotoGallery | No errors. |
| App\Entity\Comment | No errors. |
| App\Entity\ContactMessage | No errors. |
| App\Entity\User | No errors. |