GET https://admin-symfony-review.kube-dev.ugol.click/item?page=1&sort%5Bprops%5D=ASC

Query Metrics

21 Database Queries
4 Different statements
17.83 ms Query time
1 Invalid entities
34 Managed entities

Grouped Statements

Show all queries

Time Count Info
8.24 ms
(46.22%)
18
SELECT t0.prop_id AS prop_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.name AS name_4, t0.key AS key_5, t0.prop_type_id AS prop_type_id_6 FROM statement_props t0 INNER JOIN statement_items_props ON t0.prop_id = statement_items_props.prop_id WHERE statement_items_props.item_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  11
]
6.05 ms
(33.95%)
1
SELECT DISTINCT s0_.item_id AS item_id_0, (SELECT COUNT(s1_.item_id) AS sclr_2 FROM statement_items s1_ INNER JOIN statement_items_props s3_ ON s1_.item_id = s3_.item_id INNER JOIN statement_props s2_ ON s2_.prop_id = s3_.prop_id AND (s2_.deleted_at IS NULL) WHERE (s1_.item_id = s0_.item_id) AND (s1_.deleted_at IS NULL)) AS sclr_1, s0_.item_id AS item_id_3 FROM statement_items s0_ LEFT JOIN statement_items_props s5_ ON s0_.item_id = s5_.item_id LEFT JOIN statement_props s4_ ON s4_.prop_id = s5_.prop_id AND (s4_.deleted_at IS NULL) WHERE (s0_.deleted_at IS NULL) ORDER BY sclr_1 ASC, s0_.item_id ASC LIMIT 20
Parameters:
[]
2.78 ms
(15.61%)
1
SELECT s0_.item_id AS item_id_0, s0_.created_at AS created_at_1, s0_.deleted_at AS deleted_at_2, s0_.name AS name_3, s0_.key AS key_4, (SELECT COUNT(s1_.item_id) AS sclr_6 FROM statement_items s1_ INNER JOIN statement_items_props s3_ ON s1_.item_id = s3_.item_id INNER JOIN statement_props s2_ ON s2_.prop_id = s3_.prop_id AND (s2_.deleted_at IS NULL) WHERE (s1_.item_id = s0_.item_id) AND (s1_.deleted_at IS NULL)) AS sclr_5 FROM statement_items s0_ LEFT JOIN statement_items_props s5_ ON s0_.item_id = s5_.item_id LEFT JOIN statement_props s4_ ON s4_.prop_id = s5_.prop_id AND (s4_.deleted_at IS NULL) WHERE (s0_.item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (s0_.deleted_at IS NULL) ORDER BY sclr_5 ASC, s0_.item_id ASC
Parameters:
[
  11
  17
  1
  13
  14
  15
  3
  4
  6
  7
  8
  9
  12
  16
  2
  5
  10
  18
]
0.75 ms
(4.22%)
1
SELECT count(DISTINCT s0_.item_id) AS sclr_0 FROM statement_items s0_ LEFT JOIN statement_items_props s2_ ON s0_.item_id = s2_.item_id LEFT JOIN statement_props s1_ ON s1_.prop_id = s2_.prop_id AND (s1_.deleted_at IS NULL) WHERE (s0_.deleted_at IS NULL)
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
Statement\Entity\Item 18
Statement\Entity\Prop 15
Statement\Entity\PropType 1

Entities Mapping

Class Mapping errors
Statement\Entity\Item No errors.
Statement\Entity\Prop No errors.
Statement\Entity\ItemParameter
  • The mappings Statement\Entity\ItemParameter#parameter and Statement\Entity\Parameter#items are inconsistent with each other.
  • The association Statement\Entity\ItemParameter#values refers to the owning side field Statement\Entity\ItemParameterValue#itemParametr which does not exist.
Statement\Entity\PropType No errors.