Query Metrics

16 Database Queries
9 Different statements
7.43 ms Query time
1 Invalid entities
22 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.97 ms
(26.57%)
3
SELECT c0_.id AS id_0, c0_.session_id AS session_id_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.expires_at AS expires_at_4, c0_.user_id AS user_id_5 FROM carts c0_ WHERE c0_.session_id = ? AND c0_.user_id IS NULL
Parameters:
[
  "obpmedkesne8v2hd6cpnaeirhf"
]
1.71 ms
(23.08%)
1
"COMMIT"
Parameters:
[]
1.26 ms
(16.97%)
5
SELECT COUNT(*) FROM products t0 WHERE t0.universe_id = ? AND t0.is_active = ?
Parameters:
[
  1
  1
]
0.75 ms
(10.10%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.icon AS icon_5, t0.seo_data AS seo_data_6, t0.is_active AS is_active_7, t0.sort_order AS sort_order_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10 FROM universes t0 WHERE t0.is_active = ? ORDER BY t0.sort_order ASC
Parameters:
[
  1
]
0.58 ms
(7.86%)
1
SELECT t0.id AS id_1, t0.dolibarr_id AS dolibarr_id_2, t0.ref AS ref_3, t0.label AS label_4, t0.slug AS slug_5, t0.description AS description_6, t0.long_description AS long_description_7, t0.price AS price_8, t0.public_price AS public_price_9, t0.stock AS stock_10, t0.low_stock_threshold AS low_stock_threshold_11, t0.weight AS weight_12, t0.dimensions AS dimensions_13, t0.main_image AS main_image_14, t0.secondary_images AS secondary_images_15, t0.documents AS documents_16, t0.is_active AS is_active_17, t0.is_featured AS is_featured_18, t0.seo_data AS seo_data_19, t0.status AS status_20, t0.created_at AS created_at_21, t0.updated_at AS updated_at_22, t0.last_sync_at AS last_sync_at_23, t0.category_id AS category_id_24, t0.universe_id AS universe_id_25 FROM products t0 WHERE t0.is_featured = ? AND t0.is_active = ? ORDER BY t0.created_at DESC LIMIT 8
Parameters:
[
  1
  1
]
0.36 ms
(4.82%)
1
SELECT c0_.id AS id_0, c0_.quantity AS quantity_1, c0_.unit_price AS unit_price_2, c0_.created_at AS created_at_3, c0_.updated_at AS updated_at_4, p1_.id AS id_5, p1_.dolibarr_id AS dolibarr_id_6, p1_.ref AS ref_7, p1_.label AS label_8, p1_.slug AS slug_9, p1_.description AS description_10, p1_.long_description AS long_description_11, p1_.price AS price_12, p1_.public_price AS public_price_13, p1_.stock AS stock_14, p1_.low_stock_threshold AS low_stock_threshold_15, p1_.weight AS weight_16, p1_.dimensions AS dimensions_17, p1_.main_image AS main_image_18, p1_.secondary_images AS secondary_images_19, p1_.documents AS documents_20, p1_.is_active AS is_active_21, p1_.is_featured AS is_featured_22, p1_.seo_data AS seo_data_23, p1_.status AS status_24, p1_.created_at AS created_at_25, p1_.updated_at AS updated_at_26, p1_.last_sync_at AS last_sync_at_27, c0_.cart_id AS cart_id_28, c0_.product_id AS product_id_29, p1_.category_id AS category_id_30, p1_.universe_id AS universe_id_31 FROM cart_items c0_ LEFT JOIN products p1_ ON c0_.product_id = p1_.id WHERE c0_.cart_id = ? AND c0_.unit_price <> p1_.price
Parameters:
[
  810
]
0.36 ms
(4.82%)
1
SELECT c0_.id AS id_0, c0_.quantity AS quantity_1, c0_.unit_price AS unit_price_2, c0_.created_at AS created_at_3, c0_.updated_at AS updated_at_4, p1_.id AS id_5, p1_.dolibarr_id AS dolibarr_id_6, p1_.ref AS ref_7, p1_.label AS label_8, p1_.slug AS slug_9, p1_.description AS description_10, p1_.long_description AS long_description_11, p1_.price AS price_12, p1_.public_price AS public_price_13, p1_.stock AS stock_14, p1_.low_stock_threshold AS low_stock_threshold_15, p1_.weight AS weight_16, p1_.dimensions AS dimensions_17, p1_.main_image AS main_image_18, p1_.secondary_images AS secondary_images_19, p1_.documents AS documents_20, p1_.is_active AS is_active_21, p1_.is_featured AS is_featured_22, p1_.seo_data AS seo_data_23, p1_.status AS status_24, p1_.created_at AS created_at_25, p1_.updated_at AS updated_at_26, p1_.last_sync_at AS last_sync_at_27, c0_.cart_id AS cart_id_28, c0_.product_id AS product_id_29, p1_.category_id AS category_id_30, p1_.universe_id AS universe_id_31 FROM cart_items c0_ LEFT JOIN products p1_ ON c0_.product_id = p1_.id WHERE c0_.cart_id = ? ORDER BY c0_.created_at ASC
Parameters:
[
  810
]
0.29 ms
(3.88%)
1
INSERT INTO carts (session_id, created_at, updated_at, expires_at, user_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "obpmedkesne8v2hd6cpnaeirhf"
  "2025-12-06 22:21:49"
  "2025-12-06 22:21:49"
  "2026-01-05 22:21:49"
  null
]
0.14 ms
(1.90%)
1
"START TRANSACTION"
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\Product 8
App\Entity\Category 8
App\Entity\Universe 5
App\Entity\Cart 1

Entities Mapping

Class Mapping errors
App\Entity\Product No errors.
App\Entity\Category No errors.
App\Entity\Universe No errors.
App\Entity\ProductCharacteristic No errors.
App\Entity\UniverseCharacteristic No errors.
App\Entity\Cart No errors.
App\Entity\User
  • The field App\Entity\User#orders is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Order#user does not contain the required 'inversedBy="orders"' attribute.
App\Entity\CartItem No errors.