GET https://admin-symfony-review.kube-dev.ugol.click/project-item-parameter?page=3&sort%5BprojectItem%5D=ASC

Query Metrics

42 Database Queries
8 Different statements
23.27 ms Query time
3 Invalid entities
66 Managed entities

Grouped Statements

Show all queries

Time Count Info
7.46 ms
(32.08%)
17
SELECT t0.project_item_parameter_value_id AS project_item_parameter_value_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.string AS string_4, t0.integer AS integer_5, t0.float AS float_6, t0.boolean AS boolean_7, t0.project_item_parameter_id AS project_item_parameter_id_8, t0.value_id AS value_id_9, t0.enum_value_id AS enum_value_id_10 FROM project_items_parameters_values t0 WHERE t0.project_item_parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  38
]
4.87 ms
(20.93%)
1
SELECT DISTINCT p0_.project_item_parameter_id AS project_item_parameter_id_0, p0_.project_item_id AS sclr_1 FROM project_projects_items_parameters p0_ LEFT JOIN project_projects_items p1_ ON p0_.project_item_id = p1_.project_item_id AND (p1_.deleted_at IS NULL) WHERE (p0_.deleted_at IS NULL) ORDER BY p0_.project_item_id ASC LIMIT 20 OFFSET 40
Parameters:
[]
3.51 ms
(15.09%)
7
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:
[
  4
]
3.00 ms
(12.87%)
7
SELECT t0.item_id AS item_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_items t0 WHERE t0.item_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  15
]
2.70 ms
(11.60%)
7
SELECT t0.project_item_id AS project_item_id_1, t0.name AS name_2, t0.level AS level_3, t0.created_at AS created_at_4, t0.deleted_at AS deleted_at_5, t0.key AS key_6, t0.project_id AS project_id_7, t0.item_id AS item_id_8, t0.parent_id AS parent_id_9 FROM project_projects_items t0 WHERE t0.project_item_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  7
]
0.61 ms
(2.62%)
1
SELECT p0_.project_item_parameter_id AS project_item_parameter_id_0, p0_.created_at AS created_at_1, p0_.deleted_at AS deleted_at_2, p0_.project_item_id AS project_item_id_3, p0_.parameter_id AS parameter_id_4 FROM project_projects_items_parameters p0_ LEFT JOIN project_projects_items p1_ ON p0_.project_item_id = p1_.project_item_id AND (p1_.deleted_at IS NULL) WHERE (p0_.project_item_parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (p0_.deleted_at IS NULL) ORDER BY p0_.project_item_id ASC
Parameters:
[
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  51
  54
  55
  57
  58
]
0.59 ms
(2.54%)
1
SELECT t0.project_id AS project_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.updated_at AS updated_at_6 FROM project_projects t0 WHERE t0.project_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
0.53 ms
(2.27%)
1
SELECT count(DISTINCT p0_.project_item_parameter_id) AS sclr_0 FROM project_projects_items_parameters p0_ LEFT JOIN project_projects_items p1_ ON p0_.project_item_id = p1_.project_item_id AND (p1_.deleted_at IS NULL) WHERE (p0_.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
Project\Entity\ProjectItemParameter 17
Project\Entity\ProjectItemParameterValue 17
Project\Entity\ProjectItem 9
Statement\Entity\Parameter 7
Statement\Entity\Item 7
Statement\Entity\Formula 3
Shared\Entity\Unit 2
Statement\Entity\Value 2
Project\Entity\Project 1
Statement\Entity\ParameterType 1

Entities Mapping

Class Mapping errors
Project\Entity\ProjectItemParameter No errors.
Project\Entity\ProjectItemTree No errors.
Project\Entity\ProjectItem No 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.
Project\Entity\ProjectItemParameterValue No errors.
Project\Entity\Project No 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\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.
Work\Entity\ItemParameter No errors.
Statement\Entity\Value No errors.
Statement\Entity\EnumValue No errors.