home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / oracle / 1391 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  2.1 KB

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