https://blog.csdn.net/hzw19920329/article/details/78045864sql
我恢復的是大數據表vehicle_gps_history。直接從舊庫拷貝來的vehicle_gps_history.frm文件和vehicle_gps_history.ibd文件。大數據
由於新庫的vehicle_gps_history.frm文件和舊庫的vehicle_gps_history.frm文件必定是同樣的(sql建表語句一致),因此結構確定是同樣的。我直接關注的就是數據的恢復。spa
alter table vehicle_gps_history discard tablespace;.net
alter table vehicle_gps_history import tablespace;blog
這裏可能會執行一些時間,並不長。get
發現數據已經恢復。table