bill_chenjw 发表于 2009-02-12 16:28

DB2 DMS 表空间自动调整大小

大家好,

    我的数据库的表空间是自动调整大小(AUTORESIZE),版本是8.3,请问在哪里能看到是自动调整大小,谢谢!

bill_chenjw 发表于 2009-02-12 16:43

ALL,

    补充: 我的数据库的表空间是自动调整大小(AUTORESIZE),表空间是managed by database, 版本是8.3,请问在哪里能看到是自动调整大小,谢谢!

wangzhonnewnew 发表于 2009-02-18 02:34

there's no db2 v8.3 in the world....
tablespace snapshot should show you whether it's autoresize or not
Tablespace name                            = TS1
Tablespace ID                            = 7
Tablespace Type                        = Database managed space
Tablespace Content Type                  = All permanent data. Large table space.
Tablespace Page size (bytes)             = 8192
Tablespace Extent size (pages)         = 32
Automatic Prefetch size enabled          = Yes
Buffer pool ID currently in use          = 1
Buffer pool ID next startup            = 1
Using automatic storage                  = No
Auto-resize enabled                      = Yes
File system caching                      = No
Tablespace State                         = 0x'00000000'
   Detailed explanation:
   Normal
Tablespace Prefetch size (pages)         = 32
Total number of pages                  = 1000
Number of usable pages                   = 960

bill_chenjw 发表于 2009-02-19 12:59

原帖由 wangzhonnewnew 于 2009-2-18 02:34 发表 http://bbs2.chinaunix.net/images/common/back.gif
there's no db2 v8.3 in the world....
tablespace snapshot should show you whether it's autoresize or not
Tablespace name                            = TS1
Tablespace ID                         ...


HI,
应该还要 Using automatic storage=YES 和 Auto-resize enabled   = Yes这两个参数同时满足才可以,是吗?

wangzhonnewnew 发表于 2009-02-19 23:28

not really, auto resize is automatical increase of the size when it's full...
automatic storage is another thing, let db2 to decide whether to use SMS or DMS and put to which location

bill_chenjw 发表于 2009-03-05 17:44

回复 #5 wangzhonnewnew 的帖子

如果说我们的TABLESPACE是自动增长的,能否手工加CONTAINER.

net_lin 发表于 2009-03-08 12:29

db2pd -tablespace可以看到,如果是autostorage的话只能增加加storage path,不能加container

bill_chenjw 发表于 2009-03-11 17:42

回复 #7 net_lin 的帖子

谢谢!
如果说Using automatic storage= YES的话,只能加storage path,不能加container.
如果说   Auto-resize enabled       = Yes的话,还是可以加container.是这样的吗?
页: [1]
查看完整版本: DB2 DMS 表空间自动调整大小