IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

regarding table space


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top