OCP-1Z0-053-V12.02-41题
2013-11-03 10:55
459 查看
41.You have applications that have frequently executed queries, and produce small and static result sets.
You configure the sqlnet.ora file in the client machine to set a nonzero value for the
OCI_RESULT_CACHE_MAX_SIZE parameter.
What is the purpose of this configuration?
A. to avoid round trips to the server by enabling caching of query results in client memory
B. to improve performance by storing a copy of the data from the private SQL area of the PGA
C. to enhance the query performance by creating a cache in the client memory for sorting operations
D. to avoid the storing of query plans and results in the server by creating a cache in the client memory
Answer: A
答案解析:
参考:http://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci10new.htm#LNOCI16752
The server initialization parameters:
The default value is zero, implying that the client cache feature is disabled. To enable the client result cache feature, set the size to 32768 bytes (32 Kilobytes (KB)) or greater. This is the minimum size of the client per-process
result set cache. All OCI client processes get this minimum size. This can be overridden by the
parameter.
You can view the current default maximum size by displaying the value of the
a static parameter, you must include the
Note that if the client result cache feature is disabled at the server, the client configuration parameter
are available for client configuration:
You configure the sqlnet.ora file in the client machine to set a nonzero value for the
OCI_RESULT_CACHE_MAX_SIZE parameter.
What is the purpose of this configuration?
A. to avoid round trips to the server by enabling caching of query results in client memory
B. to improve performance by storing a copy of the data from the private SQL area of the PGA
C. to enhance the query performance by creating a cache in the client memory for sorting operations
D. to avoid the storing of query plans and results in the server by creating a cache in the client memory
Answer: A
答案解析:
参考:http://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci10new.htm#LNOCI16752
The server initialization parameters:
CLIENT_RESULT_CACHE_SIZE
The default value is zero, implying that the client cache feature is disabled. To enable the client result cache feature, set the size to 32768 bytes (32 Kilobytes (KB)) or greater. This is the minimum size of the client per-process
result set cache. All OCI client processes get this minimum size. This can be overridden by the
sqlnet.oraconfiguration parameter
OCI_RESULT_CACHE_MAX_SIZEonly if this feature is enabled on the server by the
CLIENT_RESULT_CACHE_SIZEinitialization
parameter.
You can view the current default maximum size by displaying the value of the
CLIENT_RESULT_CACHE_SIZEparameter. To increase this maximum size, you can set
CLIENT_RESULT_CACHE_SIZE. However, because
CLIENT_RESULT_CACHE_SIZEis
a static parameter, you must include the
SCOPE = SPFILEclause if you use an
ALTER SYSTEMstatement, and you must restart the database before any changes to this parameter take effect.
Note that if the client result cache feature is disabled at the server, the client configuration parameter
OCI_RESULT_CACHE_MAX_SIZEis ignored and the client result cache cannot be enabled at the client.
Client Configuration File
A client configuration file is optional and overrides the cache parameters set in the serverinit.orainitialization file. These parameters are part of a
sqlnet.orafile. The following optional parameters
are available for client configuration:
OCI_RESULT_CACHE_MAX_SIZE(optional) - Maximum size in bytes for the per-process query cache. Specifying a size less than 32768 in the client
sqlnet.orafile disables the client result cache feature for client processes reading this
sqlnet.orafile.
相关文章推荐
- OCP-1Z0-053-V12.02-552题
- OCP-1Z0-053-V12.02-138题
- OCP-1Z0-053-V12.02-661题
- OCP-1Z0-053-V12.02-166题
- OCP-1Z0-053-V12.02-10题
- OCP-1Z0-053-V12.02-510题
- OCP-1Z0-053-V12.02-215题
- OCP-1Z0-053-V12.02-288题
- OCP-1Z0-053-V12.02-335题
- OCP-1Z0-053-V12.02-337题
- OCP-1Z0-053-V12.02-368题
- OCP-1Z0-053-V12.02-566题
- OCP-1Z0-053-V12.02-555题
- OCP-1Z0-053-V12.02-405题
- OCP-1Z0-053-V12.02-73题
- OCP-1Z0-053-V12.02-177题
- OCP-1Z0-053-V12.02-236题
- OCP-1Z0-053-V12.02-114题
- OCP-1Z0-053-V12.02-336题
- OCP-1Z0-053-V12.02-657题