View previous topic :: View next topic
|
Author |
Message |
manjinder
New User
Joined: 04 Dec 2005 Posts: 45 Location: pune
|
|
|
|
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 |
|
|
prabs2006
Active User
Joined: 12 Jan 2006 Posts: 103
|
|
|
|
Three types of tablespaces. Simple, Segmented & Partitioned.
No tablespace will not be deleted if u delete the table |
|
Back to top |
|
|
appasi
New User
Joined: 12 Dec 2005 Posts: 20 Location: Bangalore
|
|
|
|
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 |
|
|
futuredba
New User
Joined: 08 Jan 2006 Posts: 22 Location: Delhi
|
|
|
|
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 |
|
|
|