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

Administration : Undo stores in Temporary tablespace?

Yes for for Temporary Tables.

Here is the excerpt from the documentation:-

By default, undo records for temporary tables are stored in the undo tablespace and are logged in the redo, which is the same way undo is managed for persistent tables. However, you can use the TEMP_UNDO_ENABLED initialization parameter to separate undo for temporary […]

Quick referenc of Index coalesce and rebuild

Hello,

If some one asks you about difference between Rebuild and coalesce indexes, here is the short list of the same.

Rebuild Index Coalesce Index Quickly moves index to another tablespace Cannot move index to another tablespace Higher costs: requires more disk space Lower costs: does not require more disk space Creates new tree, shrinks […]

Does index unusable drops the storage segment?

Answer 10g No, 11gR2 Yes

10g:-

SQL> select * from v$version;

BANNER ——————————————————- Oracle Database 11g Release 10.2.0.5.0 – Production PL/SQL Release 10.2.0.5.0 – Production CORE    10.2.0.5.0      Production TNS for 32-bit Windows: Version 10.2.0.5.0 – Production NLSRTL Version 10.2.0.5.0 – Production

SQL> create table test as select rownum id, ‘TEST’ name from […]

11g Archive backups

Have you ever heard of archive backups in 11g, if not here it is,

Normally to make sure that database can be brought up from a particular backupset rman will retain all archived redo logs as well which are necessary.

This happens because rman also considers the option that you may want to consider […]

11g: Restore point preserve?

In 11g there are two major enhancements to restore points

1. Create restore point as of scn, until 10g you can create a restore point with current scn only

SQL> create restore point p1 as of scn 19393930;

2. Preserve the restore points

SQL> create restore point p1 preserve;

The second point above need […]

SQL_ID missing in dba_hist_sqlstat? Why

We have got into a trouble today with dba_hist_sqlstat when we are working on a performance issue.

This performance issue is about a statement that running very slow compared to its previous run of 20 mins. Thats another story.

As this story continues yesterday and today, we found our sql statement comfortably in v$sql […]

Shrink Space

Just to note if anyone need,

Difference between shrink space/compact/cascade

Shrink space compact -Just moves the rows from end of the table to beginning of the table. Does not drop the high water mark of the table.

Shrink space – Moves the rows from end of the table to the beginning of the table […]

Recreate the trace files if they have been deleted accidentally?

Came across a note to recreate the trace (.trc) files that have been accidentally deleted. But please be noted that information written down before deletion of trace may or may not be available in the new file you have created. However this may help in some cases where the process is still trying to write […]

Quick Question: Does dbms_stats collects stats for invisible indexes

Does dbms_stats collects statistics for invisible indexes?

The answer is yes, Although the invisible indexes does not used by optimizer but they should be ready when it needed, hence the dbms_stats collects the statistics on the invisible indexes too.

Here is small test case.

 

SQL> select to_char(last_analyzed,’YYYY-MM-DD HH24:MI:SS’), VISIBILITY  from dba_indexes where index_name=’IDX_MTD’; […]

11gr2 : Parallel Hint

Its more than 3 years 11g has released, still looking or finding something new every day or other.

Today its the Parallel Hint that I came across from the documentation.

Many has already blogged about this, still I am writing the same for my readers and

Until 10g, the parallel hint behaviour is like […]