POST http://api.peyrolles.tekshelf.fr/api/esp/boards/TEST/weights?apiKey=1f0d1d61-2e11-6bba-a7c4-bb38d7fa354a

Query Metrics

61 Database Queries
17 Different statements
58.75 ms Query time
0 Invalid entities
48 Managed entities

Grouped Statements

Show all queries

Time Count Info
12.14 ms
(20.66%)
22
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\r\x1Dcïdd–¡m™î'\vî"
]
11.59 ms
(19.72%)
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\r\x1Da.\x11kº§Ä»8×ú5J"
]
6.74 ms
(11.47%)
2
"COMMIT"
Parameters:
[]
6.56 ms
(11.16%)
21
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\r\x1Dcïdd–¡m™î'\vî"
]
3.73 ms
(6.34%)
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:
[
  "TEST"
]
3.30 ms
(5.63%)
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\r\x1Da.\x11kº§Ä»8×ú5J"
]
2.63 ms
(4.48%)
1
UPDATE scale SET weight = ?, last_update = ? WHERE id = ?
Parameters:
[
  191
  "2026-01-24 20:49:31"
  b"\x1F\r\x1Dcïdd–¡m™î'\vî"
]
2.63 ms
(4.47%)
1
UPDATE `board` SET last_connected_at = ? WHERE id = ?
Parameters:
[
  "2026-01-24 20:49:31"
  b"\x1F\r\x1Da.\x11kº§Ä»8×ú5J"
]
2.48 ms
(4.22%)
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\rQ&\x18Lm^‡.q¶sõˆ"
]
2.27 ms
(3.86%)
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:
[
  "TEST"
]
1.11 ms
(1.88%)
1
SELECT s0_.id AS id_0, s0_.suspicious_events AS suspicious_events_1, s0_.restock AS restock_2, s0_.total AS total_3, s0_.events AS events_4, s0_.stable_product_count AS stable_product_count_5, s0_.stable_product_count_updated_at AS stable_product_count_updated_at_6, s0_.scale_id AS scale_id_7, s0_.product_id AS product_id_8 FROM scale_product_count s0_ WHERE s0_.id = ? FOR UPDATE
Parameters:
[
  Symfony\Component\Uid\UuidV7 {#2167
    __toString(): "019bc7a8-c5ab-71c3-85f7-d37c84b68332"
  }
]
0.78 ms
(1.32%)
1
SELECT COALESCE(SUM(COALESCE(stable_product_count, total)), 0) as total 
                        FROM scale_product_count 
                        WHERE product_id = ?
Parameters:
[
  b"\x01›Ç¤/+wƱŒvØÿ¢}p"
]
0.76 ms
(1.30%)
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\rQ&\x18Lm^‡.q¶sõˆ"
]
0.62 ms
(1.06%)
2
"START TRANSACTION"
Parameters:
[]
0.61 ms
(1.03%)
1
SAVEPOINT DOCTRINE_2
Parameters:
[]
0.46 ms
(0.78%)
1
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"\x01›Ç¤/+wƱŒvØÿ¢}p"
]
0.36 ms
(0.62%)
1
RELEASE SAVEPOINT DOCTRINE_2
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 22
App\Entity\ScaleProductCount 22
App\Entity\Board 1
App\Entity\Shelf 1
App\Entity\Product 1
App\Entity\Updatable 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.