docs: record storage simplification deployment
This commit is contained in:
@@ -33,12 +33,12 @@
|
||||
1. `vehicle_mileage_points` 与 `vehicle_locations.total_mileage_km` 重复。
|
||||
- 状态:Go 写入链路已停止创建和写入 `vehicle_mileage_points`。
|
||||
- 兼容:`/api/history/mileage-points` 已改为从 `vehicle_locations` 读取 `total_mileage_km IS NOT NULL`。
|
||||
- 删除:确认线上无直接读表后,再删除 TDengine stable 和子表。
|
||||
- 生产:ECS TDengine 历史库已在上线前重建,`vehicle_mileage_points` 不再存在。
|
||||
|
||||
2. `raw_frames.fields_json` 与 `raw_frames.parsed_json`、`vehicle_locations` 重复。
|
||||
- 状态:新建 raw schema 和 raw 写入已停止使用 `fields_json`。
|
||||
- 兼容:raw 查询只选择公共列,不依赖 `fields_json`;旧表保留该列也不影响查询。
|
||||
- 删除:等历史查询和前端不再展示 `fields_json` 后删除列。
|
||||
- 生产:ECS TDengine 历史库已在上线前重建,`raw_frames` 不再包含 `fields_json`。
|
||||
|
||||
3. `vehicle_daily_metric` 的 `vehicle_key` 与 `vin` 同时存在。
|
||||
- 当前保留原因:JT808 可能先用 phone 作为临时 key,后续才绑定 VIN。
|
||||
|
||||
Reference in New Issue
Block a user