文件清理方法、装置、计算机设备以及存储介质
By updating and deleting target snapshots and the files they reference in the data lake, the problem of reducing the number of files on computer devices is solved, achieving the effect of preserving historical data while improving file query performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SANGFOR TECH INC
- Filing Date
- 2022-12-15
- Publication Date
- 2026-07-17
AI Technical Summary
Computer devices struggle to effectively reduce the number of snapshots and files in a data lake while retaining the historical data expected by users, leading to a decline in file query performance.
By acquiring the first and second snapshots to be retained in the data lake, updating the manifest file and data file referenced by the second snapshot based on the manifest file referenced by multiple target snapshots, deleting multiple target snapshots and their referenced files, and merging historical data into the file referenced by the second snapshot, interval deletion is achieved.
While retaining historical data, the number of files is reduced, file query performance is improved, and the computer's operating load is reduced.
Smart Images

Figure CN116150086B_ABST