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 how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm


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