Search found 6 matches

by Sukanthi Darwin
Sun Nov 22, 2009 8:43 pm
Forum: DB2 INTERVIEW QUESTIONS
Topic: What are the issues related with correlated subqueries?
Replies: 1
Views: 5517

Correlated subselects are often resource-intensive because the subselect is evaluated for each qualifying value in the outer select. When compared to JOIN, the WHERE predicate is evaluated in Stage 1, thus reducing the rows passed to Stage 2 and the correlated predicate is evaluated in Stage 2.
by Sukanthi Darwin
Sun Nov 22, 2009 8:21 pm
Forum: DB2 INTERVIEW QUESTIONS
Topic: What are the isolation levels possible ?
Replies: 1
Views: 5011

Cursor Stability (CS), Repeatable Read (RR), Read Stability (RS), Uncommitted Read (UR). Cursor stability holds locks as long the cursor is position on the row. Repeatable read holds locks on all the rows on both qualifying and non-qualifying rows. Read stability holds locks only on qualifying rows ...
by Sukanthi Darwin
Sun Nov 22, 2009 8:15 pm
Forum: DB2 INTERVIEW QUESTIONS
Topic: How does DB2 determine what lock-size to use?
Replies: 1
Views: 4083

DB2 uses the LOCKSIZE parameter defined in the CREATE TABLESPACE statement.
by Sukanthi Darwin
Sun Nov 22, 2009 8:07 pm
Forum: DB2 INTERVIEW QUESTIONS
Topic: When do you specify the isolation level? How?
Replies: 2
Views: 6150

In addition to the above, you can specify isolation level in the SQL statement eg. SELECT .... FROM ....WITH UR;
by Sukanthi Darwin
Sun Nov 22, 2009 8:03 pm
Forum: DB2 INTERVIEW QUESTIONS
Topic: I use CS and update a page. Will the lock be released after
Replies: 1
Views: 4012

No, the lock is not released until commit.
by Sukanthi Darwin
Sun Nov 22, 2009 7:50 pm
Forum: IMS DB
Topic: BMP program caused to bring down the control region
Replies: 4
Views: 18506

If a region that is abending is in a DLI call, will kill the control region. The control region will abend with U113. Look in the IMS messages for U113 for more information.