True statements about the SQL Query Result Cache:
Types of query results cannot be stored in the query result cache:
- It can be set at the system, session, or query level.
- Cached query results become invalid when the data accessed by the query is modified.
- Conditions must be true for a PL/SQL function to be result cached
- It must not be defined in an anonymous block.
- It must have at least one OUT or IN OUT parameter.
Types of query results cannot be stored in the query result cache:
- Subquery results
- Results of a query having the SYSDATE function
- The query on dictionary and temporary tables
- Queries having SYSDATE and SYS_TIMESTAMP SQL functions
- For Functions
- If the first time a session on this database instance invokes the function with a parameter value.
- If a session executes a data manipulation language (DML) statement on a table or view that was specified in the RELIES_ON clause of a result-cached function.
No comments:
Post a Comment