有1千万条数据要删除9百9十万条,怎么搞

解决方案 »

  1.   

    ctas,then drop old table,and rename new table.
      

  2.   

    http://www.eygle.com/archives/2005/04/oracleoeouaeeae.html
      

  3.   

    http://www.eygle.com/archives/2005/04/oracleoeouaeeae.html 这里讲 删除700万大约27分钟ctas,then drop old table,and rename new table.把表改名,然后建新表(表名字跟原来的一模一样),然后从改名的表里面取出不需要删除的十万条记录插入到新表里面去。就解决了。 上面的两个方法大该概需要多久
      

  4.   

    后面那个的时间主要是花在选择10万数据建表上面create table newtable as select ... from oldtable;drop oldtable操作非常快的。