home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / sybase / 617 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.7 KB

  1. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!merlin!resmel.bhp.com.au!n6batws1.itwol.bhp.com.au!phil
  2. Newsgroups: comp.databases.sybase
  3. Subject: Sybase Data Page Allocation
  4. Message-ID: <1993Jan7.103634.268@vulcan.resmel.bhp.com.au>
  5. From: phil@n6batws1.itwol.bhp.com.au (Phil McMillan)
  6. Date: 7 Jan 93 10:36:33 +1000
  7. Distribution: world
  8. Organization: BHP Steel - Slab and Plate Products Division - Port Kembla AUSTRALIA
  9. Nntp-Posting-Host: n6batws1.itwol.bhp.com.au
  10. Lines: 29
  11.  
  12. I have a question regarding the allocation of the 2kbyte data pages when they
  13. become "reserved" by tables.
  14.  
  15. Assume I have a table that typically contains, say, 1000 rows.  If I then for some
  16. reason add an extra 30,000 rows I obviously will take more than a few data pages
  17. from the pool of storage (and at least 8 of them.)
  18.  
  19. From what I understand, these data pages (for indexes and rows) are now owned,
  20. or reserved, by the table.
  21.  
  22. If I delete these 30,000 rows, will/should these data pages become returned to
  23. the pool?
  24.  
  25. The reason I ask this is because some of my tables have far more reserved space
  26. than what is currently needed for the data and indexes, far more than 
  27. the 16kbyte page allocation increment. We use SYBASE in a production environment
  28. and we need to be able to predict how SYBASE will behave in exceptional 
  29. circumstances, hence my interest in how the page allocation mechanism works.
  30.  
  31. -- 
  32.    /\/\     :  Phil McMillan - Electrical / Software Engineer 
  33.   / / /\    :  Engineering Technology Department
  34.  / / /  \   :  BHP Steel - Slab and Plate Products Division
  35. / / / /\ \  :  P.O. Box 1854 Wollongong NSW 2500 AUSTRALIA
  36. \ \/ / / /  :  Phone    +61-42-75-3839
  37.  \  / / /   :  Fax      +61-42-75-7897 
  38.   \/\/\/    :  E-mail   phil@n6batws1.itwol.bhp.com.au
  39.  
  40.  
  41.