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

Script: Nice script to find block corruptions with the associated object

Hello

Thanks to my colleague (Satish) to share this.

Here is the nice script to find the relative object name that is having block corruption, ofcourse the the v$database_block_corruption will populate only when you run the rman command.

1) RMAN> Backup validate check logical database; This will populate the v$data_block_corruption with rows about the blocks […]

Tracing datapump sessions

Tracing datapump is not straight forward, you can trace the datapump worker(dw00) or datapump master(DM00) with 10046 to get the sql etc or use the TRACE option in expdp/impdp

Where in expdp has an option called trace where you can trace the session associated to datapump and then see what its waiting for or running […]

Basics: Parallelization Methods in Oracle

Hello,

When using parallel query, Oracle uses one of these methods of performing parallel queries or DML:

Parallelize by block range Parallelize by partition Parallel processing using slave processes go and read on […]

expdp/impdp: export and import between releases using datapump

Hello,

Until 10g when you want to export and import between releases (i.e 10g to 11g), For example you want to export from 11g database and import it into 10g.

This is not possible until 10g, unless you use the higher version binaries(means expdp/impdp executables) in both databases.

But from 11g R1 onwards you […]

IMPDP: REMAP_SCHEMA creates new schema?

Hello,

Sometimes we tend to miss some simple thing which I had similar in expdp and impdp.

Normally when you want to export a schema and import into another schema we user fromuser and touser, before to that you have to create the user in target database where you are going to import.

In expdp/impdp […]

11gR2 : Oracle flash cache (exadata, non exadata also works), A secondary memory pool for your database buffer cache

In 11gR2, Oracle has introduced a cache called flash cache which is a secondary cache of the buffer cache. This flash cache is resides in L2 Cache of the system  (RAM) and can be very fast compare to the disk.  The SSD disks which gives you the benefit of high speed disks , the same […]

Row lock: How to find a row that is locked in Oracle

Here is the nice script for finding the row lock (hoping you will find the locked objects easily)

select do.object_name , row_wait_obj# , row_wait_file# , row_wait_block# , row_wait_row# , dbms_rowid.rowid_create (1, ROW_WAIT_OBJ#, ROW_WAIT_FILE#, ROW_WAIT_BLOCK#, ROW_WAIT_ROW#) from v$session s , dba_objects do where sid=&sid and s.ROW_WAIT_OBJ# = o.OBJECT_ID ;

select * from tablename where rowid=”; […]

UNDO: How does Oracle picks up undo

When transactions hit the database. Each transaction will be allocated one UNDO segment. The transaction will look for extents in the UNDO segment to place UNDO data. It will pick up segments as follows –

(1) Pick up an UNDO segment, which has no ACTIVE extent, if none allocate a new segment. If space does […]

Oracle Licensing References

Perhaps, you are also one of like me, difficult to understand about Oracle Licensing strategy with respect to CPU and Cores.

You will need to know about two types for a processor based licensing,

1) Is your host/server is non-virtual based The Processor license for the Oracle Enterprise Edition is based on the number of […]

Lib32 folder missing in Oracle 11g Home

One of my colleague struggling from two days for a Oracle client 11g 64 bit installation, where he is expecting a lib32 folder in Oracle_HOME as usual but he didn’t.  Thanks to him first for sharing before to proceed further.

He didn’t succeeded to get lib32 folder instead he found this note, which may save […]