Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个由某人从另一个表创建的巨大表,并且想要删除它。我没有截断/删除表的权利。什么是最好的解决方案。它在甲骨文中。
现在我打算给一个简单的Delete * from table
Delete * from table
如果 DELETE 对您来说花费的时间太长,并且您没有 TRUNCATE 或 DROP 表的权限,那么我看到的唯一解决方案是让您的 DBA 为您做这件事!
将表转换为分区表,并删除有问题的分区。后者将需要几秒钟。