If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > autoresize

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-09, 02:03
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
Question autoresize

Hi,
I am using db2 v9.5 ESE on windows.
I can see a default tablespace 'tempspace1' having
automatic storage=yes
autoresize=no.
I dont understand, when autoresize is set to 'NO' how will system manage storing data automatically. can anyone plz. explain?
Reply With Quote
  #2 (permalink)  
Old 01-20-09, 02:29
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Automatic storage will handle it for you. Autoresize is when you don't have automatic storage.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 01-20-09, 23:40
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
then why does some tablespaces have both autoresize and automatic storage set to 'yes'???
My understanding is, when we create tablespace with automatic storage, system itself takes care of resizing the containers. This means that autoresizing has always set to be 'yes'. If set it to 'no' then how will it resize the containers though its automatic storage.
Reply With Quote
  #4 (permalink)  
Old 01-20-09, 23:53
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
TEMPSPACE1 is a system temporary tablespace that is defined as a system managed tablespace (SMS) by default (unless you override it during datbase creation), which means that the container(s) is a path not a file, so it does not need to be increased. You just need to make sure that there is sufficient room on the drive where the path is located.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 01-21-09, 06:44
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
automatic storage also implies, you don't have to specify the container paths
db2 will allocate for each new ts containers on supplied auto storage
and resize is for resizing if containers need to grow
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On