?
Solved

Oracle 9i - return space after SQLPLUS  TRUNCATE

Posted on 2009-05-08
1
Medium Priority
?
801 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

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

TRUNCATE TABLE MyTable DROP STORAGE;
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Suggested Courses

743 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