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

Query Metrics

20 Database Queries
4 Different statements
15.43 ms Query time
1 Invalid entities
32 Managed entities

Queries

Group similar statements

# Time Info
1 5.63 ms
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 DESC, s0_.item_id DESC LIMIT 20
Parameters:
[]
2 1.98 ms
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 DESC, s0_.item_id DESC
Parameters:
[
  10
  5
  2
  16
  9
  8
  7
  6
  4
  3
  15
  14
  13
  1
  17
  12
  11
]
3 0.42 ms
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:
[]
4 0.35 ms
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:
[
  10
]
5 0.29 ms
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:
[
  5
]
6 0.36 ms
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:
[
  2
]
7 0.36 ms
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:
[
  16
]
8 0.35 ms
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:
[
  9
]
9 0.35 ms
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:
[
  8
]
10 0.46 ms
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:
[
  7
]
11 0.49 ms
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:
[
  6
]
12 0.52 ms
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:
[
  4
]
13 0.48 ms
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:
[
  3
]
14 0.48 ms
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:
[
  15
]
15 0.47 ms
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:
[
  14
]
16 0.52 ms
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:
[
  13
]
17 0.51 ms
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:
[
  1
]
18 0.45 ms
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:
[
  17
]
19 0.47 ms
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:
[
  12
]
20 0.47 ms
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
]

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 17
Statement\Entity\Prop 14
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.