Maybe better I should clarify my question a bit - why DB2 9.x behave differently and how to make it behaving like DB2 V8 from the creating database point of view?
Now about your recommendation.
Did you mean something like this:
DB2 CREATE DATABASE %Database% AUTOMATIC STORAGE NO USING CODESET UTF-8 TERRITORY US PAGESIZE 8192 CATALOG TABLESPACE MANAGED BY SYSTEM USING 'c:\db2\prod1' EXTENTSIZE 256 PREFETCHSIZE 32 USER TABLESPACE MANAGED BY SYSTEM USING '...' EXTENTSIZE 256 PREFETCHSIZE 32 TEMP TABLESPACE MANAGED BY SYSTEM USING '...' EXTENTSIZE 256 PREFETCHSIZE 32
If yes, sorry but it is somplete _bullshit_!
I do not have to worry about such "technical" parameters at all!
DB2 must provide clear and simple way to maintain default parameters so such statements like "crerate database mydb" will not eat 2Gb disk space.
As for me - the grade "BAD" to the IBM DB2 team if they creating extra complexity instead of controling it and keeping product user friendly!
Main Topics
Browse All Topics





by: momi_sabagPosted on 2009-04-16 at 05:59:41ID: 24157108
by default when you create a database, db2 will create three tablespaces - user, catalog and temp com/infoce nter/db2lu w/v9r5/ ind ex.jsp?top ic=/com.ib m.db2.luw. sql.ref.do c/doc/ r000 0888.html
if you wish to fully control the size of the database, you will need to explictly specify the creation parameters for these tablespaces when you create the database
you can see the full description here
http://publib.boulder.ibm.