home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / oracle / 2125 < prev    next >
Encoding:
Text File  |  1992-11-06  |  1.9 KB  |  43 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!gdstech!un
  3. From: un@gdstech.grumman.com (Un Fu)
  4. Subject: Thanks for the solution : ) to "extent allocation?" & "Help! Oracle problem or my problem?"!
  5. Message-ID: <1992Nov2.191506.23604@gdstech.grumman.com>
  6. Sender: un@gdstech.grumman.com (Un Fu)
  7. Organization: Grumman Data Systems-Woodbury
  8. Date: Mon, 2 Nov 1992 19:15:06 GMT
  9. Lines: 32
  10.  
  11. I would like to thanks all the responsers to my posting of
  12. the following two qestions on the net:
  13.  
  14.      "extent allocations"?
  15.      "Help! Oracle problem or my problem?"
  16.  
  17. Andy Finkenstadt, Scott Stephens => Thanks for the dummy table solution!
  18.                     I am so glad there is a way to get around
  19.                     the problem.  I would never figure it out
  20.                     myself.
  21.  
  22. To the responsers that told me there is no way out, here is the work
  23. around:
  24.  
  25.                                   # of bytes
  26.                                                             |
  27. CREATE TABLE BIG_TEMP (PARAM1 CHAR(10)) STORAGE (INITIAL 1000000 MINEXTENTS 1);
  28. DROP TABLE BIG_TEMP; 
  29.  
  30. As Scott and Andy stated to me, Oracle first looks for exact fit, then best
  31. fit, and then coalesce of smaller, CONTIGUOUS, extents when it allocates
  32. extents for object creation.  The DUMMY table creation above will force
  33. the coalesce of smaller, contiguous, extents into one large extent.  
  34. I tried the solution and it worked, awesome!  You might have to coalesce
  35. the small extents in several passes if you have many.  I ran into an
  36. insufficient row_cache_enqueues error when I tried to coalesce 5000 blocks
  37. at once.
  38. -- 
  39. ****************************************************************************
  40. Un Un Fu                                    Internet: un@gdstech.grumman.com
  41. Disclaimer: I am solely responsible for what I am saying here!
  42. ****************************************************************************
  43.