Documentos de Académico
Documentos de Profesional
Documentos de Cultura
��
Oracle Tips
Got Questions?
Search BC Oracle Sites
KEEP pool deprecated
in 12c
Oracle undocumented hidden parameters tips 12c Poster Available!
Search
Free AWR Report
Home Oracle Tips by Burleson Consulting Analysis
BEWARE of 11gR2
E-mail Us Upgrade Gotchas!
Oracle Articles
Software Support
Remote Support Many savvy Oracle professionals commonly adjust the hidden parameters to
Development improve the overall performance of their systems. However, because these are
Implementation "undocumented" parameters, most Oracle professionals rely on publications such
as "Oracle Internals" to get insights into the proper setting for the hidden
parameters.
Consulting Staff Oracle latch parameters: Whenever index contention is experienced (as
Consulting Prices evidenced by process waits), adjusting the following parameters may be helpful.
Help Wanted!
• _db_block_hash_buckets - Defaults to 2 x db_block_buffers but should be
the nearest prime number to the value of 2x db_block_buffers.
http://www.dba-oracle.com/art_so_undoc_parms_p2.htm 29/03/2016
Oracle undocumented hidden parameters tips Página 2 de 6
Ion +1.
Excel-DB
• _latch_spin_count - This parameter shows how often a latch request will
Don Burleson Blog be taken.
Note: To see then an undocumented parameter has changed you cheek to see if it
has moved into the v$parameter table:
select
*
from
v$parameter
where
substr(name, 0,1) ='_';
spool underscoreparms.lis
SELECT
a.ksppinm Param ,
b.ksppstvl SessionVal ,
c.ksppstvl InstanceVal,
a.ksppdesc Descr
FROM
x$ksppi a ,
x$ksppcv b ,
x$ksppsv c
WHERE
a.indx = b.indx AND
a.indx = c.indx AND
a.ksppinm LIKE '/_%' escape '/'
ORDER BY
1
/
PROMPT
clear col
clear break
clear compute
ttitle off
btitle off
spool off
NAME VALUE
----------------------------------- ------------------------------
_parallel_adaptive_max_users 1
_parallel_default_max_instances 1
_parallel_execution_message_align FALSE
_parallel_fake_class_pct 0
_parallel_load_bal_unit 0
_parallel_load_balancing TRUE
_parallel_min_message_pool 64560
_parallel_recovery_stopat 32767
_parallel_server_idle_time 5
_parallel_server_sleep_time 10
_parallel_txn_global FALSE
_parallelism_cost_fudge_factor 350
http://www.dba-oracle.com/art_so_undoc_parms_p2.htm 29/03/2016
Oracle undocumented hidden parameters tips Página 3 de 6
adjusting this parameters you can control the threshold for invoking parallel
queries.
Now let's look at some common DBA undocumented parameters. The following
undocumented parameters are the most commonly-used in Oracle administration.
These parameters allow you to ignore corrupt data blocks when your database is
corrupted. These should only be used in emergencies.
These parameters control the internal behavior of the cost-based SQL optimizer
(CBO).
For the very brave DBA, you can change the caching and aging rules within the
Oracle db_cache_size and change the way that Oracle keeps data blocks in RAM
memory. While these parameters are somewhat dangerous, some savvy DBAs
have been able to get more efficient data caching by adjusting these values:
http://www.dba-oracle.com/art_so_undoc_parms_p2.htm 29/03/2016
Oracle undocumented hidden parameters tips Página 4 de 6
If you have a limited number of active sessions you may wish to override the
PGA governor that only allows any single task to consume 5% of the total PGA.
Laurent Schneider notes in Oracle MOSC that overriding the PGA defaults made
a large batch processes run more than 8x faster:
Ah, if only it were that easy, just change an undocumented setting and batch jobs
magically run times faster. Laurent Schneider notes some perils and reliability
issues relating to this parameter and says "this parameter often leads to an ORA-
4030, even when plenty of memory available, for some obscure reasons".
Conclusion
These Oracle undocumented parameters are especially useful to the senior Oracle
DBA who needs to go beyond the recommended level of detail and wants to
change the internal behavior of their SGA. The undocumented parameters are also
a lifesaver for performing re-starts of corrupted databases, but we must always
remember that these parameters are hidden for a reason. They are very powerful
http://www.dba-oracle.com/art_so_undoc_parms_p2.htm 29/03/2016
Oracle undocumented hidden parameters tips Página 5 de 6
and undocumented, so you should only play with them if you have a clear
understanding about how they change the internal behavior of Oracle.
Note: This Oracle documentation was created as a support and Oracle training
reference for use by our DBA performance tuning consulting professionals. Feel
free to ask questions on our Oracle forum.
http://www.dba-oracle.com/art_so_undoc_parms_p2.htm 29/03/2016
Oracle undocumented hidden parameters tips Página 6 de 6
Burleson Consulting
The Oracle of Database Support
http://www.dba-oracle.com/art_so_undoc_parms_p2.htm 29/03/2016