Subscribe to Posts by Email

Subscriber Count

    696

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

11g Compare statistics

Compare statistics, good idea, Ok, here is the scenario

You have a large table where you have collected the statistics with sample of 10%, and due to some reasons you want to collect the statistics with auto or 100% sample size, but you are unsure of the difference it make. Note its not about to […]

RAC Performance: DFS Lock Handle + Row Cache Lock + ENQ: SQ Contention , hanged the rac instance.

Symptoms:

Alert log says WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK!

Wait events in Node A: DFS Lock Handle and hanged

Wait events in Node B: row cache locks and library cache locks (sessions permitted but very slow)

AWR reports says for the interesting period: DFS Lock Handle

Background:- DFS Lock […]

Do not want bind peeking? what you have in then? _optim_peek_user_binds=false vs. /*+ NO_BIND_AWARE */

Adaptive cursor sharing introduced in 11g R1 to address the bind peeking issues with things track especially the bind aware and bind sensitivity. This is for plan stability right,

Read here more on this.

Can this stability when bind peeking issues is be achievable in 10g, well the obvious answer is sql profiles, stored out […]

Turn off or disable the adaptive cursor sharing in 11g

Adaptive cursor sharing as you all aware , This was introduced in 11gR1 to address issues related to bind variable peeking. See support note 740052.1 and documentation for details.

You may have weird behaviors of your sql’s after upgrade to 11g , this may be due to no proper testing done, or optimizer features […]

Adaptive Cursor Sharing: What is Adaptive Cursor Sharing?

The following is the direct extract from the documentation on adaptive cursor sharing.

The adaptive cursor sharing feature enables a single statement that contains bind variables to use multiple execution plans. Cursor sharing is "adaptive" because the cursor adapts its behavior so that the database does not always use the same plan for […]

ORA-19566: exceeded limit of 0 corrupt blocks for file : Block that not part of any segment

Getting this error,

RMAN-00571: ====================================================== RMAN-00569: ========= ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: ===================================================== RMAN-03009: failure of backup command on ch02 channel at 10/08/2012 18:18:35 ORA-19566: exceeded limit of 0 corrupt blocks for file /testdb/dev/oradata/test13.dbf

Get the file id of the above file using

select file_id from dba_data_files where file_name=’/testdb/dev/oradata/test13.dbf’;

File_id —— […]

More nested loops in 11g : A change in nested loops around in 11g

Original and New Implementation for Nested Loop Joins

Oracle Database 11g Release 1 (11.1) introduces a new implementation for nested loop joins. As a result, execution plans that include nested loops might appear different than they did in previous releases of Oracle Database. Both the new implementation and the original implementation for nested loop joins […]

Basics: Oracle Corruptions Series #3: How to find physical corruptions and limitations with each approach.

Series: Part 1, Part 2, Part3

Typical Oracle physical corruptions may pose are,

(a) ORA-01578 – This error explains physical structural damage with a particular block.

(b) ORA-08103 – This error is a logical corruption error for a particular data block.

(c) ORA-00600 [2662] – This error is related to block corruption , and occurs […]

Basics: Oracle Corruptions Series #2: Very good note on different types of Oracle corruption

Series: Part 1, Part 2, Part3

Some good metalink notes for my reference and for your record.

Master Note for Handling Oracle Database Corruption Issues [ID 1088018.1]

Identify the corruption extension using RMAN/DBV/ANALYZE etc [ID 836658.1]

Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g/11g [ID 28814.1]

How to identify all the Corrupted Objects in the Database with […]

Basics: Oracle Corruptions series #1: Physical & Logical Corruptions in Oracle

Series: Part 1, Part 2, Part3

Oracle will have two types of corruptions , Physical & Logical corruptions.

Physical Block Corruptions

This kind of block corruptions are normally reported by Oracle with error ORA-1578 and the detailed corruption description is printed in the alert log. Corruption Examples are:

Bad header – the beginning of the […]