home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / informix / 2503 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.7 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!emory!emory!not-for-mail
  2. From: anasaz!qip.naomi@enuucp.eas.asu.edu (Naomi Walker)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: your mail
  5. Date: 23 Nov 1992 10:13:06 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 46
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1eqse2INNda6@emory.mathcs.emory.edu>
  11. Reply-To: anasaz!qip.naomi@enuucp.eas.asu.edu (Naomi Walker)
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1635>
  14.  
  15. } In article <1eit8cINN5ta@emory.mathcs.emory.edu> you write:
  16. } >> 
  17. } >> In the good old days of SE, a table with a high level of activity
  18. } >> (i.e. deletions/inserts) became riddled with old data row slots 
  19. } >> which were available for re-write, and the index began to look like
  20. } >> swiss cheese.  To correct this periodic unload/loads or cluster
  21. } >> manipulation or ALTER TABLE (same as an unload/load but more user-friendly)
  22. } >> were needed to keep index and data table efficiency at peak.
  23. } >> 
  24. } >> Is this also true of Online?  Or does Online do this automagically?
  25. } >> 
  26. } >Raw Online space does get very fragmented, especially if you are short
  27. } >of room in the partition.  Table extents become very small and numerous
  28. } >and it causes performance problems.  Tables can generally have about
  29. } >240 extents, and it is possible to reach that value and come to a grinding
  30. } >halt.  
  31. } Whoa!  Informix STRONGLY recommends that you try to keep the number of 
  32. } extents at 8 or below to keep performance up.  I personally have seen
  33. } performance begin to fall off when a table reaches more than 10 extents.
  34. } Also, there is a limit to the number of extents per table (it is hard-
  35. } ware and OS dependent -- for a Sun 4/470 running SunOS 4.1.1 and Online
  36. } 4.1 the limit is 213) and if this is exceeded CORRUPTION will result.
  37. } >
  38. I agree *wholeheartedly*, and always try to keep my extents to a minimum.
  39. I'm interested in your statement about corruption.  When we accidently 
  40. exceeded the number of extents, I got errors returned, but I have not
  41. seen corruption.  What have you experienced?
  42.  
  43. } >We regularly monitor all our production systems extents and partition
  44. } >fragmention.  Tbunloading and tbloading the database back typically puts
  45. } >all the data for each table in the first extent (if there is enough 
  46. } >contiguous room).  We then carefully set all the next extents on the
  47. } >tables, to accomodate future growth.  If tbunloading is unreasonable
  48. } >because of the database size, we will create an empty new table, with
  49. } >the first extent set, and copy the data from the old table to the
  50. } >new table.
  51. } >-- 
  52.  
  53.  
  54. -- 
  55.   Naomi Walker  (aka N7FSA)     naomi%anasaz.UUCP@asuvax.eas.asu.edu
  56.  
  57.   Enthusiasm is caught,         In tennis, 
  58.   not taught.                   love means nothing.
  59.