GET https://admin-symfony-review.kube-dev.ugol.click/parameter?page=1&sort%5BitemProps%5D=DESC

Query Metrics

33 Database Queries
7 Different statements
28.62 ms Query time
3 Invalid entities
46 Managed entities

Grouped Statements

Show all queries

Time Count Info
13.00 ms
(45.41%)
20
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_parameters_items_props ON t0.prop_id = statement_parameters_items_props.prop_id WHERE statement_parameters_items_props.parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  32
]
7.35 ms
(25.69%)
1
SELECT DISTINCT s0_.parameter_id AS parameter_id_0, (SELECT COUNT(s1_.parameter_id) AS sclr_2 FROM statement_parameters s1_ INNER JOIN statement_parameters_items_props s3_ ON s1_.parameter_id = s3_.parameter_id INNER JOIN statement_props s2_ ON s2_.prop_id = s3_.prop_id AND (s2_.deleted_at IS NULL) WHERE (s1_.parameter_id = s0_.parameter_id) AND (s1_.deleted_at IS NULL)) AS sclr_1, s0_.parameter_id AS parameter_id_3 FROM statement_parameters s0_ LEFT JOIN statement_parameters_items_props s5_ ON s0_.parameter_id = s5_.parameter_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_.parameter_id DESC LIMIT 20
Parameters:
[]
2.51 ms
(8.76%)
5
SELECT t0.formula_id AS formula_id_1, t0.class AS class_2, t0.created_at AS created_at_3, t0.deleted_at AS deleted_at_4, t0.name AS name_5 FROM statement_formulas t0 WHERE t0.formula_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  2
]
2.18 ms
(7.63%)
1
SELECT s0_.parameter_id AS parameter_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_.parameter_id) AS sclr_6 FROM statement_parameters s1_ INNER JOIN statement_parameters_items_props s3_ ON s1_.parameter_id = s3_.parameter_id INNER JOIN statement_props s2_ ON s2_.prop_id = s3_.prop_id AND (s2_.deleted_at IS NULL) WHERE (s1_.parameter_id = s0_.parameter_id) AND (s1_.deleted_at IS NULL)) AS sclr_5, s0_.parameter_type_id AS parameter_type_id_7, s0_.unit_id AS unit_id_8, s0_.formula_id AS formula_id_9, s0_.calculate_parameter_id AS calculate_parameter_id_10 FROM statement_parameters s0_ LEFT JOIN statement_parameters_items_props s5_ ON s0_.parameter_id = s5_.parameter_id LEFT JOIN statement_props s4_ ON s4_.prop_id = s5_.prop_id AND (s4_.deleted_at IS NULL) WHERE (s0_.parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (s0_.deleted_at IS NULL) ORDER BY sclr_5 DESC, s0_.parameter_id DESC
Parameters:
[
  32
  31
  30
  29
  28
  15
  14
  27
  25
  24
  23
  22
  19
  18
  17
  16
  13
  8
  26
  21
]
1.38 ms
(4.81%)
2
SELECT t0.parameter_type_id AS parameter_type_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 FROM statement_parameters_types t0 WHERE t0.parameter_type_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  2
]
1.32 ms
(4.61%)
3
SELECT t0.parameter_id AS parameter_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.parameter_type_id AS parameter_type_id_6, t0.unit_id AS unit_id_7, t0.formula_id AS formula_id_8, t0.calculate_parameter_id AS calculate_parameter_id_9 FROM statement_parameters t0 WHERE t0.parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  3
]
0.88 ms
(3.09%)
1
SELECT count(DISTINCT s0_.parameter_id) AS sclr_0 FROM statement_parameters s0_ LEFT JOIN statement_parameters_items_props s2_ ON s0_.parameter_id = s2_.parameter_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\Parameter 23
Statement\Entity\Prop 11
Statement\Entity\Formula 7
Statement\Entity\ParameterType 2
Shared\Entity\Unit 2
Statement\Entity\PropType 1

Entities Mapping

Class Mapping errors
Statement\Entity\Parameter
  • The association Statement\Entity\Parameter#type refers to the inverse side field Statement\Entity\ParameterType#parameters which does not exist.
  • The association Statement\Entity\Parameter#items refers to the owning side field Statement\Entity\ItemParameter#parametr which does not exist.
  • The association Statement\Entity\Parameter#workParameters refers to the owning side field Work\Entity\ItemParameter#parametr which does not exist.
Statement\Entity\Prop No errors.
Statement\Entity\ParameterType No errors.
Shared\Entity\Unit No errors.
Statement\Entity\Formula
  • The field Statement\Entity\Formula#parameters is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Statement\Entity\FormulaParameter#formula does not contain the required 'inversedBy: "parameters"' attribute.
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.
Work\Entity\ItemParameter No errors.
Statement\Entity\FormulaParameter No errors.
Statement\Entity\PropType No errors.