Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to shrink a database on Linux?

Re: How to shrink a database on Linux?

From: Howard J. Rogers <howardjr_at_www.com>
Date: Fri, 7 Sep 2001 23:34:52 +1000
Message-ID: <3b98cc04@news.iprimus.com.au>

"Some One Else" <algernon_at_spamcop.net> wrote in message news:MOZl7.95371$MC1.30735949_at_news1.elcjn1.sdca.home.com...
>
> Ok, I finally got Oracle 8.1.7 to install on Linux Mandrake 8. I used the
> Dbassist to create the database. At that time I had about 400 megs or more
> left on a 1.8 meg drive.
>
> Then I ran a thrasher test program. And it ate all my space creating the
> test table. So I dropped the test table. But Oracle hasn't relinquished
the
> space it gobbled up. How do I get the database to shrink?

alter database datafile '/bing/bong/blah.dbf' resize 10M (pick an appropriate size).

Regards
HJR
>
> If that's not possible, how do I safely delete the database without having
> to do another (12th ?) nightmarish install?
>
> Thanks everyone!
Received on Fri Sep 07 2001 - 08:34:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US