Solved

Oracle 9i - return space after SQLPLUS  TRUNCATE

Posted on 2009-05-08
1
788 Views
Last Modified: 2013-12-19
I've just deleted a huge amount of data from several tables using the SQLPLUS TRUNCATE command.  Unfortunately this doesn't have any affect on the size of the database backup.  What options do I have for reducing the size of the database and backup files (easiest method first please)?
0
Comment
Question by:patmoli
1 Comment
 
LVL 2

Accepted Solution

by:
mtomeo earned 500 total points
ID: 24338979
Did you try thr DROP STORAGE clause?

TRUNCATE TABLE MyTable DROP STORAGE;
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now