Query Metrics
14
Database Queries
13
Different statements
64.20 ms
Query time
3
Invalid entities
49
Managed entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2.73 ms |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.image AS image_7, t0.adresse AS adresse_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.archive_status AS archive_status_11, t0.is_email_received AS is_email_received_12, t0.is_sms_received AS is_sms_received_13, t0.point_of_sale_id AS point_of_sale_id_14 FROM user t0 WHERE t0.id = ?
Parameters:
[
57
]
|
||||||||||||||||||||||||||
| 2 | 6.44 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.ref AS ref_5, t0.payment_method AS payment_method_6, t0.type_reduction AS type_reduction_7, t0.amount_reduction AS amount_reduction_8, t0.total AS total_9, t0.point_of_sale_id AS point_of_sale_id_10, t0.discount_info AS discount_info_11, t0.customer_id AS customer_id_12, t0.user_id AS user_id_13, t0.session_sale_id AS session_sale_id_14 FROM sale t0 WHERE t0.point_of_sale_id = ?
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 3 | 3.31 ms |
SELECT t0.id AS id_1, t0.last_name AS last_name_2, t0.first_name AS first_name_3, t0.adresse AS adresse_4, t0.phone_number AS phone_number_5, t0.email AS email_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.gender AS gender_9, t0.city AS city_10, t0.country AS country_11, t0.archive_status AS archive_status_12, t0.point_of_sale_id AS point_of_sale_id_13 FROM customer t0 WHERE t0.point_of_sale_id = ?
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 4 | 9.76 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.quantity AS quantity_3, t0.purchase_price AS purchase_price_4, t0.bulk_price AS bulk_price_5, t0.retail_price AS retail_price_6, t0.manufacturing_date AS manufacturing_date_7, t0.expiration_date AS expiration_date_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.archive_status AS archive_status_11, t0.image AS image_12, t0.invoice_purchase AS invoice_purchase_13, t0.purchase_date AS purchase_date_14, t0.certificate_origin AS certificate_origin_15, t0.approval_certificate AS approval_certificate_16, t0.status_en_stock AS status_en_stock_17, t0.is_raw_material AS is_raw_material_18, t0.status AS status_19, t0.description AS description_20, t0.unit_of_measurement AS unit_of_measurement_21, t0.point_of_sale_id AS point_of_sale_id_22, t0.category_id AS category_id_23, t0.supplier_id AS supplier_id_24 FROM product t0 WHERE t0.point_of_sale_id = ?
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 5 | 27.58 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.adresse AS adresse_3, t0.phone_number AS phone_number_4, t0.email AS email_5, t0.site_web AS site_web_6, t0.payment_terms AS payment_terms_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.status_supplier AS status_supplier_10, t0.logo AS logo_11, t0.country AS country_12, t0.city AS city_13, t0.archive_status AS archive_status_14, t0.point_of_sale_id AS point_of_sale_id_15, t0.field_of_activity_id AS field_of_activity_id_16 FROM supplier t0 WHERE t0.point_of_sale_id = ?
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 6 | 1.15 ms |
SELECT s0_.id AS id_0, s0_.montant AS montant_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.ref AS ref_4, s0_.payment_method AS payment_method_5, s0_.type_reduction AS type_reduction_6, s0_.amount_reduction AS amount_reduction_7, s0_.total AS total_8, s0_.point_of_sale_id AS point_of_sale_id_9, s0_.discount_info AS discount_info_10, s0_.customer_id AS customer_id_11, s0_.user_id AS user_id_12, s0_.session_sale_id AS session_sale_id_13 FROM sale s0_ WHERE (s0_.created_at >= ? AND s0_.created_at <= ?) AND s0_.point_of_sale_id = ?
Parameters:
[ "2026-01-17 00:00:00" "2026-01-18 00:00:00" 35 ]
|
||||||||||||||||||||||||||
| 7 | 1.15 ms |
SELECT c0_.gender AS gender_0, COUNT(c0_.id) AS sclr_1 FROM customer c0_ WHERE c0_.gender = ? OR c0_.gender = ? GROUP BY c0_.gender
Parameters:
[ "masculin" "feminin" ]
|
||||||||||||||||||||||||||
| 8 | 1.16 ms |
SELECT MONTH(s0_.created_at) AS sclr_0, COUNT(s0_.id) AS sclr_1 FROM sale s0_ WHERE s0_.point_of_sale_id = ? GROUP BY sclr_0
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 9 | 2.35 ms |
SELECT CONCAT(' ', u0_.roles) AS sclr_0, COUNT(u0_.id) AS sclr_1 FROM user u0_ WHERE u0_.point_of_sale_id = ? GROUP BY sclr_0
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 10 | 2.33 ms |
SELECT s0_.id AS id_0, s0_.montant AS montant_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.ref AS ref_4, s0_.payment_method AS payment_method_5, s0_.type_reduction AS type_reduction_6, s0_.amount_reduction AS amount_reduction_7, s0_.total AS total_8, s0_.point_of_sale_id AS point_of_sale_id_9, s0_.discount_info AS discount_info_10, s0_.customer_id AS customer_id_11, s0_.user_id AS user_id_12, s0_.session_sale_id AS session_sale_id_13 FROM sale s0_ WHERE (s0_.created_at >= ? AND s0_.created_at <= ?) AND s0_.point_of_sale_id = ?
Parameters:
[ "2026-01-17 00:00:00" "2026-01-18 00:00:00" 35 ]
|
||||||||||||||||||||||||||
| 11 | 1.36 ms |
SELECT s0_.id AS id_0, s0_.montant AS montant_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.ref AS ref_4, s0_.payment_method AS payment_method_5, s0_.type_reduction AS type_reduction_6, s0_.amount_reduction AS amount_reduction_7, s0_.total AS total_8, s0_.point_of_sale_id AS point_of_sale_id_9, s0_.discount_info AS discount_info_10, s0_.customer_id AS customer_id_11, s0_.user_id AS user_id_12, s0_.session_sale_id AS session_sale_id_13 FROM sale s0_ WHERE MONTH(s0_.created_at) = MONTH(CURRENT_DATE) AND s0_.point_of_sale_id = ?
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 12 | 0.60 ms |
SELECT s0_.id AS id_0, s0_.montant AS montant_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.ref AS ref_4, s0_.payment_method AS payment_method_5, s0_.type_reduction AS type_reduction_6, s0_.amount_reduction AS amount_reduction_7, s0_.total AS total_8, s0_.point_of_sale_id AS point_of_sale_id_9, s0_.discount_info AS discount_info_10, s0_.customer_id AS customer_id_11, s0_.user_id AS user_id_12, s0_.session_sale_id AS session_sale_id_13 FROM sale s0_ WHERE YEAR(s0_.created_at) = YEAR(CURRENT_DATE) AND s0_.point_of_sale_id = ?
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 13 | 0.99 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.quantity AS quantity_3, t0.purchase_price AS purchase_price_4, t0.bulk_price AS bulk_price_5, t0.retail_price AS retail_price_6, t0.manufacturing_date AS manufacturing_date_7, t0.expiration_date AS expiration_date_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.archive_status AS archive_status_11, t0.image AS image_12, t0.invoice_purchase AS invoice_purchase_13, t0.purchase_date AS purchase_date_14, t0.certificate_origin AS certificate_origin_15, t0.approval_certificate AS approval_certificate_16, t0.status_en_stock AS status_en_stock_17, t0.is_raw_material AS is_raw_material_18, t0.status AS status_19, t0.description AS description_20, t0.unit_of_measurement AS unit_of_measurement_21, t0.point_of_sale_id AS point_of_sale_id_22, t0.category_id AS category_id_23, t0.supplier_id AS supplier_id_24 FROM product t0 WHERE t0.point_of_sale_id = ? ORDER BY t0.id DESC LIMIT 4
Parameters:
[
35
]
|
||||||||||||||||||||||||||
| 14 | 3.30 ms |
SELECT t0.id AS id_1, t0.start AS start_2, t0.end AS end_3, t0.status AS status_4, t0.status_for_manager AS status_for_manager_5, t0.point_of_sale_id AS point_of_sale_id_6, t0.user_id AS user_id_7 FROM session_sale t0 WHERE t0.user_id = ?
Parameters:
[
57
]
|
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 | 35 |
| App\Entity\Sale | 5 |
| App\Entity\Category | 4 |
| App\Entity\SessionSale | 3 |
| App\Entity\User | 2 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User | No errors. |
| App\Entity\History | No errors. |
| App\Entity\Inventory | No errors. |
| App\Entity\InventoryStock | No errors. |
| App\Entity\Sale |
|
| App\Entity\SessionSale | No errors. |
| App\Entity\Cart | No errors. |
| App\Entity\HistoryPurchaseOrder | No errors. |
| App\Entity\HistoryFund | No errors. |
| App\Entity\Customer |
|
| App\Entity\SaleItem | No errors. |
| App\Entity\Payment | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\Category |
|
| App\Entity\Supplier | No errors. |
| App\Entity\SaleProductStock | No errors. |
| App\Entity\InventoryProduct | No errors. |
| App\Entity\PurchaseOrder | No errors. |
| App\Entity\ProductVariant | No errors. |
| App\Entity\FieldOfActivity | No errors. |