Query Metrics
118
Database Queries
7
Different statements
155.07 ms
Query time
0
Invalid entities
107
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
116.74 ms (75.28%) |
111 |
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[ "4526" "en" "App\Entity\Movie" ] |
||||||||||||||||||||||||||||
|
28.85 ms (18.61%) |
1 |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2, m0_.original_name AS original_name_3, COALESCE(t1_.content, m0_.synopsis) AS synopsis_4, COALESCE(t2_.content, m0_.tagline) AS tagline_5, COALESCE(t3_.content, m0_.logline) AS logline_6, m0_.reward AS reward_7, m0_.award AS award_8, m0_.audience AS audience_9, m0_.in_theather AS in_theather_10, m0_.has_exclusivity AS has_exclusivity_11, m0_.is_subbanner AS is_subbanner_12, m0_.is_published AS is_published_13, m0_.state AS state_14, m0_.format AS format_15, m0_.year_start AS year_start_16, m0_.year_end AS year_end_17, m0_.mention AS mention_18, m0_.cover_img AS cover_img_19, m0_.landscape_img AS landscape_img_20, m0_.portrait_img AS portrait_img_21, m0_.trailer AS trailer_22, m0_.extrait AS extrait_23, m0_.episode_1 AS episode_1_24, m0_.episode_2 AS episode_2_25, m0_.episode_3 AS episode_3_26, m0_.insert_mode AS insert_mode_27, m0_.update_at AS update_at_28, m0_.in_workflow_at AS in_workflow_at_29, m0_.desactivated_at AS desactivated_at_30, m0_.rejected_at AS rejected_at_31, m0_.approved_at AS approved_at_32, m0_.published_at AS published_at_33, m0_.create_at AS create_at_34, c4_.id AS id_35, COALESCE(t5_.content, c4_.name) AS name_36, COALESCE(t6_.content, c4_.slug) AS slug_37, c4_.movie_nbr AS movie_nbr_38, o7_.id AS id_39, COALESCE(t8_.content, o7_.name) AS name_40, COALESCE(t9_.content, o7_.slug) AS slug_41, o7_.movie_nbr AS movie_nbr_42, o7_.create_at AS create_at_43, c10_.id AS id_44, COALESCE(t11_.content, c10_.name) AS name_45, COALESCE(t12_.content, c10_.slug) AS slug_46, c10_.movie_nbr AS movie_nbr_47, c13_.id AS id_48, COALESCE(t14_.content, c13_.name) AS name_49, COALESCE(t15_.content, c13_.slug) AS slug_50, c13_.movie_nbr AS movie_nbr_51, m0_.category_id AS category_id_52, m0_.language_id AS language_id_53, m0_.section_id AS section_id_54, m0_.section_category_id AS section_category_id_55 FROM movie m0_ LEFT JOIN category c4_ ON m0_.category_id = c4_.id LEFT JOIN original_language o7_ ON m0_.language_id = o7_.id LEFT JOIN catalog_section c10_ ON m0_.section_id = c10_.id LEFT JOIN catalog_section_category c13_ ON m0_.section_category_id = c13_.id LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'synopsis' AND t1_.object_class = 'App\\Entity\\Movie' AND t1_.foreign_key = m0_.id LEFT JOIN ext_translations t2_ ON t2_.locale = 'en' AND t2_.field = 'tagline' AND t2_.object_class = 'App\\Entity\\Movie' AND t2_.foreign_key = m0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'en' AND t3_.field = 'logline' AND t3_.object_class = 'App\\Entity\\Movie' AND t3_.foreign_key = m0_.id LEFT JOIN ext_translations t5_ ON t5_.locale = 'en' AND t5_.field = 'name' AND t5_.object_class = 'App\\Entity\\Category' AND t5_.foreign_key = c4_.id LEFT JOIN ext_translations t6_ ON t6_.locale = 'en' AND t6_.field = 'slug' AND t6_.object_class = 'App\\Entity\\Category' AND t6_.foreign_key = c4_.id LEFT JOIN ext_translations t8_ ON t8_.locale = 'en' AND t8_.field = 'name' AND t8_.object_class = 'App\\Entity\\OriginalLanguage' AND t8_.foreign_key = o7_.id LEFT JOIN ext_translations t9_ ON t9_.locale = 'en' AND t9_.field = 'slug' AND t9_.object_class = 'App\\Entity\\OriginalLanguage' AND t9_.foreign_key = o7_.id LEFT JOIN ext_translations t11_ ON t11_.locale = 'en' AND t11_.field = 'name' AND t11_.object_class = 'App\\Entity\\CatalogSection' AND t11_.foreign_key = c10_.id LEFT JOIN ext_translations t12_ ON t12_.locale = 'en' AND t12_.field = 'slug' AND t12_.object_class = 'App\\Entity\\CatalogSection' AND t12_.foreign_key = c10_.id LEFT JOIN ext_translations t14_ ON t14_.locale = 'en' AND t14_.field = 'name' AND t14_.object_class = 'App\\Entity\\CatalogSectionCategory' AND t14_.foreign_key = c13_.id LEFT JOIN ext_translations t15_ ON t15_.locale = 'en' AND t15_.field = 'slug' AND t15_.object_class = 'App\\Entity\\CatalogSectionCategory' AND t15_.foreign_key = c13_.id WHERE m0_.is_published = ? AND (EXISTS (SELECT m23_.id FROM movie_genre m23_ INNER JOIN movie m16_ ON m23_.movie_id = m16_.id INNER JOIN genre g20_ ON m23_.genre_id = g20_.id LEFT JOIN ext_translations t17_ ON t17_.locale = 'en' AND t17_.field = 'synopsis' AND t17_.object_class = 'App\\Entity\\Movie' AND t17_.foreign_key = m16_.id LEFT JOIN ext_translations t18_ ON t18_.locale = 'en' AND t18_.field = 'tagline' AND t18_.object_class = 'App\\Entity\\Movie' AND t18_.foreign_key = m16_.id LEFT JOIN ext_translations t19_ ON t19_.locale = 'en' AND t19_.field = 'logline' AND t19_.object_class = 'App\\Entity\\Movie' AND t19_.foreign_key = m16_.id LEFT JOIN ext_translations t21_ ON t21_.locale = 'en' AND t21_.field = 'name' AND t21_.object_class = 'App\\Entity\\Genre' AND t21_.foreign_key = g20_.id LEFT JOIN ext_translations t22_ ON t22_.locale = 'en' AND t22_.field = 'slug' AND t22_.object_class = 'App\\Entity\\Genre' AND t22_.foreign_key = g20_.id WHERE m0_.id = m16_.id AND COALESCE(t22_.content, COALESCE(t22_.content, g20_.slug)) = ?)) ORDER BY m0_.name ASC LIMIT 20
Parameters:
[ 1 "enfant" ]
|
||||||||||||||||||||||||||||
|
3.25 ms (2.10%) |
1 |
SELECT l0_.id AS id_0, l0_.name AS name_1, l0_.slug AS slug_2, l0_.movie_nbr AS movie_nbr_3, l0_.create_at AS create_at_4 FROM language l0_ ORDER BY l0_.name ASC
Parameters:
[] |
||||||||||||||||||||||||||||
|
2.77 ms (1.78%) |
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.movie_nbr AS movie_nbr_3 FROM category c0_
Parameters:
[] |
||||||||||||||||||||||||||||
|
1.83 ms (1.18%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.movie_nbr AS movie_nbr_4 FROM category t0 ORDER BY t0.name ASC
Parameters:
[]
|
||||||||||||||||||||||||||||
|
0.90 ms (0.58%) |
1 |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.slug AS slug_2, g0_.movie_nbr AS movie_nbr_3 FROM genre g0_ ORDER BY g0_.name ASC
Parameters:
[] |
||||||||||||||||||||||||||||
|
0.73 ms (0.47%) |
1 |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.slug AS slug_2, g0_.movie_nbr AS movie_nbr_3 FROM genre g0_ ORDER BY g0_.id DESC LIMIT 20
Parameters:
[]
|
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.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Genre | 79 |
| App\Entity\Language | 13 |
| App\Entity\Category | 6 |
| App\Entity\Movie | 3 |
| App\Entity\OriginalLanguage | 2 |
| App\Entity\CatalogSection | 2 |
| App\Entity\CatalogSectionCategory | 2 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Genre | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\Language | No errors. |
| App\Entity\Movie | No errors. |
| App\Entity\OriginalLanguage | No errors. |
| App\Entity\CatalogSection | No errors. |
| App\Entity\CatalogSectionCategory | No errors. |
| App\Entity\MovieGenre | No errors. |
| Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation | No errors. |
| Gedmo\Translatable\Entity\Translation | No errors. |
| App\Entity\MovieCountry | No errors. |
| App\Entity\MovieLanguage | No errors. |
| App\Entity\MovieActor | No errors. |
| App\Entity\MovieProducer | No errors. |
| App\Entity\MovieDirector | No errors. |
| App\Entity\MovieCatalog | No errors. |
| App\Entity\MovieScene | No errors. |
| App\Entity\MovieEpisode | No errors. |