Subscribe to Posts by Email

Subscriber Count

    701

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

Quiz Post #1 : SQL Magic

Q: is it my possible to make my query to change from “select ‘what is my name’ from dual” to “select ‘you’r Geek DBA’ from dual” during execution.

A: this feature is called “query equivalence”.

query equivalence is declared using the dbms_advanced_rewrite.declare_rewrite_equivalence procedure, and uses the syntax:

dbms_advanced_rewrite.declare_rewrite_equivalence(declaration_name,source_statement,target_statement);

Scripts: Find out a expensive sql statements from AWR Top Events with just three small scripts

A typical day starts like this.

1) Application team complained about slowness in their job

2) DBA looking into this

No clues or details from App team saying this particular sql is that we are running but the response time of the database server is bit slow, so obvious that app team reported slowness.

[…]

ORA-15036: disk ‘string’ is truncated, ASM disks group DATA is not mounting

Hello,

Another issue came up today!!!

Issue:- ORA-15036: disk ‘string’ is truncated The size of the disk, as reported by the operating system, was smaller than the size of the disk as recorded in the disk header block on the disk.

Apparently the concerned disk group is not mounting, unfortunately this contains our OCR Disks […]

Basics: What is RAID?

Hello,

A Simple readable format about “What is RAID?”

RAID (Redundant Array of Independent Disks). A collection of disk drives that offers increased performance and fault tolerance. There are a number of different RAID levels. The three most commonly used are 0, 1, and 5:

Level 0: striping without parity (spreading out blocks of each […]

ORA-06512: at “SYS.KUPV$FT” – impdp failing

This time, impdp failing to create a job for import and failing with following error:-

ORA-06512: at “SYS.KUPV$FT”,

In many cases you sometimes stop data pump job or in case of an abnormal end of the Data Pump job (we call it the orphaned job) or using undocumented parameter KEEP_MASTER=Y, the master table remain in […]

PMON (ospid: nnnn): terminating the instance due to error 481

 

We got a known issue with ASM not coming up in second and subsequently failed to start crs and other resources.

Review grid alert log & os Logs

$GRID_HOME/log/<nodename>/alert<nodename>.log

oifcfg shows

$oifcfg –getif

eth0 192.168.2.10 global_clusterinterconnect

eth1 192.168.10.2 global

usb0 169.254.95.0

eth0:2 169.254.96.0

eth0:3 169.254.95.0

 

From 11g R2 (I believe 11.2.0.2 onwards) there […]