Query Metrics
5
Database Queries
5
Different statements
4.70 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.73 ms (36.75%) |
1 |
SELECT c.idCourse, c.title, c.is_active, c.on_sale, c.image, c.city_default, c.country_default, cs.id_course, cs.course_date as courseDate, cs.price, cs.location FROM course c JOIN course_session cs ON c.idCourse = cs.id_course JOIN category ca ON c.categorie_id = ca.idCategory WHERE cs.course_date >= NOW() AND c.is_active = 1 AND ca.name = 'intra' AND cs.enabled = 1 ORDER BY cs.course_date ASC
Parameters:
[] |
|
1.14 ms (24.30%) |
1 |
SELECT w0_.title AS title_0, w0_.webspace_key AS webspace_key_1, w0_.all_domains AS all_domains_2, w0_.content AS content_3, w0_.type AS type_4, w0_.id AS id_5, w1_.url AS url_6, w1_.environment AS environment_7, w1_.id AS id_8 FROM we_analytics w0_ LEFT JOIN we_analytics_domains w2_ ON w0_.id = w2_.analytics LEFT JOIN we_domains w1_ ON w1_.id = w2_.domain WHERE (w0_.all_domains = 1 OR (w1_.url = ? AND w1_.environment = ?)) AND w0_.webspace_key = ? ORDER BY w0_.id ASC, w1_.id ASC
Parameters:
[ "acoa.fr" "dev" "acoa" ] |
|
0.81 ms (17.17%) |
1 |
SELECT DISTINCT(cs.location) as `location` FROM course c JOIN course_session cs ON c.idCourse = cs.id_course LEFT JOIN category ca ON c.categorie_id = ca.idCategory WHERE cs.course_date >= NOW() AND ca.name LIKE 'intra' AND c.is_active = 1 and cs.is_active = 1 ORDER BY cs.location ASC
Parameters:
[] |
|
0.57 ms (12.10%) |
1 |
SELECT DISTINCT(cs.duration) as duration FROM course c LEfT JOIN course_session cs ON c.idCourse = cs.id_course LEFT JOIN category ca ON c.categorie_id = ca.idCategory WHERE cs.course_date >= NOW() AND ca.name LIKE 'intra' AND c.is_active = 1 and cs.is_active = 1 ORDER BY cs.duration ASC
Parameters:
[] |
|
0.45 ms (9.69%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM competence t0 ORDER BY t0.id ASC
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 |
|---|---|
| Sulu\Bundle\TrashBundle\Domain\Model\TrashItem | No errors. |
| Sulu\Bundle\MediaBundle\Entity\Collection | No errors. |
| Sulu\Bundle\ContactBundle\Entity\ContactTitle | No errors. |
| Sulu\Bundle\SecurityBundle\Entity\Group | No errors. |
| App\Entity\Competence | No errors. |
| App\Entity\Course | No errors. |
| Sulu\Bundle\WebsiteBundle\Entity\Analytics | No errors. |
| Sulu\Bundle\WebsiteBundle\Entity\Domain | No errors. |