GET https://preprod-website.kaza-senza.com/ressources

Query Metrics

10 Database Queries
7 Different statements
1.62 ms Query time
2 Invalid entities
12 Managed entities

Queries

Group similar statements

# Time Info
1 0.33 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.enable AS enable_4, t0.updated_at AS updated_at_5, t0.seo_title AS seo_title_6, t0.seo_description AS seo_description_7, t0.seo_canonical AS seo_canonical_8, t0.seo_indexed AS seo_indexed_9 FROM cms_page t0 WHERE t0.enable = ?
Parameters:
[
  1
]
2 0.24 ms
SELECT tc.id, tc.name
    FROM training_category tc
    INNER JOIN resource r ON r.category_id = tc.id
    WHERE r.status = 'published'
    GROUP BY tc.id
    ORDER BY tc.name ASC
Parameters:
[]
3 0.19 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT r0_.id AS id_0, r0_.title AS title_1, r0_.slug AS slug_2, r0_.language AS language_3, r0_.price AS price_4, r0_.summary AS summary_5, r0_.description AS description_6, r0_.pdf_name AS pdf_name_7, r0_.pdf_size AS pdf_size_8, r0_.updated_at AS updated_at_9, r0_.created_at AS created_at_10, r0_.status AS status_11 FROM resource r0_ WHERE r0_.status = ? ORDER BY r0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[
  "published"
]
4 0.21 ms
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, created_at_10 FROM (SELECT r0_.id AS id_0, r0_.title AS title_1, r0_.slug AS slug_2, r0_.language AS language_3, r0_.price AS price_4, r0_.summary AS summary_5, r0_.description AS description_6, r0_.pdf_name AS pdf_name_7, r0_.pdf_size AS pdf_size_8, r0_.updated_at AS updated_at_9, r0_.created_at AS created_at_10, r0_.status AS status_11 FROM resource r0_ WHERE r0_.status = ?) dctrn_result_inner ORDER BY created_at_10 DESC) dctrn_result LIMIT 9
Parameters:
[
  "published"
]
5 0.15 ms
SELECT r0_.id AS id_0, r0_.title AS title_1, r0_.slug AS slug_2, r0_.language AS language_3, r0_.price AS price_4, r0_.summary AS summary_5, r0_.description AS description_6, r0_.pdf_name AS pdf_name_7, r0_.pdf_size AS pdf_size_8, r0_.updated_at AS updated_at_9, r0_.created_at AS created_at_10, r0_.status AS status_11, r0_.category_id AS category_id_12 FROM resource r0_ WHERE r0_.status = ? AND r0_.id IN (?, ?, ?, ?) ORDER BY r0_.created_at DESC
Parameters:
[
  "published"
  5
  4
  3
  2
]
6 0.17 ms
SELECT t0.id AS id_1, t0.image_name AS image_name_2, t0.image_size AS image_size_3, t0.updated_at AS updated_at_4, t0.resource_id AS resource_id_5 FROM resource_picture t0 WHERE t0.resource_id = ?
Parameters:
[
  5
]
7 0.07 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.image_name AS image_name_3, t0.updated_at AS updated_at_4, t0.total_trainings AS total_trainings_5 FROM training_category t0 WHERE t0.id = ?
Parameters:
[
  1
]
8 0.09 ms
SELECT t0.id AS id_1, t0.image_name AS image_name_2, t0.image_size AS image_size_3, t0.updated_at AS updated_at_4, t0.resource_id AS resource_id_5 FROM resource_picture t0 WHERE t0.resource_id = ?
Parameters:
[
  4
]
9 0.10 ms
SELECT t0.id AS id_1, t0.image_name AS image_name_2, t0.image_size AS image_size_3, t0.updated_at AS updated_at_4, t0.resource_id AS resource_id_5 FROM resource_picture t0 WHERE t0.resource_id = ?
Parameters:
[
  3
]
10 0.08 ms
SELECT t0.id AS id_1, t0.image_name AS image_name_2, t0.image_size AS image_size_3, t0.updated_at AS updated_at_4, t0.resource_id AS resource_id_5 FROM resource_picture t0 WHERE t0.resource_id = ?
Parameters:
[
  2
]

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\ResourcePicture 5
App\Entity\Resource 4
App\Entity\TrainingCategory 3

Entities Mapping

Class Mapping errors
App\Entity\Cms\CmsPage No errors.
App\Entity\Resource No errors.
App\Entity\TrainingCategory No errors.
App\Entity\Training
  • The association App\Entity\Training#createdBy refers to the inverse side field App\Entity\User#trainings which does not exist.
App\Entity\TrainingElearning
  • The association App\Entity\TrainingElearning#createdBy refers to the inverse side field App\Entity\User#trainings which does not exist.
App\Entity\ResourcePicture No errors.