Query Metrics
38
Database Queries
12
Different statements
24.45 ms
Query time
0
Invalid entities
88
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
7.44 ms (30.41%) |
1 |
SELECT p0_.id AS id_0, p0_.code AS code_1, p0_.equivalent_code AS equivalent_code_2, p0_.name AS name_3, p0_.meta_description AS meta_description_4, p0_.meta_title AS meta_title_5, p0_.meta_keywords AS meta_keywords_6, p0_.description AS description_7, p0_.seo AS seo_8, p0_.default_unit AS default_unit_9, p0_.quantity AS quantity_10, p0_.tax_rate AS tax_rate_11, p0_.image AS image_12, p0_.currency AS currency_13, p0_.comment_count AS comment_count_14, p0_.star_rate AS star_rate_15, p0_.sales_number AS sales_number_16, p0_.parent_id AS parent_id_17, p0_.model_id AS model_id_18, p0_.brand_id AS brand_id_19 FROM product p0_ LEFT JOIN brand b1_ ON p0_.brand_id = b1_.id INNER JOIN product_unit p2_ ON p0_.id = p2_.product_id AND (p0_.default_unit = p2_.value) INNER JOIN product_price p3_ ON p2_.id = p3_.product_unit_id AND (p2_.default_price_order = p3_.price_order) INNER JOIN currency c4_ ON (c4_.code = p3_.currency) WHERE ((p0_.code LIKE ? OR p0_.equivalent_code LIKE ? OR p2_.barcode LIKE ?) OR (p0_.name LIKE ?)) AND (p0_.id <> '' AND p0_.parent_id IS NULL) AND b1_.code IN (?) GROUP BY p0_.id ORDER BY p3_.value * c4_.exchangeRate ASC LIMIT 20
Parameters:
[ "%%" "%%" "%%" "%%" "agrofarmix" ] |
|
6.42 ms (26.25%) |
19 |
SELECT t0.id AS id_1, t0.`key` AS key_2, t0.`value` AS value_3 FROM setting t0 WHERE t0.`key` = ? LIMIT 1
Parameters:
[
"b2b_license_end_date"
]
|
|
3.23 ms (13.22%) |
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT p0_.id AS id_0, p0_.code AS code_1, p0_.equivalent_code AS equivalent_code_2, p0_.name AS name_3, p0_.meta_description AS meta_description_4, p0_.meta_title AS meta_title_5, p0_.meta_keywords AS meta_keywords_6, p0_.description AS description_7, p0_.seo AS seo_8, p0_.default_unit AS default_unit_9, p0_.quantity AS quantity_10, p0_.tax_rate AS tax_rate_11, p0_.image AS image_12, p0_.currency AS currency_13, p0_.comment_count AS comment_count_14, p0_.star_rate AS star_rate_15, p0_.sales_number AS sales_number_16 FROM product p0_ LEFT JOIN brand b1_ ON p0_.brand_id = b1_.id INNER JOIN product_unit p2_ ON p0_.id = p2_.product_id AND (p0_.default_unit = p2_.value) INNER JOIN product_price p3_ ON p2_.id = p3_.product_unit_id AND (p2_.default_price_order = p3_.price_order) INNER JOIN currency c4_ ON (c4_.code = p3_.currency) WHERE ((p0_.code LIKE ? OR p0_.equivalent_code LIKE ? OR p2_.barcode LIKE ?) OR (p0_.name LIKE ?)) AND (p0_.id <> '' AND p0_.parent_id IS NULL) AND b1_.code IN (?) GROUP BY p0_.id ORDER BY p3_.value * c4_.exchangeRate ASC) dctrn_table
Parameters:
[ "%%" "%%" "%%" "%%" "agrofarmix" ] |
|
2.92 ms (11.94%) |
9 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.meta_title AS meta_title_4, t0.meta_description AS meta_description_5, t0.meta_keyword AS meta_keyword_6, t0.seo AS seo_7, t0.order AS order_8, t0.parent_id AS parent_id_9 FROM category t0 WHERE t0.parent_id = ?
Parameters:
[
246
]
|
|
1.40 ms (5.73%) |
1 |
SELECT s0_.id AS id_0, s0_.`key` AS key_1, s0_.`value` AS value_2 FROM setting s0_ WHERE s0_.`key` = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.57 ms (2.34%) |
1 |
SELECT DISTINCT s0_.warehouseId AS warehouseId_0, s0_.warehouseName AS warehouseName_1 FROM stock_inventory s0_
Parameters:
[] |
|
0.52 ms (2.14%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3 FROM brand t0
Parameters:
[] |
|
0.50 ms (2.04%) |
1 |
SELECT s0_.id AS id_0, s0_.`key` AS key_1, s0_.`value` AS value_2 FROM setting s0_
Parameters:
[] |
|
0.39 ms (1.58%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.address AS address_4, t0.phone AS phone_5, t0.whatsapp AS whatsapp_6, t0.social_media AS social_media_7, t0.email AS email_8, t0.description AS description_9, t0.logo AS logo_10, t0.whatsapp_control AS whatsapp_control_11 FROM store t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.37 ms (1.52%) |
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.symbol AS symbol_4, t0.exchangeRate AS exchangeRate_5 FROM currency t0
Parameters:
[] |
|
0.36 ms (1.47%) |
1 |
SELECT c0_.id AS id_0, c0_.session_id AS session_id_1, c0_.quantity AS quantity_2, c0_.product_id AS product_id_3, c0_.user_id AS user_id_4, c0_.product_unit_id AS product_unit_id_5 FROM cart c0_ WHERE c0_.session_id = ?
Parameters:
[
null
]
|
|
0.33 ms (1.36%) |
1 |
SELECT t0.id AS id_1, t0.comment_title AS comment_title_2, t0.comment_description AS comment_description_3, t0.order_no AS order_no_4, t0.star AS star_5, t0.date AS date_6, t0.name AS name_7, t0.user_id AS user_id_8, t0.product_id AS product_id_9 FROM user_comment t0
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 |
|---|---|
| App\Entity\Setting | 49 |
| App\Entity\Page | 13 |
| App\Entity\Category | 9 |
| App\Entity\Menu | 5 |
| App\Entity\Brand | 4 |
| App\Entity\PageCategory | 4 |
| App\Entity\Currency | 3 |
| App\Entity\Store | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User | No errors. |
| App\Entity\Setting | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\Brand | No errors. |
| App\Entity\Model | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\Variant | No errors. |
| App\Entity\Currency | No errors. |
| App\Entity\Cart | No errors. |
| App\Entity\UserComment | No errors. |
| App\Entity\Store | No errors. |
| App\Entity\Page | No errors. |
| App\Entity\PageCategory | No errors. |
| App\Entity\Menu | No errors. |
| App\Entity\StockInventory | No errors. |