Query Metrics

11 Database Queries
11 Different statements
10.85 ms Query time
3 Invalid entities
10 Managed entities

Queries

Group similar statements

# Time Info
1 1.35 ms
SELECT p0_.project_id AS project_id_0, p0_.name AS name_1 FROM project_projects p0_ WHERE (p0_.deleted_at IS NULL)
Parameters:
[]
2 0.85 ms
SELECT p0_.project_item_id AS project_item_id_0, p0_.name AS name_1 FROM project_projects_items p0_ WHERE (p0_.deleted_at IS NULL)
Parameters:
[]
3 1.02 ms
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_ WHERE (p0_.project_item_parameter_id IN (?)) AND (p0_.deleted_at IS NULL)
Parameters:
[
  "3"
]
4 2.18 ms
SELECT DISTINCT p0_.project_item_parameter_value_id AS project_item_parameter_value_id_0 FROM project_items_parameters_values p0_ WHERE (p0_.project_item_parameter_id = (?)) AND (p0_.deleted_at IS NULL) LIMIT 20
Parameters:
[
  3
]
5 0.71 ms
SELECT p0_.project_item_parameter_value_id AS project_item_parameter_value_id_0, p0_.created_at AS created_at_1, p0_.deleted_at AS deleted_at_2, p0_.string AS string_3, p0_.integer AS integer_4, p0_.float AS float_5, p0_.boolean AS boolean_6, p0_.project_item_parameter_id AS project_item_parameter_id_7, p0_.value_id AS value_id_8, p0_.enum_value_id AS enum_value_id_9 FROM project_items_parameters_values p0_ WHERE (p0_.project_item_parameter_id = (?) AND p0_.project_item_parameter_value_id IN (?)) AND (p0_.deleted_at IS NULL)
Parameters:
[
  3
  9
]
6 0.60 ms
SELECT count(*) AS sclr_0 FROM project_items_parameters_values p0_ WHERE (p0_.project_item_parameter_id = (?)) AND (p0_.deleted_at IS NULL)
Parameters:
[
  3
]
7 0.40 ms
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:
[
  1
]
8 0.35 ms
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
]
9 0.98 ms
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:
[
  1
]
10 1.54 ms
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:
[
  13
]
11 0.87 ms
SELECT t0.value_id AS value_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_values t0 WHERE t0.value_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  3
]

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 1
Project\Entity\ProjectItem 1
Statement\Entity\Parameter 1
Project\Entity\ProjectItemParameterValue 1
Statement\Entity\Value 1
Project\Entity\Project 1
Statement\Entity\Item 1
Statement\Entity\ParameterType 1
Shared\Entity\Unit 1
Statement\Entity\Formula 1

Entities Mapping

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