https://cirad.dev-djaka.fr/post/les-enjeux-sur-la-terre

Query Metrics

64 Database Queries
15 Different statements
15.68 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.19 ms
(33.08%)
22
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:
[
  63
]
2.52 ms
(16.09%)
13
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:
[
  28
]
1.41 ms
(8.97%)
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.05 ms
(6.69%)
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 = 2
Parameters:
[]
1.00 ms
(6.39%)
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:
[
  18
]
0.89 ms
(5.67%)
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:
[
  "les-enjeux-sur-la-terre"
]
0.65 ms
(4.13%)
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:
[
  18
]
0.52 ms
(3.31%)
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:
[
  62
]
0.48 ms
(3.05%)
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:
[
  50
]
0.47 ms
(3.01%)
4
SELECT COUNT(*) FROM article t0 WHERE t0.category_id = ?
Parameters:
[
  1
]
0.47 ms
(2.99%)
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 = 1
Parameters:
[]
0.42 ms
(2.70%)
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.28 ms
(1.80%)
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
  114
]
0.22 ms
(1.39%)
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
  37
  48
]
0.11 ms
(0.73%)
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.