shootingstar Beginner
Joined: 19 Sep 2004 Posts: 14 Topics: 11 Location: Dallas, TX
|
Posted: Wed Mar 16, 2005 10:39 pm Post subject: Question about SMS and DB2 for space allocation for a table |
|
|
Recently I mistakenly created a table with PRIQTY = 720 and SECQTY = 720. (actually, it was done by a program bug in an automation program). When I loaded approximately 50 million rows into the table I expected to find hundreds of small extents allocated to the dataset. However, it showed 1 extent with 1700 or so cylinders. The system is Z-os on a T-REX with 24 GB of memory, dedicated (nothing else running). I suspect SMS built the tablespace in virtual I/O space while the load was running, then got a single extent of physical space to write it out, but I don't have any evidence to support that idea.
With the automation tool we are trying to predict the space requirements for the table to less than 5% overage. If SMS will allocate the space for an exact fit that would be perfect.
Do any of you have any insights to this?
Thanks. |
|