删除千万百万级别表
delete from 表名nologging where Score_Date = to_date('2018-09-03','yyyy-mm-dd')
nologging 不生成日志
删除此表的所有索引,主外键。(注意:将生成主外键,索引的sql语句备份
删除数据,然后恢复主外键及索引。(备份的语句运行即可,美滋滋)
delete from 表名nologging where Score_Date = to_date('2018-09-03','yyyy-mm-dd')
nologging 不生成日志
删除此表的所有索引,主外键。(注意:将生成主外键,索引的sql语句备份
删除数据,然后恢复主外键及索引。(备份的语句运行即可,美滋滋)