GET http://bottaerisposta.dev.unito.it/app/questions/paginate/1/all/4

Query Metrics

9 Database Queries
8 Different statements
221.57 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 20.32 ms
ALTER SESSION SET NLS_TIME_FORMAT = 'HH24:MI:SS' NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS' NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH24:MI:SS' NLS_TIMESTAMP_TZ_FORMAT = 'YYYY-MM-DD HH24:MI:SS TZH:TZM' NLS_NUMERIC_CHARACTERS = '.,'
Parameters:
[]
2 20.27 ms
SELECT u0_.id AS ID_0, u0_.username AS USERNAME_1, u0_.userscu AS USERSCU_2, u0_.created_at AS CREATED_AT_3, u0_.updated_at AS UPDATED_AT_4, u0_.deleted AS DELETED_5, u0_.role_id AS ROLE_ID_6 FROM users u0_ WHERE u0_.userscu = ?
Parameters:
[
  "hjosedes"
]
3 19.59 ms
SELECT t0.id AS ID_1, t0.name AS NAME_2, t0.created_at AS CREATED_AT_3 FROM roles t0 WHERE t0.id = ?
Parameters:
[
  2
]
4 24.90 ms
SELECT c0_.id AS ID_0, c0_.name AS NAME_1, c0_.description AS DESCRIPTION_2, c0_.created_at AS CREATED_AT_3, c0_.updated_at AS UPDATED_AT_4, c0_.visible AS VISIBLE_5, c0_.order_categories AS ORDER_CATEGORIES_6, c0_.parent_categorie_id AS PARENT_CATEGORIE_ID_7 FROM categories c0_ WHERE c0_.visible = ? AND c0_.parent_categorie_id = ? ORDER BY c0_.id ASC
Parameters:
[
  1
  4
]
5 21.62 ms
SELECT c0_.id AS ID_0 FROM categories c0_ WHERE c0_.parent_categorie_id = ?
Parameters:
[
  4
]
6 19.57 ms
SELECT c0_.id AS ID_0 FROM categories c0_ WHERE c0_.parent_categorie_id = ?
Parameters:
[
  6
]
7 50.03 ms
SELECT a.* FROM (SELECT q0_.id AS ID_0, q0_.title AS TITLE_1, q0_.description AS DESCRIPTION_2, q0_.created_at AS CREATED_AT_3, a1_.id AS ID_4, a1_.description AS DESCRIPTION_5, a1_.created_at AS CREATED_AT_6, u2_.id AS ID_7, u2_.username AS USERNAME_8, u2_.userscu AS USERSCU_9, u2_.created_at AS CREATED_AT_10, u2_.updated_at AS UPDATED_AT_11, u2_.deleted AS DELETED_12, q0_.category_id AS CATEGORY_ID_13, q0_.creator_id AS CREATOR_ID_14, a1_.question_id AS QUESTION_ID_15, a1_.parent_answer_id AS PARENT_ANSWER_ID_16, a1_.creator_id AS CREATOR_ID_17, u2_.role_id AS ROLE_ID_18 FROM questions q0_ LEFT JOIN answers a1_ ON q0_.id = a1_.question_id LEFT JOIN users u2_ ON q0_.creator_id = u2_.id WHERE q0_.category_id IN (?, ?) ORDER BY q0_.id ASC) a WHERE ROWNUM <= 20
Parameters:
[
  4
  6
]
8 23.20 ms
SELECT COUNT(q0_.id) AS SCLR_0 FROM questions q0_ LEFT JOIN answers a1_ ON q0_.id = a1_.question_id WHERE q0_.category_id IN (?, ?)
Parameters:
[
  4
  6
]
9 22.05 ms
SELECT t0.id AS ID_1, t0.name AS NAME_2, t0.description AS DESCRIPTION_3, t0.created_at AS CREATED_AT_4, t0.updated_at AS UPDATED_AT_5, t0.visible AS VISIBLE_6, t0.order_categories AS ORDER_CATEGORIES_7, t0.parent_categorie_id AS PARENT_CATEGORIE_ID_8 FROM categories t0 WHERE t0.id = ?
Parameters:
[
  4
]

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\Users No errors.
App\Entity\Roles No errors.
App\Entity\Questions No errors.
App\Entity\Answers No errors.
App\Entity\Categories No errors.