https://cirad.dev-djaka.fr/post/trente-ans-de-dynamiques-dans-la-vallee

Query Metrics

56 Database Queries
15 Different statements
16.28 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.92 ms
(36.34%)
18
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.timecode AS timecode_4, t0.duration AS duration_5, t0.article_id AS article_id_6, t7.id AS id_8, t7.slug AS slug_9, t7.position AS position_10, t7.meta_description AS meta_description_11, t7.status AS status_12, t7.created_at AS created_at_13, t7.updated_at AS updated_at_14, t7.video_poster_id AS video_poster_id_15, t7.category_id AS category_id_16, t7.video_id AS video_id_17 FROM video_marker t0 INNER JOIN article t7 ON t0.article_id = t7.id INNER JOIN video_markers__attachments ON t0.id = video_markers__attachments.video_marker_id WHERE video_markers__attachments.attachment_id = ?
Parameters:
[
  37
]
2.39 ms
(14.66%)
9
SELECT t0.id AS id_1, t0.title AS title_2, t0.src AS src_3, t0.description AS description_4, t0.mime AS mime_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM media t0 INNER JOIN video_markers__attachments ON t0.id = video_markers__attachments.attachment_id WHERE video_markers__attachments.video_marker_id = ?
Parameters:
[
  8
]
1.33 ms
(8.16%)
6
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.description AS description_2, c0_.slug AS slug_3, c0_.parent_id AS parent_id_4 FROM category c0_ WHERE c0_.slug = ?
Parameters:
[
  "enjeux-fonciers"
]
1.01 ms
(6.20%)
1
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.position AS position_3, t0.meta_description AS meta_description_4, t0.status AS status_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.video_poster_id AS video_poster_id_8, t0.category_id AS category_id_9, t0.video_id AS video_id_10, t11.id AS id_12, t11.title AS title_13, t11.src AS src_14, t11.description AS description_15, t11.mime AS mime_16, t11.created_at AS created_at_17, t11.updated_at AS updated_at_18 FROM article t0 LEFT JOIN media t11 ON t0.video_id = t11.id WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "trente-ans-de-dynamiques-dans-la-vallee"
]
1.01 ms
(6.19%)
3
SELECT a0_.id AS id_0, a0_.slug AS slug_1, a0_.position AS position_2, a0_.meta_description AS meta_description_3, a0_.status AS status_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.video_poster_id AS video_poster_id_7, a0_.category_id AS category_id_8, a0_.video_id AS video_id_9 FROM article a0_ WHERE a0_.status = 1 AND a0_.category_id = 1
Parameters:
[]
0.81 ms
(4.96%)
4
SELECT COUNT(*) FROM article t0 WHERE t0.category_id = ?
Parameters:
[
  1
]
0.65 ms
(3.96%)
3
SELECT t0.id AS id_1, t0.`key` AS key_2, t0.value AS value_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.media_id AS media_id_6 FROM media_meta_tag t0 WHERE t0.media_id = ?
Parameters:
[
  35
]
0.63 ms
(3.85%)
3
SELECT t0.id AS id_1, t0.title AS title_2, t0.src AS src_3, t0.description AS description_4, t0.mime AS mime_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM media t0 WHERE t0.id = ?
Parameters:
[
  36
]
0.61 ms
(3.77%)
2
SELECT a0_.id AS id_0, a0_.slug AS slug_1, a0_.position AS position_2, a0_.meta_description AS meta_description_3, a0_.status AS status_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.video_poster_id AS video_poster_id_7, a0_.category_id AS category_id_8, a0_.video_id AS video_id_9 FROM article a0_ WHERE a0_.status = 1 AND a0_.category_id = 2
Parameters:
[]
0.53 ms
(3.26%)
2
SELECT a0_.id AS id_0, a0_.slug AS slug_1, a0_.position AS position_2, a0_.meta_description AS meta_description_3, a0_.status AS status_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.video_poster_id AS video_poster_id_7, a0_.category_id AS category_id_8, a0_.video_id AS video_id_9 FROM article a0_ WHERE a0_.status = 1 AND a0_.category_id = 4
Parameters:
[]
0.39 ms
(2.38%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.timecode AS timecode_4, t0.duration AS duration_5, t0.article_id AS article_id_6, t7.id AS id_8, t7.slug AS slug_9, t7.position AS position_10, t7.meta_description AS meta_description_11, t7.status AS status_12, t7.created_at AS created_at_13, t7.updated_at AS updated_at_14, t7.video_poster_id AS video_poster_id_15, t7.category_id AS category_id_16, t7.video_id AS video_id_17 FROM video_marker t0 INNER JOIN article t7 ON t0.article_id = t7.id WHERE t0.article_id = ?
Parameters:
[
  15
]
0.31 ms
(1.90%)
1
SELECT t0.id AS id_1, t0.name AS name_2 FROM tag t0 INNER JOIN tag_article ON t0.id = tag_article.tag_id WHERE tag_article.article_id = ?
Parameters:
[
  15
]
0.27 ms
(1.68%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.src AS src_3, t0.description AS description_4, t0.mime AS mime_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM media t0 WHERE t0.id IN (?, ?, ?)
Parameters:
[
  50
  63
  114
]
0.26 ms
(1.61%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.src AS src_3, t0.description AS description_4, t0.mime AS mime_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM media t0 WHERE t0.id IN (?, ?)
Parameters:
[
  35
  48
]
0.17 ms
(1.07%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.slug AS slug_4, t0.parent_id AS parent_id_5 FROM category t0
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.

Entities Mapping

Class Mapping errors
App\Entity\Article No errors.
App\Entity\Media
  • The field App\Entity\Media#markers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\VideoMarker#attachments does not contain the required 'inversedBy="markers"' attribute.
  • The field App\Entity\Media#articles is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Article#video does not contain the required 'inversedBy="articles"' attribute.
App\Entity\Category No errors.
App\Entity\Comment No errors.
App\Entity\VideoMarker No errors.
App\Entity\Tag No errors.
App\Entity\MediaMetaTag No errors.