Reader small image

You're reading from  Advanced Oracle PL/SQL Developer's Guide (Second Edition) - Second Edition

Product typeBook
Published inFeb 2016
Reading LevelIntermediate
Publisher
ISBN-139781785284809
Edition2nd Edition
Languages
Right arrow
Author (1)
Saurabh K. Gupta
Saurabh K. Gupta
author image
Saurabh K. Gupta

Saurabh K. Gupta is a seasoned database technologist with extensive experience in designing high performance and highly available database applications. His technology focus has been centered around Oracle Database architecture, Oracle Cloud platform, Database In-Memory, Database Consolidation, Multitenant, Exadata, Big Data, and Hadoop. He has authored the first edition of this book. He is an active speaker at technical conferences from Oracle Technology Network, IOUG Collaborate'15, AIOUG Sangam, and Tech Days. Connect with him on his twitter handle (or SAURABHKG) or through his technical blog www.sbhoracle. wordpress.com, with comments, suggestions, and feedback regarding this book.
Read more about Saurabh K. Gupta

Right arrow

Practice exercise


  • The initialization parameter settings for your database are as follows:

    MEMORY_TARGET = 500M
    RESULT_CACHE_MODE = MANUAL
    RESULT_CACHE_MAX_SIZE = 0

    You execute a query by using the RESULT_CACHE hint. Which statement is true in this scenario?

    1. The query results are not stored in the cache because no memory is allocated for the result cache.

    2. The query results are stored in the cache because Oracle implicitly manages the cache memory.

    3. The query results are not stored in the cache because RESULT_CACHE_MODE is MANUAL.

    4. The query results are stored in the cache automatically when RESULT_CACHE_MODE is MANUAL.

  • You set the following initialization parameter settings for your database:

    MEMORY_TARGET = 500M
    RESULT_CACHE_MODE = FORCE
    RESULT_CACHE_MAX_SIZE = 200M

    You execute the following query:

    SELECT /*+RESULT_CACHE*/ ENAME, DEPTNO
    FROM EMPLOYEES
    WHERE EMPNO = 7844
    /

    Which of the following statements are true?

    1. The query results are cached because SQL uses the RESULT_CACHE hint.

    2. The query results are...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Advanced Oracle PL/SQL Developer's Guide (Second Edition) - Second Edition
Published in: Feb 2016Publisher: ISBN-13: 9781785284809

Author (1)

author image
Saurabh K. Gupta

Saurabh K. Gupta is a seasoned database technologist with extensive experience in designing high performance and highly available database applications. His technology focus has been centered around Oracle Database architecture, Oracle Cloud platform, Database In-Memory, Database Consolidation, Multitenant, Exadata, Big Data, and Hadoop. He has authored the first edition of this book. He is an active speaker at technical conferences from Oracle Technology Network, IOUG Collaborate'15, AIOUG Sangam, and Tech Days. Connect with him on his twitter handle (or SAURABHKG) or through his technical blog www.sbhoracle. wordpress.com, with comments, suggestions, and feedback regarding this book.
Read more about Saurabh K. Gupta