Query Metrics
13
Database Queries
4
Different statements
7.35 ms
Query time
0
Invalid entities
62
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.55 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.public AS public_3, t0.updated AS updated_4, t0.sortBy AS sortBy_5 FROM source t0 WHERE t0.id = ? ORDER BY t0.sortBy ASC LIMIT 1
Parameters:
[
"7"
]
|
| 2 | 1.28 ms |
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.public AS public_2, s0_.updated AS updated_3, s0_.source_id AS source_id_4 FROM subject s0_ INNER JOIN source s1_ ON s0_.source_id = s1_.id INNER JOIN topic t2_ ON s0_.id = t2_.subject_id LEFT JOIN subject_user s4_ ON s0_.id = s4_.subject_id LEFT JOIN fos_user f3_ ON f3_.id = s4_.user_id WHERE s1_.id = ? AND (s0_.public = 1 OR (s0_.public = 0 AND f3_.id = ?))
Parameters:
[ "7" null ] |
| 3 | 0.49 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.updated AS updated_3, t0.subject_id AS subject_id_4 FROM topic t0 WHERE t0.subject_id = ?
Parameters:
[
32
]
|
| 4 | 1.02 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
164
]
|
| 5 | 0.55 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
165
]
|
| 6 | 0.58 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
166
]
|
| 7 | 0.46 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
167
]
|
| 8 | 0.49 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
168
]
|
| 9 | 0.41 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
169
]
|
| 10 | 0.37 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
170
]
|
| 11 | 0.35 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
171
]
|
| 12 | 0.40 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
172
]
|
| 13 | 0.39 ms |
SELECT t0.id AS id_1, t0.label AS label_2, t0.canonical AS canonical_3, t0.chapter AS chapter_4, t0.refImg AS refImg_5, t0.explaination AS explaination_6, t0.updated AS updated_7, t0.topic_id AS topic_id_8, t9.care AS care_10, t9.question_id AS question_id_11, t9.user_id AS user_id_12, t13.good AS good_14, t13.wrong AS wrong_15, t13.total AS total_16, t13.question_id AS question_id_17, t13.user_id AS user_id_18 FROM question t0 LEFT JOIN focus t9 ON t9.question_id = t0.id LEFT JOIN follow t13 ON t13.question_id = t0.id WHERE t0.topic_id = ?
Parameters:
[
173
]
|
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\Question | 50 |
| App\Entity\Topic | 10 |
| App\Entity\Source | 1 |
| App\Entity\Subject | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Source | No errors. |
| App\Entity\Subject | No errors. |
| App\Entity\Topic | No errors. |
| App\Entity\User | No errors. |
| App\Entity\Question | No errors. |
| App\Entity\Focus | No errors. |
| App\Entity\Follow | No errors. |
| App\Entity\Answer | No errors. |
| App\Entity\Tag | No errors. |