Query Metrics
50
Database Queries
22
Different statements
267.40 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
37.44 ms (14.00%) |
4 |
"COMMIT"
Parameters:
[] |
19.25 ms (7.20%) |
5 |
SELECT t0.id AS id_1, t0.battery AS battery_2, t0.udid AS udid_3, t0.mac AS mac_4, t0.record_status AS record_status_5, t0.route AS route_6, t0.create_ts AS create_ts_7, t0.create_by AS create_by_8, t0.update_ts AS update_ts_9, t0.update_by AS update_by_10, t0.delete_ts AS delete_ts_11, t0.delete_by AS delete_by_12, t0.patient_id AS patient_id_13, t14.id AS id_15, t14.create_ts AS create_ts_16, t14.create_by AS create_by_17, t14.update_ts AS update_ts_18, t14.update_by AS update_by_19, t14.delete_ts AS delete_ts_20, t14.delete_by AS delete_by_21, t14.ibeacon_id AS ibeacon_id_22, t23.id AS id_24, t23.create_ts AS create_ts_25, t23.create_by AS create_by_26, t23.update_ts AS update_ts_27, t23.update_by AS update_by_28, t23.delete_ts AS delete_ts_29, t23.delete_by AS delete_by_30, t23.ibeacon_id AS ibeacon_id_31, t32.id AS id_33, t32.last_api_location AS last_api_location_34, t32.last_api_seen_time AS last_api_seen_time_35, t32.last_api_seen_timestamp AS last_api_seen_timestamp_36, t32.create_ts AS create_ts_37, t32.create_by AS create_by_38, t32.update_ts AS update_ts_39, t32.update_by AS update_by_40, t32.delete_ts AS delete_ts_41, t32.delete_by AS delete_by_42, t32.ibeacon_id AS ibeacon_id_43, t0.ibeaconMap_id AS ibeaconMap_id_44 FROM patient_ibeacon t0 LEFT JOIN ibeacon_low_battery_alert t14 ON t14.ibeacon_id = t0.id LEFT JOIN ibeacon_dispose t23 ON t23.ibeacon_id = t0.id LEFT JOIN ibeacon_last_seen t32 ON t32.ibeacon_id = t0.id WHERE t0.mac = ? LIMIT 1
Parameters:
[
4425
]
|
16.48 ms (6.16%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET address = ? WHERE rev = ? AND id = ?
Parameters:
[ "香港葵涌油麻磡路248號" "1611965" 405875 ] |
16.43 ms (6.14%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET latitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "22.371999998457" "1611965" 405875 ] |
14.35 ms (5.37%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET created_at = ? WHERE rev = ? AND id = ?
Parameters:
[ "2025-05-10 12:05:16" "1611965" 405875 ] |
14.30 ms (5.35%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET status = ? WHERE rev = ? AND id = ?
Parameters:
[ "SKIPPED" "1611965" 405875 ] |
14.06 ms (5.26%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET error = ? WHERE rev = ? AND id = ?
Parameters:
[ "" "1611965" 405875 ] |
12.93 ms (4.84%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_signal = ? WHERE rev = ? AND id = ?
Parameters:
[ "LoRa" "1611965" 405875 ] |
12.82 ms (4.80%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_id = ? WHERE rev = ? AND id = ?
Parameters:
[ 297 "1611965" 405875 ] |
12.78 ms (4.78%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET session_id = ? WHERE rev = ? AND id = ?
Parameters:
[ "681ed07c1a351" "1611965" 405875 ] |
12.23 ms (4.57%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET gpsacc = ? WHERE rev = ? AND id = ?
Parameters:
[ 1220 "1611965" 405875 ] |
12.10 ms (4.53%) |
4 |
"START TRANSACTION"
Parameters:
[] |
11.92 ms (4.46%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET cached = ? WHERE rev = ? AND id = ?
Parameters:
[ 1 "1611965" 405875 ] |
11.54 ms (4.31%) |
2 |
UPDATE ibeacon_update_api_call_log_audit SET longitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "114.13240000415" "1611965" 405875 ] |
7.29 ms (2.73%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.major AS major_3, t0.minor AS minor_4, t0.create_ts AS create_ts_5, t0.create_by AS create_by_6, t0.update_ts AS update_ts_7, t0.update_by AS update_by_8, t0.delete_ts AS delete_ts_9, t0.delete_by AS delete_by_10, t11.id AS id_12, t11.battery AS battery_13, t11.udid AS udid_14, t11.mac AS mac_15, t11.record_status AS record_status_16, t11.route AS route_17, t11.create_ts AS create_ts_18, t11.create_by AS create_by_19, t11.update_ts AS update_ts_20, t11.update_by AS update_by_21, t11.delete_ts AS delete_ts_22, t11.delete_by AS delete_by_23, t11.patient_id AS patient_id_24, t11.ibeaconMap_id AS ibeaconMap_id_25, t0.ibeaconType_id AS ibeaconType_id_26 FROM ibeacon t0 LEFT JOIN patient_ibeacon t11 ON t11.ibeaconMap_id = t0.id WHERE t0.id = ?
Parameters:
[
18610
]
|
6.59 ms (2.46%) |
2 |
INSERT INTO ibeacon_update_api_call_log (latitude, longitude, gpsacc, ibeacon_signal, address, status, error, cached, created_at, session_id, ibeacon_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => "22.371999998457" 2 => "114.13240000415" 3 => 1220 4 => "LoRa" 5 => "香港葵涌油麻磡路248號" 6 => "SKIPPED" 7 => "" 8 => 1 9 => "2025-05-10 12:05:16" 10 => "681ed07c1a351" 11 => 297 ] |
6.50 ms (2.43%) |
2 |
UPDATE ibeacon_last_seen SET last_api_location = ?, last_api_seen_timestamp = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.371999998457103,"long":114.13240000415479,"address":"\u9999\u6e2f\u8475\u6d8c\u6cb9\u9ebb\u78e1\u8def248\u865f","gpsacc":1220,"signal":"LoRa"}" 1746849916.0 "2025-05-10 12:05:16" 270 ] |
6.38 ms (2.39%) |
2 |
INSERT INTO revisions (timestamp, username) VALUES (?, ?)
Parameters:
[ "2025-05-10 12:05:16" "anon." ] |
6.32 ms (2.36%) |
2 |
INSERT INTO ibeacon_update_api_call_log_audit (rev, revtype, ibeacon_id, id, latitude, longitude, gpsacc, ibeacon_signal, address, status, error, cached, created_at, session_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ "1611965" "INS" 297 405875 "22.371999998457" "114.13240000415" 1220 "LoRa" "香港葵涌油麻磡路248號" "SKIPPED" "" 1 "2025-05-10 12:05:16" "681ed07c1a351" ] |
6.31 ms (2.36%) |
2 |
INSERT INTO ibeacon_last_seen_history (timestamp, latitude, longitude, address, gpsacc, ibeacon_signal, create_ts, create_by, update_ts, update_by, delete_ts, delete_by, lastSeen_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => "1746849916" 2 => "22.371999998457" 3 => "114.13240000415" 4 => "香港葵涌油麻磡路248號" 5 => "1220" 6 => "LoRa" 7 => "2025-05-10 12:05:16" 8 => null 9 => "2025-05-10 12:05:16" 10 => null 11 => null 12 => null 13 => 270 ] |
6.27 ms (2.34%) |
2 |
UPDATE ibeacon_last_seen SET last_api_location = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.371999998457103,"long":114.13240000415479,"address":"\u9999\u6e2f\u8475\u6d8c\u6cb9\u9ebb\u78e1\u8def248\u865f","gpsacc":1220,"signal":"LoRa","type":"1"}" "2025-05-10 12:05:16" 270 ] |
3.12 ms (1.17%) |
1 |
SELECT t0.id AS id_1, t0.major AS major_2, t0.type AS type_3, t0.create_ts AS create_ts_4, t0.create_by AS create_by_5, t0.update_ts AS update_ts_6, t0.update_by AS update_by_7, t0.delete_ts AS delete_ts_8, t0.delete_by AS delete_by_9 FROM ibeacon_type t0 WHERE t0.id = ?
Parameters:
[
10
]
|
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.
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\PatientIbeacon | No errors. |
App\Entity\Patient | No errors. |
App\Entity\IbeaconLowBatteryAlert | No errors. |
App\Entity\IbeaconDispose | No errors. |
App\Entity\IbeaconLastSeen | No errors. |
App\Entity\Ibeacon | No errors. |
App\Entity\IbeaconUpdateApiCallLog | No errors. |
App\Entity\IbeaconLastSeenHistory | No errors. |
App\Entity\IbeaconType | No errors. |
App\Entity\User | No errors. |