Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

regarding table space

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
manjinder

New User


Joined: 04 Dec 2005
Posts: 45
Location: pune

PostPosted: Thu Jan 19, 2006 4:35 pm    Post subject: regarding table space
Reply with quote

please let me know how many types of tablespace is there?
if we delete the table will table space get deleted?
difference b/w latch and lock?

thanx in advance.
regard..
manjinder
Back to top
View user's profile Send private message

prabs2006

Active User


Joined: 12 Jan 2006
Posts: 103

PostPosted: Thu Jan 19, 2006 5:10 pm    Post subject:
Reply with quote

Three types of tablespaces. Simple, Segmented & Partitioned.

No tablespace will not be deleted if u delete the table
Back to top
View user's profile Send private message
appasi

New User


Joined: 12 Dec 2005
Posts: 20
Location: Bangalore

PostPosted: Thu Jan 19, 2006 5:20 pm    Post subject:
Reply with quote

Hi manjinder,

There are three types of table spaces

1. Simple 2. Partitioned and 3. Segmented

If we delete the table, Table space will not be deleted.

According to my knowdge lock and latch both are locks
used by DB2 system to lock the resources, if reources
are locked withought the help of a DB2 component called IRL
it's called as latch, if IRL is used to **** then it's called as lock.

please correct me if ..
Back to top
View user's profile Send private message
futuredba

New User


Joined: 08 Jan 2006
Posts: 22
Location: Delhi

PostPosted: Fri Jan 20, 2006 7:47 pm    Post subject:
Reply with quote

Hi manjinder,

I do agree with prabs and appasi.

when u use any resource for short time , db2 will acquire latches. But if the locking time increases, db2 will go for locks. locks are managed by IRLM whereas latches are handled by internal db2 code and thats y it takes almost 70% less time than the time taken by locks to acuire some resource. in other words, latches are more efficient.
but u cant influence db2 whether to use locks or latches. it is db2's internal matter. and last word is both locks and latches ensure data integrity.

Correct me if i am wrong somewhere....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us