Home > database > After son truncate partition, how to release the disk space?
After son truncate partition, how to release the disk space?
Time:10-09
HIS_P201708 execute the alter table table_name truncate partition partition_name drop storage; Disk space is not released now what operation to perform?
CodePudding user response:
Disk space is not released by delete table or truncate table, because the data file size itself has not changed, you do this, only the corresponding table space available space increased
Need to resize the data file and/or drop datafile/drop TBS will release the space
CodePudding user response:
Disk space release problem not because of who you truncate table it can be released, itself a data file size no change, just table space increases, Release space delete data file drop datafile or drop TB can be release space,