https://dev-lms.coderslab.pl/lms-api/direct-access/menu/44a33b74-9545-4f1a-ae86-eaa10de47b5f

Query Metrics

11 Database Queries
11 Different statements
1764.36 ms Query time
0 Invalid entities
0 Cache hits
1 Cache misses
2 Cache puts

Queries

Group similar statements

# Time Info
1 0.86 ms
SELECT t0.username AS username_1, t0.username_canonical AS username_canonical_2, t0.email AS email_3, t0.email_canonical AS email_canonical_4, t0.enabled AS enabled_5, t0.salt AS salt_6, t0.password AS password_7, t0.last_login AS last_login_8, t0.confirmation_token AS confirmation_token_9, t0.password_requested_at AS password_requested_at_10, t0.roles AS roles_11, t0.id AS id_12, t0.name AS name_13, t0.surname AS surname_14, t0.github AS github_15, t0.github_id AS github_id_16, t0.phone AS phone_17, t0.avatar AS avatar_18, t0.google_id AS google_id_19, t0.google_access_token AS google_access_token_20, t0.google_refresh_token AS google_refresh_token_21, t0.github_access_token AS github_access_token_22, t0.language AS language_23, t0.show_welcome_page AS show_welcome_page_24, t0.terms AS terms_25, t0.created AS created_26 FROM fos_user t0 WHERE t0.email_canonical = ? LIMIT 1
Parameters:
[
  "jacek.tchorzewski@coderslab.pl"
]
2 0.28 ms
"START TRANSACTION"
Parameters:
[]
3 1.03 ms
UPDATE fos_user SET last_login = ? WHERE id = ?
Parameters:
[
  "2025-09-09 06:50:44"
  15
]
4 0.62 ms
INSERT INTO revisions (timestamp, username) VALUES (?, ?)
Parameters:
[
  "2025-09-09 06:50:44"
  "jacek.tchorzewski@coderslab.pl"
]
5 0.73 ms
INSERT INTO fos_user_audit (rev, revtype, username, username_canonical, email, email_canonical, enabled, salt, password, last_login, confirmation_token, password_requested_at, roles, id, name, surname, github, github_id, phone, avatar, google_id, google_access_token, google_refresh_token, github_access_token, language, show_welcome_page, terms, created) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "501611"
  "UPD"
  "jacek.tchorzewski@coderslab.pl"
  "jacek.tchorzewski@coderslab.pl"
  "jacek.tchorzewski@coderslab.pl"
  "jacek.tchorzewski@coderslab.pl"
  1
  "FXlNk9hZlDvqURQHSXwK/Zr9yi8k/TcnShMHkSJ0am8"
  "$2y$13$ILpIbxVg0skdVcP4rMrqruWyzWc/KVrZLAWVdPNTlkKgCIgMj2RSW"
  "2025-09-09 06:50:44"
  null
  null
  "a:3:{i:0;s:16:"ROLE_SUPER_ADMIN";i:1;s:11:"ROLE_MENTOR";i:2;s:13:"ROLE_LECTURER";}"
  15
  "Jacek"
  "Tchórzewski"
  "JacekTchorzewski-CL"
  "152855"
  "604978251"
  ""
  null
  null
  null
  null
  "pl"
  0
  "2021-11-16 10:04:54"
  null
]
6 1136.09 ms
"COMMIT"
Parameters:
[]
7 1.12 ms
UPDATE fos_user_audit SET last_login = ? WHERE rev = ?  AND id = ?
Parameters:
[
  "2025-09-09 06:50:44"
  "501611"
  15
]
8 0.73 ms
SELECT roles FROM fos_user WHERE id = :uid
Parameters:
[
  "uid" => 15
]
9 0.79 ms
SELECT COUNT(1)
FROM user_language ul
JOIN materials_course mc ON mc.technology_id = ul.language_id
JOIN materials_course_module mcm on mc.id = mcm.course_id
JOIN materials_course_chapter mcc on mcm.id = mcc.module_id
WHERE ul.user_id = :uid AND mcc.id = :cid
Parameters:
[
  "uid" => "15"
  "cid" => "44a33b74-9545-4f1a-ae86-eaa10de47b5f"
]
10 0.38 ms
SELECT distinct c.id FROM materials_course c INNER JOIN materials_course_module m ON c.id = m.course_id INNER JOIN materials_course_chapter mc ON m.id = mc.module_id WHERE mc.id = :chapterId
Parameters:
[
  "chapterId" => "44a33b74-9545-4f1a-ae86-eaa10de47b5f"
]
11 621.72 ms
SELECT mc.id course_id,
       mc.version,
       mc.technology_id product_id,
       mc.name product_name,
       mc.repositories,
       mct.module_id,
       mct.module_nr,
       mcm.name module_name,
       mcm.description module_description,
       mct.chapter_id,
       mct.chapter_nr,
       mct.pill_nr,
       mct.material_number,
       mcc.name chapter_name,
       mcc.description chapter_description,
       mcc.type chapter_type,
       mc.pass_percentage,
       mpm.id material_id,
       mpm.type material_type,
       mpm.access material_access,
       mpm.name material_name,
       COALESCE(mccp.alias, SUBSTRING_INDEX(mp.path, '/', -1)) pill_name
FROM materials_course mc 
JOIN materials_course_tree mct on mc.id = mct.course_id
JOIN materials_course_module mcm on mct.module_id = mcm.id
JOIN materials_course_chapter mcc on mct.chapter_id = mcc.id
JOIN materials_course_chapter_pill_version mccp on mct.chapter_id = mccp.chapter_id AND mct.pill_version_id = mccp.pill_version_id
JOIN materials_pill_material mpm on mct.material_id = mpm.id
JOIN materials_pill mp on mct.pill_id = mp.id
WHERE mc.id = :id
ORDER BY mct.module_nr, mct.chapter_nr, mct.pill_nr, ISNULL(mct.material_student_sequence), mct.material_number
Parameters:
[
  "id" => "2978d777-b3a1-418c-bb37-5fdad635c76c"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

0 Hits
1 Misses
2 Puts

Number of cache misses

Region Misses
appbundle_entity_user 1

Number of cache puts

Region Puts
appbundle_entity_user 2

Entities Mapping

Class Mapping errors
AppBundle\Entity\User No errors.
AppBundle\Entity\Notification No errors.
AppBundle\Entity\InstanceUser No errors.
AppBundle\Entity\ExerciseResult No errors.
AppBundle\Entity\Language No errors.
CodersLab\Lms\Modules\Materials\Domain\Pill\Material No errors.