GET https://api.simulatorestrategico.com/dataset-version/36/question-schema

Query Metrics

16 Database Queries
6 Different statements
3.67 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.36 ms
SELECT t0.id AS id_1, t0.pdf AS pdf_2, t0.status AS status_3, t0.name AS name_4, t0.exam_duration AS exam_duration_5, t0.exam_question_number AS exam_question_number_6, t0.exam_answer_number AS exam_answer_number_7, t0.score_error AS score_error_8, t0.score_blank AS score_blank_9, t0.score_correct AS score_correct_10, t0.score_type AS score_type_11, t0.score_threshold AS score_threshold_12, t0.created_at AS created_at_13, t0.dataset_id AS dataset_id_14 FROM dataset_version t0 WHERE t0.id = ?
Parameters:
[
  "36"
]
2 0.35 ms
SELECT d0_.id AS id_0, d0_.number AS number_1, d0_.dataset_version_id AS dataset_version_id_2, d0_.subject_id AS subject_id_3 FROM dataset_version_has_subject d0_ INNER JOIN subject s1_ ON d0_.subject_id = s1_.id WHERE d0_.dataset_version_id = ?
Parameters:
[
  36
]
3 0.24 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  8
]
4 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  949
]
5 0.20 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  950
]
6 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  6
]
7 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  1
]
8 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  952
]
9 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  18
]
10 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  5
]
11 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  948
]
12 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  13
]
13 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM subject t0 WHERE t0.id = ?
Parameters:
[
  1104
]
14 0.22 ms
SELECT SUM(d0_.number) AS sclr_0 FROM dataset_version_has_subject d0_ WHERE d0_.dataset_version_id = ?
Parameters:
[
  36
]
15 0.24 ms
SELECT d0_.id AS id_0, d0_.number AS number_1, s1_.id AS id_2, s1_.name AS name_3, d0_.dataset_version_id AS dataset_version_id_4, d0_.subject_id AS subject_id_5 FROM dataset_version_has_subject d0_ LEFT JOIN subject s1_ ON d0_.subject_id = s1_.id WHERE d0_.id = ? ORDER BY d0_.id ASC LIMIT 20
Parameters:
[
  36
]
16 0.22 ms
SELECT COUNT(DISTINCT d0_.id) AS sclr_0 FROM dataset_version_has_subject d0_ LEFT JOIN subject s1_ ON d0_.subject_id = s1_.id WHERE d0_.id = ?
Parameters:
[
  36
]

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.