对于数据量过大的表,想清除的话,delete真是不给力。
还不想drop表然后再重建。
请问各位大神,有没有其他的好方法?
------解决方案--------------------------------------------------------
import(load) from /dev/null of del replace into 表名
或者
alter table 表名 activate not logged initially with empty table
------解决方案--------------------------------------------------------
- SQL code
import(load) from /dev/null of del replace into 表名或者alter table 表名 activate not logged initially with empty table
------解决方案--------------------------------------------------------
9.7以后公开支持 truncate table *** immediate