Query Metrics
78
Database Queries
22
Different statements
409.84 ms
Query time
0
Invalid entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 3.64 ms |
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:
[
4474
]
|
2 | 3.15 ms |
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
]
|
3 | 2.84 ms |
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
]
|
4 | 2.74 ms |
"START TRANSACTION"
Parameters:
[] |
5 | 3.36 ms |
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.372799998445" 2 => "114.11860000418" 3 => 1220 4 => "LoRa" 5 => "香港荃灣青山公路 - 荃灣段200號" 6 => "SKIPPED" 7 => "" 8 => 1 9 => "2025-04-07 09:20:04" 10 => "67f32844d8953" 11 => 297 ] |
6 | 2.85 ms |
INSERT INTO revisions (timestamp, username) VALUES (?, ?)
Parameters:
[ "2025-04-07 09:20:04" "anon." ] |
7 | 2.86 ms |
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:
[ "1594751" "INS" 297 388669 "22.372799998445" "114.11860000418" 1220 "LoRa" "香港荃灣青山公路 - 荃灣段200號" "SKIPPED" "" 1 "2025-04-07 09:20:04" "67f32844d8953" ] |
8 | 3.37 ms |
UPDATE ibeacon_last_seen SET last_api_location = ?, last_api_seen_timestamp = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.37279999844525,"long":114.11860000417707,"address":"\u9999\u6e2f\u8343\u7063\u9752\u5c71\u516c\u8def - \u8343\u7063\u6bb5200\u865f","gpsacc":1220,"signal":"LoRa"}" 1743988805.0 "2025-04-07 09:20:04" 270 ] |
9 | 8.91 ms |
"COMMIT"
Parameters:
[] |
10 | 6.53 ms |
UPDATE ibeacon_update_api_call_log_audit SET latitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "22.372799998445" "1594751" 388669 ] |
11 | 4.76 ms |
UPDATE ibeacon_update_api_call_log_audit SET longitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "114.11860000418" "1594751" 388669 ] |
12 | 5.68 ms |
UPDATE ibeacon_update_api_call_log_audit SET gpsacc = ? WHERE rev = ? AND id = ?
Parameters:
[ 1220 "1594751" 388669 ] |
13 | 10.26 ms |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_signal = ? WHERE rev = ? AND id = ?
Parameters:
[ "LoRa" "1594751" 388669 ] |
14 | 5.11 ms |
UPDATE ibeacon_update_api_call_log_audit SET address = ? WHERE rev = ? AND id = ?
Parameters:
[ "香港荃灣青山公路 - 荃灣段200號" "1594751" 388669 ] |
15 | 5.02 ms |
UPDATE ibeacon_update_api_call_log_audit SET status = ? WHERE rev = ? AND id = ?
Parameters:
[ "SKIPPED" "1594751" 388669 ] |
16 | 4.67 ms |
UPDATE ibeacon_update_api_call_log_audit SET error = ? WHERE rev = ? AND id = ?
Parameters:
[ "" "1594751" 388669 ] |
17 | 5.67 ms |
UPDATE ibeacon_update_api_call_log_audit SET cached = ? WHERE rev = ? AND id = ?
Parameters:
[ 1 "1594751" 388669 ] |
18 | 4.90 ms |
UPDATE ibeacon_update_api_call_log_audit SET created_at = ? WHERE rev = ? AND id = ?
Parameters:
[ "2025-04-07 09:20:04" "1594751" 388669 ] |
19 | 8.45 ms |
UPDATE ibeacon_update_api_call_log_audit SET session_id = ? WHERE rev = ? AND id = ?
Parameters:
[ "67f32844d8953" "1594751" 388669 ] |
20 | 4.84 ms |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_id = ? WHERE rev = ? AND id = ?
Parameters:
[ 297 "1594751" 388669 ] |
21 | 3.72 ms |
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:
[
4474
]
|
22 | 3.11 ms |
"START TRANSACTION"
Parameters:
[] |
23 | 3.17 ms |
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 => "1743988805" 2 => "22.372799998445" 3 => "114.11860000418" 4 => "香港荃灣青山公路 - 荃灣段200號" 5 => "1220" 6 => "LoRa" 7 => "2025-04-07 09:20:05" 8 => null 9 => "2025-04-07 09:20:05" 10 => null 11 => null 12 => null 13 => 270 ] |
24 | 3.02 ms |
UPDATE ibeacon_last_seen SET last_api_location = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.37279999844525,"long":114.11860000417707,"address":"\u9999\u6e2f\u8343\u7063\u9752\u5c71\u516c\u8def - \u8343\u7063\u6bb5200\u865f","gpsacc":1220,"signal":"LoRa","type":"1"}" "2025-04-07 09:20:05" 270 ] |
25 | 11.22 ms |
"COMMIT"
Parameters:
[] |
26 | 6.85 ms |
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:
[
44120
]
|
27 | 3.48 ms |
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:
[
44220
]
|
28 | 3.26 ms |
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:
[
18640
]
|
29 | 7.67 ms |
"START TRANSACTION"
Parameters:
[] |
30 | 4.45 ms |
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.279641646032" 2 => "114.16594248302" 3 => 1220 4 => "LoRa" 5 => "香港金鐘夏愨道18號" 6 => "OK" 7 => "" 8 => 1 9 => "2025-04-07 09:20:05" 10 => "67f32844d8953" 11 => 286 ] |
31 | 2.93 ms |
INSERT INTO revisions (timestamp, username) VALUES (?, ?)
Parameters:
[ "2025-04-07 09:20:05" "anon." ] |
32 | 3.96 ms |
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:
[ "1594752" "INS" 286 388670 "22.279641646032" "114.16594248302" 1220 "LoRa" "香港金鐘夏愨道18號" "OK" "" 1 "2025-04-07 09:20:05" "67f32844d8953" ] |
33 | 3.16 ms |
UPDATE ibeacon_last_seen SET last_api_location = ?, last_api_seen_timestamp = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.279641646032303,"long":114.16594248301683,"address":"\u9999\u6e2f\u91d1\u9418\u590f\u6128\u905318\u865f","gpsacc":1220,"signal":"LoRa"}" 1743988805.0 "2025-04-07 09:20:05" 259 ] |
34 | 10.50 ms |
"COMMIT"
Parameters:
[] |
35 | 4.86 ms |
UPDATE ibeacon_update_api_call_log_audit SET latitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "22.279641646032" "1594752" 388670 ] |
36 | 5.90 ms |
UPDATE ibeacon_update_api_call_log_audit SET longitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "114.16594248302" "1594752" 388670 ] |
37 | 6.04 ms |
UPDATE ibeacon_update_api_call_log_audit SET gpsacc = ? WHERE rev = ? AND id = ?
Parameters:
[ 1220 "1594752" 388670 ] |
38 | 7.02 ms |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_signal = ? WHERE rev = ? AND id = ?
Parameters:
[ "LoRa" "1594752" 388670 ] |
39 | 6.71 ms |
UPDATE ibeacon_update_api_call_log_audit SET address = ? WHERE rev = ? AND id = ?
Parameters:
[ "香港金鐘夏愨道18號" "1594752" 388670 ] |
40 | 4.85 ms |
UPDATE ibeacon_update_api_call_log_audit SET status = ? WHERE rev = ? AND id = ?
Parameters:
[ "OK" "1594752" 388670 ] |
41 | 4.81 ms |
UPDATE ibeacon_update_api_call_log_audit SET error = ? WHERE rev = ? AND id = ?
Parameters:
[ "" "1594752" 388670 ] |
42 | 4.90 ms |
UPDATE ibeacon_update_api_call_log_audit SET cached = ? WHERE rev = ? AND id = ?
Parameters:
[ 1 "1594752" 388670 ] |
43 | 6.42 ms |
UPDATE ibeacon_update_api_call_log_audit SET created_at = ? WHERE rev = ? AND id = ?
Parameters:
[ "2025-04-07 09:20:05" "1594752" 388670 ] |
44 | 6.25 ms |
UPDATE ibeacon_update_api_call_log_audit SET session_id = ? WHERE rev = ? AND id = ?
Parameters:
[ "67f32844d8953" "1594752" 388670 ] |
45 | 4.96 ms |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_id = ? WHERE rev = ? AND id = ?
Parameters:
[ 286 "1594752" 388670 ] |
46 | 4.79 ms |
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:
[
44220
]
|
47 | 4.19 ms |
"START TRANSACTION"
Parameters:
[] |
48 | 6.37 ms |
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 => "1743988805" 2 => "22.279641646032" 3 => "114.16594248302" 4 => "香港金鐘夏愨道18號" 5 => "1220" 6 => "LoRa" 7 => "2025-04-07 09:20:05" 8 => null 9 => "2025-04-07 09:20:05" 10 => null 11 => null 12 => null 13 => 259 ] |
49 | 3.39 ms |
UPDATE ibeacon_last_seen SET last_api_location = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.279641646032303,"long":114.16594248301683,"address":"\u9999\u6e2f\u91d1\u9418\u590f\u6128\u905318\u865f","gpsacc":1220,"signal":"LoRa","type":"1"}" "2025-04-07 09:20:05" 259 ] |
50 | 7.57 ms |
"COMMIT"
Parameters:
[] |
51 | 3.51 ms |
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:
[
44240
]
|
52 | 3.39 ms |
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:
[
44258
]
|
53 | 5.53 ms |
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:
[
44300
]
|
54 | 3.41 ms |
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:
[
44481
]
|
55 | 3.25 ms |
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:
[
18599
]
|
56 | 2.87 ms |
"START TRANSACTION"
Parameters:
[] |
57 | 4.16 ms |
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.278699998522" 2 => "114.167900004" 3 => 1220 4 => "LoRa" 5 => "香港灣仔軍器廠街1號" 6 => "SKIPPED" 7 => "" 8 => 1 9 => "2025-04-07 09:20:05" 10 => "67f32844d8953" 11 => 287 ] |
58 | 5.08 ms |
INSERT INTO revisions (timestamp, username) VALUES (?, ?)
Parameters:
[ "2025-04-07 09:20:05" "anon." ] |
59 | 2.98 ms |
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:
[ "1594753" "INS" 287 388671 "22.278699998522" "114.167900004" 1220 "LoRa" "香港灣仔軍器廠街1號" "SKIPPED" "" 1 "2025-04-07 09:20:05" "67f32844d8953" ] |
60 | 2.99 ms |
UPDATE ibeacon_last_seen SET last_api_location = ?, last_api_seen_timestamp = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.278699998521642,"long":114.16790000400349,"address":"\u9999\u6e2f\u7063\u4ed4\u8ecd\u5668\u5ee0\u88571\u865f","gpsacc":1220,"signal":"LoRa"}" 1743988805.0 "2025-04-07 09:20:05" 260 ] |
61 | 9.14 ms |
"COMMIT"
Parameters:
[] |
62 | 5.08 ms |
UPDATE ibeacon_update_api_call_log_audit SET latitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "22.278699998522" "1594753" 388671 ] |
63 | 5.30 ms |
UPDATE ibeacon_update_api_call_log_audit SET longitude = ? WHERE rev = ? AND id = ?
Parameters:
[ "114.167900004" "1594753" 388671 ] |
64 | 5.14 ms |
UPDATE ibeacon_update_api_call_log_audit SET gpsacc = ? WHERE rev = ? AND id = ?
Parameters:
[ 1220 "1594753" 388671 ] |
65 | 6.10 ms |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_signal = ? WHERE rev = ? AND id = ?
Parameters:
[ "LoRa" "1594753" 388671 ] |
66 | 8.72 ms |
UPDATE ibeacon_update_api_call_log_audit SET address = ? WHERE rev = ? AND id = ?
Parameters:
[ "香港灣仔軍器廠街1號" "1594753" 388671 ] |
67 | 12.76 ms |
UPDATE ibeacon_update_api_call_log_audit SET status = ? WHERE rev = ? AND id = ?
Parameters:
[ "SKIPPED" "1594753" 388671 ] |
68 | 5.18 ms |
UPDATE ibeacon_update_api_call_log_audit SET error = ? WHERE rev = ? AND id = ?
Parameters:
[ "" "1594753" 388671 ] |
69 | 11.75 ms |
UPDATE ibeacon_update_api_call_log_audit SET cached = ? WHERE rev = ? AND id = ?
Parameters:
[ 1 "1594753" 388671 ] |
70 | 5.09 ms |
UPDATE ibeacon_update_api_call_log_audit SET created_at = ? WHERE rev = ? AND id = ?
Parameters:
[ "2025-04-07 09:20:05" "1594753" 388671 ] |
71 | 6.20 ms |
UPDATE ibeacon_update_api_call_log_audit SET session_id = ? WHERE rev = ? AND id = ?
Parameters:
[ "67f32844d8953" "1594753" 388671 ] |
72 | 9.95 ms |
UPDATE ibeacon_update_api_call_log_audit SET ibeacon_id = ? WHERE rev = ? AND id = ?
Parameters:
[ 287 "1594753" 388671 ] |
73 | 3.48 ms |
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:
[
44481
]
|
74 | 2.67 ms |
"START TRANSACTION"
Parameters:
[] |
75 | 2.93 ms |
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 => "1743988805" 2 => "22.278699998522" 3 => "114.167900004" 4 => "香港灣仔軍器廠街1號" 5 => "1220" 6 => "LoRa" 7 => "2025-04-07 09:20:05" 8 => null 9 => "2025-04-07 09:20:05" 10 => null 11 => null 12 => null 13 => 260 ] |
76 | 2.93 ms |
UPDATE ibeacon_last_seen SET last_api_location = ?, update_ts = ? WHERE id = ?
Parameters:
[ "{"lat":22.278699998521642,"long":114.16790000400349,"address":"\u9999\u6e2f\u7063\u4ed4\u8ecd\u5668\u5ee0\u88571\u865f","gpsacc":1220,"signal":"LoRa","type":"1"}" "2025-04-07 09:20:05" 260 ] |
77 | 7.71 ms |
"COMMIT"
Parameters:
[] |
78 | 3.39 ms |
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:
[
44500
]
|
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. |