You work as a DBA for a company and as a performance improvement measure, you
implemented the result cache in your database. Many users in the company say that performance
has improved on the queries they use, but some users complain that they have not got any
performance benefit on the queries they use.
You checked all the queries they use and the following is one of them:
SQL> SELECT /*+ RESULT_CACHE */ slnoq.currval as “SLNO”, prod_id, pdname, 2 cust_name
FROM sales WHERE sl_date < sysdate;
View the Exhibit and examine the testing performed to check this.
Why is the result cache not used? (Choose all that apply.)
A.
because the query uses SYSDATE
B.
because the query uses an alias for a column
C.
because the query uses the SLNOQ.CURRVAL sequence
D.
because the table might have an index on the SL_DATE column
A is right. SYSDATE can not be result cached
B is wrong.
C is right. sequence.curval can not be result cached
D is wrong.
So A.C. are correct