Query Metrics
7
Database Queries
7
Different statements
133.61 ms
Query time
0
Invalid entities
0
Managed entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1.25 ms |
SELECT id, name as name, dbs_id as dbs_id FROM libraries WHERE dbs_id = ? AND active = 1
Parameters:
[
"MV3015"
]
|
||||||||||||||||||||
| 2 | 0.66 ms |
SELECT id, name, slug, active, auth_method FROM offers WHERE id = ? AND active = 1
Parameters:
[
22
]
|
||||||||||||||||||||
| 3 | 0.77 ms |
SELECT COUNT(*) FROM license_pools lp JOIN license_pool_allocations lpa ON lp.id = lpa.pool_id WHERE lp.offer_id = ? AND lpa.library_id = ? AND lpa.allocation_value > 0
Parameters:
[ 22 382 ]
|
||||||||||||||||||||
| 4 | 0.44 ms |
SELECT setting_value FROM system_settings WHERE setting_key = ?
Parameters:
[
"genios.offer_id"
]
|
||||||||||||||||||||
| 5 | 0.71 ms |
SELECT DISTINCT lp.id FROM license_pools lp LEFT JOIN library_pool_assignments lpa ON lp.id = lpa.pool_id WHERE lp.offer_id = ? AND lp.active = 1 AND ( lpa.pool_id IS NULL -- Pool hat keine Bibliothek-Beschränkungen OR lpa.library_id = ? -- Bibliothek ist explizit zugeordnet )
Parameters:
[ 22 382 ]
|
||||||||||||||||||||
| 6 | 119.51 ms |
SELECT DISTINCT l.id, l.title, l.description, l.image_url, l.external_id, l.url, l.fach, l.area, l.topic, l.klassenstufen, l.dauer, l.medium, l.created_at, l.valid_from FROM lessons l LEFT JOIN lesson_pool_assignments lpas ON l.id = lpas.lesson_id WHERE l.offer_id = ? AND l.active = 1 AND ( lpas.lesson_id IS NULL -- Lesson hat keine Pool-Beschränkungen (gilt für alle Pools) OR lpas.pool_id IN (?)) ORDER BY l.created_at DESC, l.title LIMIT 20 OFFSET 0
Parameters:
[ 22 14 ]
|
||||||||||||||||||||
| 7 | 10.28 ms |
SELECT COUNT(DISTINCT l.id) FROM lessons l LEFT JOIN lesson_pool_assignments lpas ON l.id = lpas.lesson_id WHERE l.offer_id = ? AND l.active = 1 AND ( lpas.lesson_id IS NULL OR lpas.pool_id IN (?))
Parameters:
[ 22 14 ]
|
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 |
|---|
Entities Mapping
No loaded entities.