GET http://sch.ener.ru/catalog/item/3849d177-84f4-4f28-a554-67986e0cbd13

Query Metrics

8 Database Queries
8 Different statements
10.95 ms Query time
2 Invalid entities

Queries

Group similar statements

# Time Info
1 1.70 ms
SELECT id, name, parent_id FROM goods.category
Parameters:
[]
2 1.94 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.price AS price_3, t0.description AS description_4, t0.is_archive AS is_archive_5, t0.date_add AS date_add_6, t0.end_date AS end_date_7, t0.is_private AS is_private_8, t0.items_count AS items_count_9, t0.delivery_method AS delivery_method_10, t0.payload AS payload_11, t0.category_id AS category_id_12, t0.item_id AS item_id_13, t0.owner_id AS owner_id_14 FROM goods.proposal t0 WHERE t0.id = ?
Parameters:
[
  "3849d177-84f4-4f28-a554-67986e0cbd13"
]
3 1.96 ms
SELECT COUNT(id) AS total, MIN(price)::int AS start_price, MAX(price)::int AS end_price FROM trade.auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters:
[
  "3849d177-84f4-4f28-a554-67986e0cbd13"
]
4 0.50 ms
SELECT cnt FROM counters.proposal_view WHERE id = ?
Parameters:
[
  "3849d177-84f4-4f28-a554-67986e0cbd13"
]
5 0.79 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.surname AS surname_3, t0.patronymic AS patronymic_4, t0.gender AS gender_5, t0.birthdate AS birthdate_6, t0.email AS email_7, t0.phone AS phone_8, t0.avatar AS avatar_9, t0.user_id AS user_id_10 FROM account.person t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
  "e2350144-be17-4130-bca9-2f200ed36640"
]
6 0.45 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.surname AS surname_2, p0_.patronymic AS patronymic_3, p0_.gender AS gender_4, p0_.birthdate AS birthdate_5, p0_.email AS email_6, p0_.phone AS phone_7, p0_.avatar AS avatar_8, p0_.user_id AS user_id_9 FROM account.person p0_ WHERE p0_.user_id = ?
Parameters:
[
  Ramsey\Uuid\Lazy\LazyUuidFromString {#920
    __toString(): "e2350144-be17-4130-bca9-2f200ed36640"
  }
]
7 2.30 ms
SELECT pg.id AS pg_id, pg.name AS pg_name, p.name AS p_name, p.in_short AS p_short, pp.value AS value FROM goods.proposal_parameter pp INNER JOIN goods.parameter p ON p.id = pp.parameter_id INNER JOIN goods.parameters_group pg ON pg.id = p.parameters_group_id WHERE pp.proposal_id = ? ORDER BY pg.id ASC, p.id ASC
Parameters:
[
  "3849d177-84f4-4f28-a554-67986e0cbd13"
]
8 1.31 ms
INSERT INTO counters.proposal_view (id, cnt) VALUES (?, 1)
                                             ON conflict (id) DO UPDATE SET cnt = excluded.cnt + 1
Parameters:
[
  "3849d177-84f4-4f28-a554-67986e0cbd13"
]

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.

Entities Mapping

Class Mapping errors
App\Entity\Goods\Proposal
  • The field App\Entity\Goods\Proposal#parameters is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Goods\ProposalParameter#proposal does not contain the required 'inversedBy="parameters"' attribute.
App\Entity\Goods\Category
  • The field App\Entity\Goods\Category#manufacturers is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Dictionary\Manufacturer#categories does not contain the required 'mappedBy="manufacturers"' attribute.
App\Entity\Goods\Item No errors.
App\Entity\Account\User No errors.
App\Entity\Goods\ProposalParameter No errors.
App\Entity\Account\Person No errors.