GET https://forum.trainizer.fr/db.env/topic/6

Query Metrics

15 Database Queries
11 Different statements
14.94 ms Query time
0 Invalid entities
12 Managed entities
16 Cache hits
0 Cache misses
0 Cache puts

Grouped Statements

Show all queries

Time▼ Count Info
3.61 ms
(24.17%)
4
SELECT t0.id AS id_1, t0.origin AS origin_2, t0.message AS message_3, t0.link AS link_4, t0.date AS date_5, t0.category AS category_6, t0.organization_id AS organization_id_7, t0.user_id AS user_id_8 FROM notification t0 WHERE t0.category = ? AND t0.user_id IS NULL AND ((t0.organization_id = 1)) ORDER BY t0.date DESC
Parameters:
[
  "homework_to_do"
]
1.97 ms
(13.20%)
2
SELECT t0.id AS id_1, t0.origin AS origin_2, t0.message AS message_3, t0.link AS link_4, t0.date AS date_5, t0.category AS category_6, t0.organization_id AS organization_id_7, t0.user_id AS user_id_8 FROM notification t0 WHERE t0.category IN (?, ?, ?) AND t0.user_id IS NULL AND ((t0.organization_id = 1)) ORDER BY t0.date DESC
Parameters:
[
  "internship_approval"
  "internship_to_seal"
  "internship_rejected"
]
1.42 ms
(9.48%)
1
SELECT t0.id AS id_5, t0.username AS username_6, t0.last_name AS last_name_7, t0.first_name AS first_name_8, t0.roles AS roles_9, t0.password AS password_10, t0.email AS email_11, t0.activated AS activated_12, t0.calendar_feed_secret AS calendar_feed_secret_13, t0.password_changed_at AS password_changed_at_14, t0.tmp_code AS tmp_code_15, t0.tmp_code_date AS tmp_code_date_16, t0.signature AS signature_17, t0.uuid AS uuid_18, t0.phone_number AS phone_number_19, t0.organization_id AS organization_id_20, t0.avatar_id AS avatar_id_21, t0.dtype, t1.password_save AS password_save_22, t1.documents AS documents_23, t1.diploma AS diploma_24, t1.tutorial_completed AS tutorial_completed_25, t1.financial_aid AS financial_aid_26, t1.cohort_id AS cohort_id_27, t2.role AS role_28, t2.entrance_code AS entrance_code_29, t2.entrance_code_date AS entrance_code_date_30, t2.responsible_id AS responsible_id_31, t3.role AS role_32, t3.entrance_code AS entrance_code_33, t3.entrance_code_date AS entrance_code_date_34, t3.sector_id AS sector_id_35, t4.role AS role_36, t4.entrance_code AS entrance_code_37, t4.entrance_code_date AS entrance_code_date_38, t4.coordinator_id AS coordinator_id_39 FROM user t0 LEFT JOIN trainee t1 ON t0.id = t1.id LEFT JOIN coordinator t2 ON t0.id = t2.id LEFT JOIN responsible t3 ON t0.id = t3.id LEFT JOIN trainer t4 ON t0.id = t4.id WHERE t0.id = ? AND ((t0.organization_id = 1))
Parameters:
[
  1
]
1.24 ms
(8.30%)
1
SELECT module FROM organization_module WHERE organization_id = ?
Parameters:
[
  1
]
1.07 ms
(7.14%)
1
SELECT t0.id AS id_1, t0.category AS category_2, t0.registry_number AS registry_number_3, t0.job AS job_4, t0.qualification AS qualification_5, t0.contract_label AS contract_label_6, t0.nationality AS nationality_7, t0.birth_date AS birth_date_8, t0.sex AS sex_9, t0.hired_at AS hired_at_10, t0.left_at AS left_at_11, t0.notes AS notes_12, t0.created_at AS created_at_13, t0.organization_id AS organization_id_14, t0.user_id AS user_id_15 FROM collaborator t0 WHERE t0.user_id = ? AND ((t0.organization_id = 1))
Parameters:
[
  1
]
1.01 ms
(6.76%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.is_pinned AS is_pinned_5, t0.is_solved AS is_solved_6, t0.tags AS tags_7, t0.organization_id AS organization_id_8, t0.category_id AS category_id_9, t0.author_id AS author_id_10 FROM forum_topic t0 WHERE t0.id = ? AND ((t0.organization_id = 1))
Parameters:
[
  "6"
]
1.00 ms
(6.68%)
1
SELECT t0.id AS id_1, t0.content AS content_2, t0.created_at AS created_at_3, t0.is_solution AS is_solution_4, t0.organization_id AS organization_id_5, t0.topic_id AS topic_id_6, t0.author_id AS author_id_7 FROM forum_post t0 WHERE t0.topic_id = ? AND ((t0.organization_id = 1))
Parameters:
[
  6
]
0.97 ms
(6.50%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.organization_id AS organization_id_4 FROM forum_category t0 WHERE t0.id = ? AND ((t0.organization_id = 1))
Parameters:
[
  1
]
0.93 ms
(6.26%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.path AS path_3 FROM theme t0 WHERE t0.id = ?
Parameters:
[
  4
]
0.88 ms
(5.92%)
1
SELECT t0.id AS id_1, t0.origin AS origin_2, t0.message AS message_3, t0.link AS link_4, t0.date AS date_5, t0.category AS category_6, t0.organization_id AS organization_id_7, t0.user_id AS user_id_8 FROM notification t0 WHERE t0.category IN (?, ?, ?, ?) AND t0.user_id IS NULL AND ((t0.organization_id = 1)) ORDER BY t0.date DESC
Parameters:
[
  "interview_due"
  "interview_overdue"
  "interview_done"
  "interview_ack"
]
0.84 ms
(5.60%)
1
SELECT id FROM organization WHERE domain = ?
Parameters:
[
  "forum.trainizer.fr"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

16 Hits
0 Misses
0 Puts

Number of cache hits

Region Hits
non_strict 12
read_only 4

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\FeedbackCategory 3
App\Entity\User 2
App\Entity\SiteSettings 1
App\Entity\Theme 1
App\Entity\ForumTopic 1
App\Entity\ForumCategory 1
App\Entity\Avatar 1
App\Entity\Collaborator 1
App\Entity\ForumPost 1

Entities Mapping