vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| All, I'm new to the concept of automatic storage... I'm looking at the database setup by a vendor. I see few tablespaces showing up with automatic storage - Yes. Tablespace ID = 0 Name = SYSCATSPACE Type = Database managed space Tablespace ID = 1 Name = TEMPSPACE1 Type = System managed space Tablespace ID = 2 Name = USERSPACE1 Type = Database managed space How do I expand the tablespaces that are DMS? Or do I need to expand the tablespaces... WIll it be automatic? Thanks - beena |
| |||
| beena wrote: > All, > I'm new to the concept of automatic storage... > I'm looking at the database setup by a vendor. I see few tablespaces > showing up with automatic storage - Yes. > Tablespace ID = 0 > Name = SYSCATSPACE > Type = Database managed space > > Tablespace ID = 1 > Name = TEMPSPACE1 > Type = System managed space > > Tablespace ID = 2 > Name = USERSPACE1 > Type = Database managed space > > How do I expand the tablespaces that are DMS? Or do I need to expand > the tablespaces... WIll it be automatic? > If they are automatic storage, you don't need to do anything. DB2 takes care of extending containers as needed. FYI, Automatic Storage uses SMS and DMS under the covers. Any data tablespaces will use DMS; any temporary tablespaces will use SMS. |
| |||
| On 4月18日, 上午11時00分, Ian <ianb...@mobileaudio.com> wrote: > beena wrote: > > All, > > I'm new to the concept of automatic storage... > > I'm looking at the database setup by a vendor. I see few tablespaces > > showing up with automatic storage - Yes. > > Tablespace ID = 0 > > Name = SYSCATSPACE > > Type = Database managed space > > > Tablespace ID = 1 > > Name = TEMPSPACE1 > > Type = System managed space > > > Tablespace ID = 2 > > Name = USERSPACE1 > > Type = Database managed space > > > How do I expand the tablespaces that are DMS? Or do I need to expand > > the tablespaces... WIll it be automatic? > > If they are automatic storage, you don't need to do anything. DB2 > takes care of extending containers as needed. > > FYI, Automatic Storage uses SMS and DMS under the covers. Any data > tablespaces will use DMS; any temporary tablespaces will use SMS. Is it possible to change/add container for changing/adding path of container? |
| |||
| Because you have specified (or rather the vendor) that tablespaces have automated storage, your documentation will show you that DMS container operations (resize,add,reduce,extend,..) can "not" be executed. Either you manage it or the system does. The choice was done for the system so it won't let you manage it. DB2 will extend and or add containers as it feels it needs. You must ensure that the file system where the container paths are defined are big enough for that. DB2 will not drop nor reduce containers and I don't think (I'm not positive) it will let you do it ! HTH, Pierre. -- Pierre Saint-Jacques SES Consultants Inc. 514-737-4515 "beena" <beena.ram@gmail.com> a 嶰rit dans le message de news: 1176733974.452326.184090@p77g2000hsh.googlegroups. com... > All, > I'm new to the concept of automatic storage... > I'm looking at the database setup by a vendor. I see few tablespaces > showing up with automatic storage - Yes. > Tablespace ID = 0 > Name = SYSCATSPACE > Type = Database managed space > > Tablespace ID = 1 > Name = TEMPSPACE1 > Type = System managed space > > Tablespace ID = 2 > Name = USERSPACE1 > Type = Database managed space > > How do I expand the tablespaces that are DMS? Or do I need to expand > the tablespaces... WIll it be automatic? > > > Thanks > - beena > |
| ||||
| beena wrote: > All, > I'm new to the concept of automatic storage... > I'm looking at the database setup by a vendor. I see few tablespaces > showing up with automatic storage - Yes. > Tablespace ID = 0 > Name = SYSCATSPACE > Type = Database managed space > > Tablespace ID = 1 > Name = TEMPSPACE1 > Type = System managed space > > Tablespace ID = 2 > Name = USERSPACE1 > Type = Database managed space > > How do I expand the tablespaces that are DMS? Or do I need to expand > the tablespaces... WIll it be automatic? > > > Thanks > - beena Beena, You may be getting bitten by the fact that the "LIST TABLESPACES" command doesn't tell you whether a tablespace is defined as automatic storage or not (which IMHO is a real pain). To get this information you'll need to use the "GET SNAPSHOT" command - At TABLESPACE level to see the status of individual tablespaces At DATABASE level to see whether the database itself was defined with automatic storage. HTH Phil |