![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Well pretty simple really, the container does not physically exist on the drive. I have checked the storage group and the storage-path exists on the D: Drive but no container file/s in the path specified. I then ran the stored procedure and monitored disc read/write usage via Windows Resource Monitor and only the C: container files were being used. I then changed the SP to use the manual tablespace I created and added multiple containers (using the add to stripe set 0 clause) and re-ran it. That worked just fine, resource monitor showed both containers being written to (curious however only the C: was being read from). I have dropped and re-added the storage path, stopped and started db2, still no containers exist on D: nor is it being used when the SP is pointing to the user temporary tablespace that uses automatic storage. |
#12
| |||
| |||
|
#13
| |||
| |||
|
#14
| |||
| |||
|
|
That seems to work fine on a data tablespace, so it's only user temporary tablespaces I need to watch out for then, which effectively rules out using an automatic storage dms user temporary tablespace for any stored procedure. Me thinks the online documentation should say so in large bold letters .. heh. Thanks so much for your patience and help, appreciate it. Will post again perhaps when I gather the courage to make the changes to my 4 data tablespaces .. lol. |
#15
| |||
| |||
|
#16
| |||
| |||
|
|
Additionally, SELECT * FROM TABLE(MON_GET_CONTAINER('',-2)) AS t only shows 1 container for the newly added automatic storage tablespace. And, SELECT * FROM TABLE(ADMIN_GET_STORAGE_PATHS('',-1)) AS T shows IBMSTOGROUP 0 0 C:\DB2\CONTAINERS\TABLESPACES IN_USE 0 3124103852 499273166848 118449278976 380622561280 IBMSTOGROUP 0 0 D:\DB2\CONTAINERS\TABLESPACES NOT_IN_USE 1 3893546797 250057060352 114136899584 135920160768 IE: Not in Use. |
#17
| |||
| |||
|
|
uhhhh why would that be when all documentation points to DMS being better for performance ? I've been using DMS tablespaces for ALL temporary tablespaces (TEMPSPACE1 / USERSPACE1 included) ever since I started reading and self-learning about db2 without issue so far to date. I have literally hundreds of SP that make use of such every day and they all perform very well from what I can tell (with the limited hardware I have). SYSCATSPACE & SYSTOOLSPACE are the only SMS tablespaces I have. |
#18
| |||
| |||
|
#19
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |