Query Metrics
11
Database Queries
10
Different statements
22.45 ms
Query time
3
Invalid entities
20
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
11.59 ms (51.61%) |
1 |
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:
[
38
]
|
||||||||||||||||||||||||||
|
3.50 ms (15.59%) |
1 |
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:
[
38
]
|
||||||||||||||||||||||||||
|
2.15 ms (9.55%) |
1 |
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:
[
38
]
|
||||||||||||||||||||||||||
|
1.64 ms (7.29%) |
1 |
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:
[
38
]
|
||||||||||||||||||||||||||
|
1.09 ms (4.87%) |
1 |
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:
[
38
]
|
||||||||||||||||||||||||||
|
1.03 ms (4.57%) |
2 |
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" 38 ]
|
||||||||||||||||||||||||||
|
0.49 ms (2.17%) |
1 |
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:
[
38
]
|
||||||||||||||||||||||||||
|
0.42 ms (1.87%) |
1 |
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:
[
38
]
|
||||||||||||||||||||||||||
|
0.30 ms (1.35%) |
1 |
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" ]
|
||||||||||||||||||||||||||
|
0.25 ms (1.13%) |
1 |
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:
[
38
]
|
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 | 14 |
| App\Entity\Category | 3 |
| App\Entity\Sale | 1 |
| App\Entity\User | 1 |
| App\Entity\SessionSale | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Sale |
|
| App\Entity\Customer |
|
| App\Entity\User | No errors. |
| App\Entity\SessionSale | No errors. |
| 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\Cart | No errors. |
| App\Entity\PurchaseOrder | No errors. |
| App\Entity\HistoryPurchaseOrder | No errors. |
| App\Entity\ProductVariant | No errors. |
| App\Entity\FieldOfActivity | No errors. |