tablespace_db2zOS.sql 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -- Licensed Materials - Property of IBM
  2. -- BI and PM: Mobile
  3. -- (C) Copyright IBM Corp. 2007, 2012
  4. -- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. --
  6. -- This script creates the tablespaces for IBM DB2 on z/OS.
  7. --
  8. -- Modifications:
  9. --
  10. -- 1) Change COGMOBDB to the desired database name.
  11. -- 2) Change DB0AUSR to the desired storage group name.
  12. -- 3) Change BP32K with the name of the 8K buffer pool, allocated for regular objects.
  13. -- 4) Note: PRIQTY, SECQTY, DSSIZE, SEGSIZE, ERASE,
  14. -- GBPCACHE, FREEPAGE, PCTFREE, TRACKMOD,
  15. -- CCSID, COMPRESS, CLOSE are estimated values, your
  16. -- requirements may differ.
  17. ------------------------------------------------------------------------
  18. --*Tablespace CREATION DDL --
  19. ------------------------------------------------------------------------
  20. CREATE TABLESPACE COGMOBTS IN COGMOBDB
  21. USING STOGROUP DB0AUSR PRIQTY 100000 SECQTY 100000
  22. ERASE NO
  23. FREEPAGE 0 PCTFREE 5
  24. TRACKMOD YES
  25. COMPRESS NO GBPCACHE CHANGED
  26. SEGSIZE 4
  27. CCSID UNICODE
  28. BUFFERPOOL BP32K
  29. LOCKSIZE ANY LOCKMAX SYSTEM
  30. CLOSE NO
  31. /
  32. CREATE LOB TABLESPACE MOBTSL01 IN COGMOBDB
  33. USING STOGROUP DB0AUSR PRIQTY 1600 SECQTY 10016
  34. ERASE NO
  35. GBPCACHE SYSTEM
  36. DSSIZE 4G
  37. BUFFERPOOL BP32K
  38. LOCKSIZE LOB LOCKMAX 0
  39. CLOSE YES
  40. /