Query Metrics
15
Database Queries
11
Different statements
4.28 ms
Query time
0
Invalid entities
30
Managed entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.46 ms |
SELECT count(DISTINCT f0_.foto_id) AS sclr_0 FROM foto f0_ LEFT JOIN autor a1_ ON f0_.foto_autor = a1_.autor_id WHERE f0_.foto_kos = 0 AND f0_.foto_autor = ?
Parameters:
[
1757
]
|
||||||||||||||||||||||||||
| 2 | 0.30 ms |
SELECT DISTINCT f0_.foto_id AS foto_id_0, f0_.foto_datum AS foto_datum_1, f0_.foto_id AS foto_id_2 FROM foto f0_ LEFT JOIN autor a1_ ON f0_.foto_autor = a1_.autor_id WHERE f0_.foto_kos = 0 AND f0_.foto_autor = ? ORDER BY f0_.foto_datum DESC, f0_.foto_id DESC LIMIT 30
Parameters:
[
1757
]
|
||||||||||||||||||||||||||
| 3 | 0.30 ms |
SELECT t0.kategorie_id AS kategorie_id_1, t0.kategorie_nazev AS kategorie_nazev_2, t0.url AS url_3, t0.title AS title_4, t0.metadescription AS metadescription_5, t0.h1 AS h1_6, t0.description AS description_7 FROM kategorie t0 ORDER BY t0.kategorie_nazev ASC
Parameters:
[]
|
||||||||||||||||||||||||||
| 4 | 0.33 ms |
SELECT h.hodnoceni_foto_id AS photoId, SUM(h.hodnoceni_body) AS recentPoints FROM hodnoceni h WHERE h.hodnoceni_datum > ? AND h.hodnoceni_body IS NOT NULL AND h.hodnoceni_body > 0 GROUP BY h.hodnoceni_foto_id ORDER BY recentPoints DESC LIMIT 10
Parameters:
[
"2026-05-11 05:59:08"
]
|
||||||||||||||||||||||||||
| 5 | 0.24 ms |
SELECT h.hodnoceni_foto_id AS photoId, SUM(h.hodnoceni_body) AS recentPoints FROM hodnoceni h WHERE h.hodnoceni_datum > ? AND h.hodnoceni_body IS NOT NULL AND h.hodnoceni_body > 0 GROUP BY h.hodnoceni_foto_id ORDER BY recentPoints DESC LIMIT 10
Parameters:
[
"2026-05-08 05:59:08"
]
|
||||||||||||||||||||||||||
| 6 | 0.21 ms |
SELECT hodnoceni_autor AS userId, SUM(hodnoceni_body) AS totalGiven FROM hodnoceni WHERE hodnoceni_datum > ? AND hodnoceni_body IS NOT NULL AND hodnoceni_body > 0 GROUP BY hodnoceni_autor ORDER BY totalGiven DESC LIMIT 10
Parameters:
[
"2026-05-11 05:59:08"
]
|
||||||||||||||||||||||||||
| 7 | 0.32 ms |
SELECT hodnoceni_autor AS userId, SUM(hodnoceni_body) AS totalGiven FROM hodnoceni WHERE hodnoceni_datum > ? AND hodnoceni_body IS NOT NULL AND hodnoceni_body > 0 GROUP BY hodnoceni_autor ORDER BY totalGiven DESC LIMIT 10
Parameters:
[
"2026-05-08 05:59:08"
]
|
||||||||||||||||||||||||||
| 8 | 0.22 ms |
SELECT hodnoceni_autor AS userId, COUNT(*) AS ratingCount FROM hodnoceni WHERE hodnoceni_datum > ? AND hodnoceni_body IS NOT NULL AND hodnoceni_body > 0 GROUP BY hodnoceni_autor ORDER BY ratingCount DESC LIMIT 5
Parameters:
[
"2026-05-11 05:59:08"
]
|
||||||||||||||||||||||||||
| 9 | 0.20 ms |
SELECT hodnoceni_autor AS userId, COUNT(*) AS ratingCount FROM hodnoceni WHERE hodnoceni_datum > ? AND hodnoceni_body IS NOT NULL AND hodnoceni_body > 0 GROUP BY hodnoceni_autor ORDER BY ratingCount DESC LIMIT 5
Parameters:
[
"2026-05-08 05:59:08"
]
|
||||||||||||||||||||||||||
| 10 | 0.20 ms |
SELECT h.hodnoceni_foto_id AS photoId, SUM(h.hodnoceni_body) AS recentPoints FROM hodnoceni h WHERE h.hodnoceni_datum > ? AND h.hodnoceni_body IS NOT NULL AND h.hodnoceni_body > 0 GROUP BY h.hodnoceni_foto_id ORDER BY recentPoints DESC LIMIT 5
Parameters:
[
"2026-05-11 05:59:08"
]
|
||||||||||||||||||||||||||
| 11 | 0.20 ms |
SELECT h.hodnoceni_foto_id AS photoId, SUM(h.hodnoceni_body) AS recentPoints FROM hodnoceni h WHERE h.hodnoceni_datum > ? AND h.hodnoceni_body IS NOT NULL AND h.hodnoceni_body > 0 GROUP BY h.hodnoceni_foto_id ORDER BY recentPoints DESC LIMIT 5
Parameters:
[
"2026-05-08 05:59:08"
]
|
||||||||||||||||||||||||||
| 12 | 0.27 ms |
SELECT f0_.fotoesej_tema_id AS fotoesej_tema_id_0, f0_.fotoesej_tema_nazev AS fotoesej_tema_nazev_1, f0_.fotoesej_tema_text AS fotoesej_tema_text_2, f0_.fotoesej_tema_datum AS fotoesej_tema_datum_3, f0_.fotoesej_tema_termin AS fotoesej_tema_termin_4, f0_.fotoesej_tema_fotek AS fotoesej_tema_fotek_5, f0_.fotoesej_tema_hlasu AS fotoesej_tema_hlasu_6, f0_.fotoesej_tema_autorid AS fotoesej_tema_autorid_7 FROM fotoesej_tema f0_ WHERE f0_.fotoesej_tema_termin <= ? AND f0_.fotoesej_tema_termin > ? ORDER BY f0_.fotoesej_tema_termin DESC LIMIT 1
Parameters:
[ "2026-05-12 05:59:08" "2026-05-02 05:59:08" ]
|
||||||||||||||||||||||||||
| 13 | 0.20 ms |
SELECT f0_.fotoesej_tema_id AS fotoesej_tema_id_0, f0_.fotoesej_tema_nazev AS fotoesej_tema_nazev_1, f0_.fotoesej_tema_text AS fotoesej_tema_text_2, f0_.fotoesej_tema_datum AS fotoesej_tema_datum_3, f0_.fotoesej_tema_termin AS fotoesej_tema_termin_4, f0_.fotoesej_tema_fotek AS fotoesej_tema_fotek_5, f0_.fotoesej_tema_hlasu AS fotoesej_tema_hlasu_6, f0_.fotoesej_tema_autorid AS fotoesej_tema_autorid_7 FROM fotoesej_tema f0_ WHERE f0_.fotoesej_tema_termin > ? ORDER BY f0_.fotoesej_tema_termin ASC LIMIT 1
Parameters:
[
"2026-05-12 05:59:08"
]
|
||||||||||||||||||||||||||
| 14 | 0.22 ms |
SELECT f0_.fotoesej_tema_id AS fotoesej_tema_id_0, f0_.fotoesej_tema_nazev AS fotoesej_tema_nazev_1, f0_.fotoesej_tema_text AS fotoesej_tema_text_2, f0_.fotoesej_tema_datum AS fotoesej_tema_datum_3, f0_.fotoesej_tema_termin AS fotoesej_tema_termin_4, f0_.fotoesej_tema_fotek AS fotoesej_tema_fotek_5, f0_.fotoesej_tema_hlasu AS fotoesej_tema_hlasu_6, f0_.fotoesej_tema_autorid AS fotoesej_tema_autorid_7 FROM fotoesej_tema f0_ WHERE f0_.fotoesej_tema_termin <= ? AND f0_.fotoesej_tema_fotek > 0 ORDER BY f0_.fotoesej_tema_termin DESC LIMIT 1
Parameters:
[
"2026-05-02 05:59:08"
]
|
||||||||||||||||||||||||||
| 15 | 0.64 ms |
SELECT h.hodnoceni_id AS rating_id, h.hodnoceni_datum AS rating_date, h.hodnoceni_text AS rating_text, f.foto_id AS photo_id, f.foto_titulek AS photo_title, f.foto_soubor AS photo_path, rater.autor_id AS rater_id, rater.autor_jmeno AS rater_first, rater.autor_prijmeni AS rater_last FROM hodnoceni h JOIN foto f ON f.foto_id = h.hodnoceni_foto_id JOIN autor rater ON rater.autor_id = h.hodnoceni_autor WHERE f.foto_kos = 0 AND f.foto_autor != 3 AND h.hodnoceni_text IS NOT NULL AND CHAR_LENGTH(REGEXP_REPLACE(h.hodnoceni_text, '[[:space:]]', '')) > 2 ORDER BY h.hodnoceni_id DESC LIMIT 15
Parameters:
[]
|
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 |
|---|---|
| App\Entity\Photo\Category | 28 |
| App\Entity\Contest\Theme | 1 |
| App\Entity\User\User | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Photo\Photo | No errors. |
| App\Entity\User\User | No errors. |
| App\Entity\Photo\Category | No errors. |
| App\Entity\Contest\Theme | No errors. |