Which of the following compatibility features is always active, regardless of the settings for the DB2_COMPATIBILITY_VECTOR registry variable or the SQL_COMPAT global variable?
Answer is C "Use of bitmap indexes"
B also dependent on also need SQL_COMPAT='NPS'
https://www.ibm.com/docs/en/db2/11.1?topic=nps-double-dot-notation
https://www.ibm.com/docs/en/db2/11.1?topic=oracle-implicit-casting-character-graphic-constants
Question says which will be on without setting the variables, so Implicit casting, DUAL need DB2_COMPATIBILITY_VECTOR to be either 100 or ORA
So the answer should be B and C
Correct answer is C:
Bitmapped Indexes
DB2 optimizer will create bitmap indexes dynamically when they are needed. This removes the requirement having to create and maintain static bitmap indexes. For example, you may create a bitmap index on a low cardinality column in Oracle, bit in DB2 this will be done for you. With static bitmap indexes there is an additional overhead in that each insert, update and delete needs to update the indexes. Dynamic bitmap indexes have no disk or update overhead and DB2 can give you good performance by accessing the index and handling the ROWIDS in memory.
The question is very ambiguous.
The answers B and D can be correct !
IF you use SQL_COMPAT, you can activate NPS compatibility features as "Double-dot notation".
If you user DB2_COMPATIBILITY_VECTOR registry variabke, you can use "DUAL table" compatibility feature.
Reference :
DB2_COMPATIBILITY_VECTOR : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.apdv.porting.doc/doc/r0052867.html
SQL_COMPAT : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.apdv.porting.doc/doc/c_compat_nz.html
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
JamesBond
3 years, 4 months agoJamesBond
3 years, 4 months agoJamesBond
3 years, 4 months agodbadmin
4 years, 10 months agodb2tester
5 years, 1 month ago