GET https://api-theatre.rassamahin.ru/api/pinned-news?itemsPerPage=2&page=1

Query Metrics

10 Database Queries
5 Different statements
17.17 ms Query time
0 Invalid entities
10 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
5.49 ms
(31.98%)
1
SELECT n0_.id AS id_0, n0_.title AS title_1, n0_.data AS data_2, n0_.created_at AS created_at_3, n0_.published_at AS published_at_4, n0_.pinned AS pinned_5, n0_.status AS status_6, n0_.source AS source_7, n0_.vk_owner_id AS vk_owner_id_8, n0_.vk_post_id AS vk_post_id_9, n0_.vk_post_url AS vk_post_url_10, n0_.vk_auto_sync_enabled AS vk_auto_sync_enabled_11, n0_.vk_last_synced_at AS vk_last_synced_at_12, n0_.vk_unavailable_at AS vk_unavailable_at_13, CASE WHEN n0_.published_at IS NULL THEN 1 ELSE 0 END AS sclr_14, n0_.image_id AS image_id_15 FROM news n0_ WHERE n0_.pinned = true AND n0_.status = ? ORDER BY sclr_14 ASC, n0_.published_at DESC, n0_.created_at DESC, n0_.id DESC LIMIT 2
Parameters:
[
  "PUBLISHED"
]
4.14 ms
(24.13%)
4
SELECT t0.id AS id_1, t0.url AS url_2, t0.filename AS filename_3, t0.s3_filename AS s3_filename_4, t0.extension AS extension_5, t0.size AS size_6, t0.created_at AS created_at_7 FROM file t0 WHERE t0.id = ?
Parameters:
[
  "c563eeb9-f21c-45d3-b915-30982849ea38"
]
3.69 ms
(21.47%)
2
SELECT t0_.id AS id_0, t0_.title AS title_1, t0_.color AS color_2, t0_.url AS url_3, t0_.created_at AS created_at_4 FROM tag t0_ INNER JOIN tag_assignment t1_ ON (t1_.tag_id = t0_.id) WHERE t1_.target_type = ? AND t1_.target_id = ? ORDER BY t0_.title ASC
Parameters:
[
  "news"
  Symfony\Component\Uid\UuidV4 {#1257
    __toString(): "d2ccc8b3-d8d1-4be7-ad56-494890097f7c"
  }
]
2.39 ms
(13.94%)
2
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.news_id AS news_id_3, t0.file_id AS file_id_4 FROM news_slider_photo t0 WHERE t0.news_id = ? ORDER BY t0.created_at ASC
Parameters:
[
  "d2ccc8b3-d8d1-4be7-ad56-494890097f7c"
]
1.46 ms
(8.49%)
1
SELECT COUNT(DISTINCT n0_.id) AS sclr_0 FROM news n0_ WHERE n0_.pinned = true AND n0_.status = ?
Parameters:
[
  "PUBLISHED"
]

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\File\Domain\Model\File 4
App\News\Domain\Model\News 2
App\News\Domain\Model\NewsSliderPhoto 2
App\Tag\Domain\Model\Tag 2

Entities Mapping