home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!pacbell!oracle!unrepliable!bounce
- Newsgroups: comp.databases.oracle
- From: dbenson@us.oracle.com (Daniel Benson)
- Subject: Re: Freeing disk space
- Message-ID: <1992Aug26.173844.5531@oracle.us.oracle.com>
- Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
- Nntp-Posting-Host: wrpyr.us.oracle.com
- Organization: Oracle Corporation, Redwood Shores CA
- References: <BtK57E.HFE@monitor.com>
- Date: Wed, 26 Aug 1992 17:38:44 GMT
- X-Disclaimer: This message was written by an unauthenticated user
- at Oracle Corporation. The opinions expressed are those
- of the user and not necessarily those of Oracle.
- Lines: 33
-
- In article <BtK57E.HFE@monitor.com> howard@monitor.com (Howard Brenner) writes:
- >When you issues a drop or delete command in oracle (then a commit) does
- >oracle free up the disk space to be reused by someone else or does it just
- >move on to the next block it thinks has been usused? If it doen't "free"
- >the disk is there a way i can tell oracle that I'm really done with it and
- >let it reuse the space. I seem to notice that when I create some very
- >large tablespaces after a lot of drops, creates and deletes i run out of
- >tablespace!
- >
- >thanks!
-
- Howard,
-
- Tablespaces are created for the life of the database. The only way to free up
- the space is to drop the tablespace. There were several problems with block
- cleanup that have been fixed in 6.0.34. One issue is that the kernel doesn't
- always do block cleanup when you do an update or delete because of performance
- considerations. The way to force block cleanup is to do a full table scan.
- Something that most applications try to avoid. Other ideas: check out
- percent used vs. percent free in your create commands. Export, drop, re-create
- and import to recover orphan block space and reduce fragmentation. The DBA
- Guide explains how space is allocated and reused for database objects. -d
- D
- D
- Guide explains how space is allowcated and used for database objects. -d
- C
- C
-
- C
- and import objects to recover
- C
- and import objects to recover space and reduce fragmentation
-
-