Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

 

 


 

 

 

 
 

Fixing slow connection problems in Oracle

Oracle Tips by Burleson Consulting

 

Question: We have two database instances on the same server. One was left at 9.2.0.7 and one was upgraded to 10.2.0.3. Connecting externally (sqlplus '/as sysdba') to the 9.2.0.7 database is lightning fast. Connecting externally to the 10.2.0.3 database is very slow, comparatively speaking. This is on an IBM AIX-5L (64-bit) machine. We are using "tnsnames".

The slow sqlplus connection to our recently upgraded database (9.2.0.7 to 10.2.0.3) has been solved by making one change to init.ora. Commenting out the server parameter "_db_block_cache_protect = true" fixed the problem. This parameter does not cause any slow connect problems with our 9.2.0.7 database instances. Any theories as to why "_db_block_cache_protect = "true" is problematic on the 10.2.0.3 database and not the 9.2.0.7?

 

Answer: Please note that connecting via sqlplus " / as sysdba" - is not connecting externally.  If you are doing sqlplus "/ as sysdba" then you are not using your tnsnames.ora file.

 

Slow connectivity can be caused by a variety of issues, and I recommend isolating the connectivity error by trying all possible ways to connect to your instance: 

sqlplus fred/flintstone@the10gdb

sqlplus fred/flintstone@the10gdb

Then see if there are differences over a db link:

sqlplus fred/flintstone@the10gdb
select * from cust@the9idb

sqlplus fred/flintstone@the19idb
select * from cust@the10gdb

As to the use of the undocumented parameter _db_block_cache_protect, you need to contact Oracle Technical Support (MOSC), as Oracle does not support the use of undocumented parameters without their consent.

 

The _db_block_cache_protect parameter is designed to protect database blocks, and should be set to true only when debugging a database RAM memory corruption problem.

 

Steve Adams notes what the _db_block_cache_protect parameter does:

It (_db_block_cache_protect) uses the mprotect() system call to disable access to the block buffers. Every legitimate access must then enable access for the buffer it needs and disable it again afterwards. This protects you against bugs or hackers corrupting the cache, but it is not really necessary because the log_buffer has similar protection by default. It also adds about a 30% overhead to system performance. It should only be used by Oracle when diagnosing memory corruption bugs.

Of course, this parameter does nothing on platforms that do not support memory protection, or that support process-based memory protection but have a thread-based Oracle implementation (NT).

 
If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

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.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2012 

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.