POST http://api.peyrolles.tekshelf.fr/api/esp/boards/SN3TG1ET4/weights?apiKey=1f0cb920-e341-6882-ba27-0d9dcc3364f8

Query Metrics

56 Database Queries
19 Different statements
107.93 ms Query time
0 Invalid entities
42 Managed entities

Grouped Statements

Show all queries

Time Count Info
26.47 ms
(24.53%)
1
SELECT t0.id AS id_1, t0.ip AS ip_2, t0.serial_number AS serial_number_3, t0.version AS version_4, t0.mode AS mode_5, t0.last_connected_at AS last_connected_at_6 FROM `board` t0 WHERE t0.id = ?
Parameters:
[
  b"\x1F\f╣ ÒAhé║'\rØ╠3d°"
]
14.21 ms
(13.17%)
1
INSERT INTO event (id, location, created_at, alert_types, difference_weight, difference_product, total_after_by_location, total_after_global, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  b"\x1F\r&°]Øgœ¢:«¸\x1C¿\x10i"
  "{"aisle":"1","position":"1","storey":"4","section":1}"
  "2025-12-06 06:15:54"
  "[]"
  -848
  -2
  10
  10
  b"\x1F\f╣ÎäÁh`ìÁà5KAçº"
]
12.73 ms
(11.80%)
1
SELECT e0_.id AS id_0, e0_.location AS location_1, e0_.created_at AS created_at_2, e0_.alert_types AS alert_types_3, e0_.difference_weight AS difference_weight_4, e0_.difference_product AS difference_product_5, e0_.total_after_by_location AS total_after_by_location_6, e0_.total_after_global AS total_after_global_7, e0_.product_id AS product_id_8 FROM event e0_ WHERE e0_.product_id = ? AND e0_.created_at >= ? AND JSON_UNQUOTE(JSON_EXTRACT(e0_.location, '$.aisle')) = ? AND JSON_UNQUOTE(JSON_EXTRACT(e0_.location, '$.position')) = ? AND JSON_UNQUOTE(JSON_EXTRACT(e0_.location, '$.storey')) = ? AND JSON_UNQUOTE(JSON_EXTRACT(e0_.location, '$.section')) = ? ORDER BY e0_.created_at DESC LIMIT 1
Parameters:
[
  b"\x1F\f╣ÎäÁh`ìÁà5KAçº"
  "2025-12-06 06:14:54"
  "1"
  "1"
  "4"
  "1"
]
9.99 ms
(9.26%)
16
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.bar_code AS bar_code_3, t0.weight AS weight_4, t0.net_weight AS net_weight_5, t0.image_url AS image_url_6, t0.brand AS brand_7, t0.counts AS counts_8, t0.price AS price_9, t0.section AS section_10, t0.total_count AS total_count_11, t0.min_product AS min_product_12, t0.max_product AS max_product_13, t0.expiring_offset AS expiring_offset_14, t0.is_sensitive AS is_sensitive_15, t0.deleted_at AS deleted_at_16, t0.out_of_stock_date AS out_of_stock_date_17, t0.updatable_id AS updatable_id_18 FROM product t0 INNER JOIN scale_product ON t0.id = scale_product.product_id WHERE scale_product.scale_id = ?
Parameters:
[
  b"\x1F\f»}Ëri\x18™¹3^bå(Ó"
]
6.44 ms
(5.97%)
1
SELECT t0.id AS id_1, t0.scale_order AS scale_order_2, t0.weight AS weight_3, t0.port_index AS port_index_4, t0.last_update AS last_update_5, t0.board_id AS board_id_6, t0.shelf_id AS shelf_id_7 FROM scale t0 WHERE t0.board_id = ?
Parameters:
[
  b"\x1F\f╣ ÒAhé║'\rØ╠3d°"
]
5.75 ms
(5.33%)
2
SELECT t0.id AS id_1, t0.type AS type_2, t0.scope AS scope_3, t0.resources AS resources_4, t0.value AS value_5, t0.updated_at AS updated_at_6, t0.identifier AS identifier_7, t0.display AS display_8, t0.updated_by_id AS updated_by_id_9 FROM setting t0 WHERE t0.identifier = ? LIMIT 1
Parameters:
[
  "suspicious_event_period"
]
4.68 ms
(4.34%)
8
SELECT s0_.stable_product_count AS stable_product_count_0, s0_.total AS total_1 FROM scale_product_count s0_ LEFT JOIN scale s1_ ON s0_.scale_id = s1_.id WHERE s0_.product_id = ? AND (s1_.weight IS NULL OR s1_.weight <> 0)
Parameters:
[
  Symfony\Component\Uid\UuidV6 {#1820
    __toString(): "1f0cb9d7-84b5-6860-8db5-85354b4187a7"
  }
]
3.96 ms
(3.67%)
7
UPDATE scale_product_count SET stable_product_count_updated_at = ? WHERE id = ?
Parameters:
[
  "2025-12-06T06:15:54+00:00"
  b"\x1F\fÆÛmÇeü·þ‘Ï\x10\x0E"
]
3.91 ms
(3.63%)
1
SELECT t0.id AS id_1, t0.password AS password_2, t0.email AS email_3, t0.first_name AS first_name_4, t0.last_name AS last_name_5, t0.roles AS roles_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.last_connected_at AS last_connected_at_9, t0.deleted_at AS deleted_at_10 FROM user t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "SN3TG1ET4"
]
2.99 ms
(2.77%)
7
SELECT t0.id AS id_1, t0.suspicious_events AS suspicious_events_2, t0.restock AS restock_3, t0.total AS total_4, t0.events AS events_5, t0.stable_product_count AS stable_product_count_6, t0.stable_product_count_updated_at AS stable_product_count_updated_at_7, t0.scale_id AS scale_id_8, t0.product_id AS product_id_9 FROM scale_product_count t0 WHERE t0.scale_id = ?
Parameters:
[
  b"\x1F\f»}Ëri\x18™¹3^bå(Ó"
]
2.97 ms
(2.76%)
2
SELECT t0.id AS id_1, t0.ip AS ip_2, t0.serial_number AS serial_number_3, t0.version AS version_4, t0.mode AS mode_5, t0.last_connected_at AS last_connected_at_6 FROM `board` t0 WHERE t0.serial_number = ? LIMIT 1
Parameters:
[
  "SN3TG1ET4"
]
2.80 ms
(2.59%)
1
"COMMIT"
Parameters:
[]
2.27 ms
(2.11%)
1
SELECT t0.id AS id_1, t0.aisle AS aisle_2, t0.position AS position_3, t0.storey AS storey_4, t0.section AS section_5 FROM shelf t0 WHERE t0.id = ?
Parameters:
[
  b"\x1F\f㥬?b,üjâ\x13\x19èÂ"
]
2.12 ms
(1.97%)
1
UPDATE `board` SET last_connected_at = ? WHERE id = ?
Parameters:
[
  "2025-12-06 06:15:55"
  b"\x1F\f╣ ÒAhé║'\rØ╠3d°"
]
2.10 ms
(1.95%)
1
UPDATE scale_product_count SET suspicious_events = ?, restock = ?, total = ?, stable_product_count = ?, stable_product_count_updated_at = ? WHERE id = ?
Parameters:
[
  "[{"amount":2.0,"removedAt":"2025-12-06T06:15:54+00:00","expiredAt":"2025-12-06T06:16:54+00:00","state":"IN_PROGRESS"}]"
  "[{"state":"CONFIRMED","amount":7.0,"expiredAt":"2026-01-27T15:21:51+00:00","restockedAt":"2025-11-28T15:21:51+00:00"},{"state":"IN_PROGRESS","amount":2.0,"expiredAt":"2026-02-03T15:25:49+00:00","restockedAt":"2025-12-05T15:25:49+00:00"}]"
  10
  10
  "2025-12-06T06:15:54+00:00"
  b"\x1F\fÆÛm×n4²]‘Ï\x10\x0E"
]
1.74 ms
(1.61%)
2
SELECT t0.id AS id_1, t0.suspicious_events AS suspicious_events_2, t0.restock AS restock_3, t0.total AS total_4, t0.events AS events_5, t0.stable_product_count AS stable_product_count_6, t0.stable_product_count_updated_at AS stable_product_count_updated_at_7, t0.scale_id AS scale_id_8, t0.product_id AS product_id_9 FROM scale_product_count t0 WHERE t0.product_id = ?
Parameters:
[
  b"\x1F\f╣ÎäÁh`ìÁà5KAçº"
]
1.61 ms
(1.50%)
1
UPDATE scale SET weight = ?, last_update = ? WHERE id = ?
Parameters:
[
  928
  "2025-12-06 06:15:55"
  b"\x1F\f»}Ëri\x18™¹3^bå(Ó"
]
0.82 ms
(0.76%)
1
SELECT t0.id AS id_1, t0.scale_order AS scale_order_2, t0.weight AS weight_3, t0.port_index AS port_index_4, t0.last_update AS last_update_5, t0.board_id AS board_id_6, t0.shelf_id AS shelf_id_7 FROM scale t0 WHERE t0.shelf_id = ?
Parameters:
[
  b"\x1F\f㥬?b,üjâ\x13\x19èÂ"
]
0.34 ms
(0.31%)
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\Scale 16
App\Entity\ScaleProductCount 16
App\Entity\Product 2
App\Entity\Updatable 2
App\Entity\Setting 2
App\Entity\Board 1
App\Entity\Shelf 1
App\Entity\User 1
App\Entity\Event 1

Entities Mapping

Class Mapping errors
App\Entity\Board No errors.
App\Entity\Scale No errors.
App\Entity\User No errors.
App\Entity\Shelf No errors.
App\Entity\Product No errors.
App\Entity\ScaleProductCount No errors.
App\Entity\Updatable No errors.
App\Entity\Event No errors.
App\Entity\Setting No errors.
App\Entity\Alert No errors.