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

Queries

Group similar statements

# Time Info
1 2.57 ms
SELECT id, name, parent_id FROM goods.category
Parameters:
[]
2 2.14 ms
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"
]
3 1.19 ms
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
]
4 0.42 ms
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"
]
5 0.93 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:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
6 1.21 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:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
7 0.41 ms
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"
]
8 0.51 ms
SELECT cnt FROM counters.proposal_view WHERE id = ?
Parameters:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
9 0.95 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 {#965
    __toString(): "a94c1907-f056-4542-a3de-aacdd561b656"
  }
]
10 0.42 ms
SELECT avatar FROM account.person WHERE user_id = ?
Parameters:
[
  "a94c1907-f056-4542-a3de-aacdd561b656"
]
11 3.05 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:
[
  "d74dd3d4-8819-4bbd-beda-44591753650c"
]
12 0.63 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:
[
  "aff45390-054e-4a13-9de2-2036dd21bd6a"
]
13 0.43 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:
[
  "aff45390-054e-4a13-9de2-2036dd21bd6a"
]
14 0.22 ms
SELECT cnt FROM counters.proposal_view WHERE id = ?
Parameters:
[
  "aff45390-054e-4a13-9de2-2036dd21bd6a"
]
15 0.27 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 {#1082
    __toString(): "e2350144-be17-4130-bca9-2f200ed36640"
  }
]
16 0.20 ms
SELECT avatar FROM account.person WHERE user_id = ?
Parameters:
[
  "e2350144-be17-4130-bca9-2f200ed36640"
]
17 1.80 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:
[
  "aff45390-054e-4a13-9de2-2036dd21bd6a"
]
18 0.36 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:
[
  "bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21"
]
19 0.35 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:
[
  "bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21"
]
20 0.20 ms
SELECT cnt FROM counters.proposal_view WHERE id = ?
Parameters:
[
  "bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21"
]
21 1.76 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:
[
  "bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21"
]

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.