Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us