GET http://sch.ener.ru/catalog/d4982eaa-8475-417a-9609-1281e8d65780

Query Metrics

21 Database Queries
10 Different statements
20.01 ms Query time
2 Invalid entities

Grouped Statements

Show all queries

Time Count Info
6.60 ms
(33.01%)
3
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:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
2.57 ms
(12.85%)
1
SELECT id, name, parent_id FROM goods.category
Parameters:
[]
2.56 ms
(12.81%)
2
SELECT MIN(p.price) AS min_price, MAX(p.price) AS max_price FROM goods.proposal p WHERE (NOT p.is_archive) AND (NOT p.is_private) AND (p.category_id IN (?, ?, ?, ?))
Parameters:
[
  "d4982eaa-8475-417a-9609-1281e8d65780"
  "958f909b-c59c-42e5-b7b7-c4a399d2fe0c"
  "ea168356-1e34-45df-99c9-d82ebd6824bf"
  "790916a7-bd91-48dd-886b-adafad846b86"
]
1.98 ms
(9.90%)
3
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:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
1.93 ms
(9.63%)
3
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:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
1.22 ms
(6.11%)
2
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 {#965
    __toString(): "a94c1907-f056-4542-a3de-aacdd561b656"
  }
]
1.19 ms
(5.97%)
1
SELECT p.id FROM goods.proposal p WHERE (NOT p.is_archive) AND (NOT p.is_private) AND (p.category_id IN (?, ?, ?, ?)) AND (p.price >= ?) AND (p.price <= ?) ORDER BY p.date_add DESC LIMIT 20
Parameters:
[
  "d4982eaa-8475-417a-9609-1281e8d65780"
  "958f909b-c59c-42e5-b7b7-c4a399d2fe0c"
  "ea168356-1e34-45df-99c9-d82ebd6824bf"
  "790916a7-bd91-48dd-886b-adafad846b86"
  0
  1000000
]
0.92 ms
(4.62%)
3
SELECT cnt FROM counters.proposal_view WHERE id = ?
Parameters:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
0.62 ms
(3.07%)
2
SELECT avatar FROM account.person WHERE user_id = ?
Parameters:
[
  "a94c1907-f056-4542-a3de-aacdd561b656"
]
0.41 ms
(2.03%)
1
SELECT COUNT(id) AS new FROM trade.auction_offer WHERE (proposal_id = ?) AND (state = 0) GROUP BY proposal_id
Parameters:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]

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.