473,396 Members | 1,765 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Disable Automatic Storage

Hello,

We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3
which has Automatic Storage (AS) enabled. We want to disable
automatic storage on entire database and/or disable automatic storage
on all tablespaces. DB2 Manual says it once AS is enabled, it cant be
changed. Is there any way to disable the AS or any other alternative?

Please advice.

Thanks in advance.

Myjish.
Jan 15 '08 #1
3 4608
Ian
my******@gmail.com wrote:
Hello,

We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3
which has Automatic Storage (AS) enabled. We want to disable
automatic storage on entire database and/or disable automatic storage
on all tablespaces. DB2 Manual says it once AS is enabled, it cant be
changed. Is there any way to disable the AS or any other alternative?
There is no direct migration path for tablespaces that are currently
managed by automatic storage. However, you don't have to use automatic
storage in a database that has been been configured to use automatic
storage.

There are 2 things you can do:

1) You can always alter the existing tablespaces that are managed by
automatic storage to disable autoextend.

2) You can create new tablespaces that are MANAGED BY SYSTEM and/or
MANAGED BY DATABASE, using whatever container definitions you
want. This could allow you to migrate tables from tablespaces
with automatic storage to standard DMS/SMS tablespaces using
LOAD FROM CURSOR, INSERT INTO ... SELECT, etc.
Jan 16 '08 #2
There are 2 things with AUTOMATIC SPACE MANAGEMENT,
1. AUTOMATIC STORAGE and
2. AUTORESIZE.

I believe, DB2 allows to ENABLE/DISABLE AUTORESIZE for a Tablespace
but not for AUTOMATIC STORAGE.

Infact, i do not see any db2 syntax which DISABLES Automatic Storage.

I have system tablespaces which are defined as AUTOMATIC STORAGE. ie:
SYSCATSPACE, SYSTOOLSPACE etc. Is it possible or safe to export/import
from these tables?

Please advice.

Thanks,
Myjish.

On Jan 16, 2:31*pm, Ian <ianb...@mobileaudio.comwrote:
myjis...@gmail.com wrote:
Hello,
We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3
which has Automatic Storage (AS) enabled. We want todisable
automatic storage on entire database and/ordisableautomatic storage
on all tablespaces. DB2 Manual says it once AS is enabled, it cant be
changed. Is there any way todisablethe AS or any other alternative?

There is no direct migration path for tablespaces that are currently
managed by automatic storage. *However, you don't have to use automatic
storage in a database that has been been configured to use automatic
storage.

There are 2 things you can do:

1) *You can always alter the existing tablespaces that are managed by
* * *automatic storage todisableautoextend.

2) *You can create new tablespaces that are MANAGED BY SYSTEM and/or
* * *MANAGED BY DATABASE, using whatever container definitions you
* * *want. *This could allow you to migrate tables from tablespaces
* * *with automatic storage to standard DMS/SMS tablespaces using
* * *LOAD FROM CURSOR, INSERT INTO ... SELECT, etc.
Jan 17 '08 #3
Hi Myjish,

Just for curiosity, why are you interested in disabling automatic storage ?
Do you have any problems with it ?

Regards,

JM
<to***********@gmail.comwrote in message
news:56**********************************@l32g2000 hse.googlegroups.com...
There are 2 things with AUTOMATIC SPACE MANAGEMENT,
1. AUTOMATIC STORAGE and
2. AUTORESIZE.

I believe, DB2 allows to ENABLE/DISABLE AUTORESIZE for a Tablespace
but not for AUTOMATIC STORAGE.

Infact, i do not see any db2 syntax which DISABLES Automatic Storage.

I have system tablespaces which are defined as AUTOMATIC STORAGE. ie:
SYSCATSPACE, SYSTOOLSPACE etc. Is it possible or safe to export/import
from these tables?

Please advice.

Thanks,
Myjish.


On Jan 16, 2:31 pm, Ian <ianb...@mobileaudio.comwrote:
myjis...@gmail.com wrote:
Hello,
We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3
which has Automatic Storage (AS) enabled. We want todisable
automatic storage on entire database and/ordisableautomatic storage
on all tablespaces. DB2 Manual says it once AS is enabled, it cant be
changed. Is there any way todisablethe AS or any other alternative?

There is no direct migration path for tablespaces that are currently
managed by automatic storage. However, you don't have to use automatic
storage in a database that has been been configured to use automatic
storage.

There are 2 things you can do:

1) You can always alter the existing tablespaces that are managed by
automatic storage todisableautoextend.

2) You can create new tablespaces that are MANAGED BY SYSTEM and/or
MANAGED BY DATABASE, using whatever container definitions you
want. This could allow you to migrate tables from tablespaces
with automatic storage to standard DMS/SMS tablespaces using
LOAD FROM CURSOR, INSERT INTO ... SELECT, etc.

Jan 19 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fahad Ashfaque | last post by:
Hello, I am getting an xml response from some server which I need to parse. Problem is the xml data contains DTD declaration and the XmlDocument.LoadXml() tries to find the dtd under...
0
by: Jurgen Haan | last post by:
Hey all. Question on automatic storage... Is there any downside? Or is just as good as it has been described? When using in a non-partitioned environment with the possibility to create...
2
by: Jaans | last post by:
A very cool feature of the ASP.NET 2.0 membership provider includes the automatic "lockout" of users after repeated failed login attempts. I have a scenario where we don't want this to happen, so...
4
by: Philip Nelson | last post by:
Folks, I've got a database and tablespaces "managed by automatic storage". I've deleted a lot of data from some tables. I've then reorged them. But the tablespaces don't appear to shrink...
3
by: Laurence | last post by:
Hi folks, DB2 UDB supports automatic storage management in v8.2.2 and v9. The question is how do I know the databases and/or tablespaces are enable "automatic storage management" or not after...
4
by: beena | last post by:
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
by: baskarpr | last post by:
In Internet Explorer (I use 6.0 ), there is a check box to enable/disable automatic configuration script. Is there any way to check /uncheck this option using Win API ( that can be implemented in VB...
6
by: Troels Arvin | last post by:
Hello, I have recently run a rather large data import where the imported data i pumped through some updatable views equipped with INSTEAD OF triggers. For various reasons, the exact same data...
3
by: deshaipet | last post by:
Hi Friends, Is it possible to convert SMS tablespace to a DMS tablespace with Automatic Storage ? Please, let me know the chances. Thanks Pandith
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.