Oracle Golden Gate 11.2.1.0.7 on OEL 6.4 Install and not using 12c
Should have known better to check the certification matrix first. OGG is not supported on 12c database. Tried hacking as much I as I could and decided it was not worth the effort. Here are some errors...
View ArticleORA-14098: index mismatch for tables in ALTER TABLE EXCHANGE PARTITION
Does having the code make troubleshooting easier? Here is an example code: create table t ( id int, name varchar2(30) ) partition by range (id) ( partition p0 values less than (10), partition pmax...
View ArticleHow to rebuild table when you don’t have TOAD
I will demonstrate how to rebuild table DEPARTMENTS using datapump. Find FK to DEPARTMENTS select constraint_type, constraint_name ref_constraint, table_name fk_table from user_constraints where...
View ArticleDatapump REMAP_TABLE and Statistics Feature or Bug ???
Got a request from a friend: One more thing , maybe for next post . I’ve noticed that during table_remap ie remap_table=gg.t:t1 there are no stats on t1 even if t has them and are included in dmp file...
View Article[FATAL] [INS-13013] Target environment do not meet some mandatory requirements
./runInstaller -silent -executePrereqs -showProgress -waitforcompletion -responseFile /home/oracle/grid_crs_swonly.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than...
View Articledbms_metadata and consumer_group Feature or Bug ???
So there I was, working a simple request. Drop user and recreate which sound simple enough. Use dbms_metadata. Stole this from asktom.oracle.com site by the way. $ cat extractuser.sql set echo off head...
View ArticleApply PSU 11.2.0.3.7 for Grid Infrastructure Standalone and DB with Oracle...
So there I was, moving through a maze trying to figure out how to apply 11.2.0.3.7 for Grid and Database Standalone. Now I understand why my former manager storage guy does not like ASM in preference...
View ArticleRMAN Transportable Tablespace
How many of you perform RMAN transportable tablespace on a regular basis and can do this from the top of your head? What makes this post different from any other RMAN transportable tablespace post? I...
View Article12c Grid Infrastructure Standalone Silent Upgrade
This is what insomnia will do to you. After Apply PSU 11.2.0.3.7 for Grid Infrastructure Standalone and DB with Oracle Restart, I was curious to see if I can upgrade just the Grid Infrastructure to...
View ArticleMoving Objects to Shrink Data Files
At a company I used to work for, I would frequently get asked, “There’s 200 GB free in the tablespace. Why can’t you just shrink it?” First, the tablespace consists of many data files and there are...
View ArticleRMAN RESTORE from TAG
So there I was, working on a request for how to restore from a specific backup. Since the backup was using TAG, the easy solution is: start database nomount. restore controlfile from autobackup startup...
View ArticleWhat Motivates Me
5:18 a.m. in the morning, waken up by another CPU load at 39%. Why do I do this? Previously, I did a post on motivation here This is what motivates me! Hello Michael, It has been very short tenure...
View ArticleRenaming Table, Constraints, Indexes
So there I was, working on another task to create a data subset. This time, keep data for the current year only. Here’s a similar post, How to rebuild table when you don’t have TOAD My code has...
View ArticleYou don’t need set echo on for RMAN
So there I was, reading on the internet about having set echo on for RMAN and started to incorporate it into RMAN scripts. It was a waste of time since it is not needed according to my test cases....
View ArticlePlaying with RMAN Merged Incremental Backup
Here are 2 good documents for reference: Merged Incremental Backup Strategies (Doc ID 745798.1) Oracle Backup and Recovery for a VLDB You can find my playing around here I did find the results of...
View ArticlePlaying with Oracle Free Block Corruption
First and foremost, thank you to all the bloggers sharing their knowledge. My previous post on corruption is here The corrupt.sql script was stolen from here exec...
View ArticleWhat’s RMAN Backup Size
So there I was, looking for a script to calculate the backup size. After several thoughts, it was not exactly what I was looking for. Here’s the one I created. SELECT TO_CHAR(completion_time,...
View Article5 C’s for Career Change
I have shared this with a few friends and colleagues here and there and thought I would blog about them. Challenge – bored to death is not a good way to die. Commute – driving 2 hours to work in...
View ArticlePlaying with ASM Online Migration
“Everything should be made as simple as possible, but not simpler.” – Albert Einstein I am curious as to why anyone would use ASM for a standalone database as it introduce more complexity of having to...
View ArticleHappy Thanksgiving
So there I was, one Thanksgiving I came across Randy Pausch’s Last Lecture and wanted to share with you.
View Article