Oracle GoldenGate for Windows and UNIX 12c (18.104.22.168)
First, I am disappointed that Oracle does not go above and beyond to provide SQL scripts to create GoldenGate users for the database.
There are different set of privileges depending on the version of the database:
22.214.171.124 Oracle 126.96.36.199 or Earlier Database Privileges
188.8.131.52 Oracle 184.108.40.206 or Later Database Privileges
PDB is not (more...)
This is what insomnia does to you.
Since GoldenGate installation is now using runInstaller, I would expect the same functionality as the database; hence, cloning GoldenGate Home.
$ cd /u01/app/220.127.116.11/ggs01/
bcpfmt.tpl ddl_ora10.sql defgen extract libggnnzitp.so marker_status.sql role_setup.sql
bcrypt.txt ddl_ora10upCommon.sql deinstall freeBSD.txt libggparam.so mgr sequence.sql
cachefiledump ddl_ora11.sql demo_more_ora_create.sql ggcmd libggperf.so notices.txt server
There are probably many blogs about installation; however, I tend to do things a little different.
$ cat /media/sf_working/oggcore_11gdb.rsp
I like to see installation progress.
$ ./runInstaller -silent -showProgress -waitforcompletion -responseFile /media/sf_working/oggcore_11gdb.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 28152 MB Passed
Checking swap space: must be greater than (more...)
I always like to know how to remove software installation in the event I am not happy with how it was installed.
GoldenGate Home is at /u01/app/oracle/12.2/ggs01
Thinking of may using the same directory structures as Grid Infrastructure, i.e. /u01/app/18.104.22.168/ggs01 with full release version.
$ ls -ld deinstall/
drwxr-xr-x. 2 oracle oinstall 4096 Apr 4 00:24 deinstall/
$ cd deinstall/
I learned something new today; so excited as this will make automation so much easier.
create pfile=’/tmp/init@.ora’ from spfile;
The @ automatically substitute SID.
SQL*Plus: Release 22.214.171.124.0 Production on Sun Apr 3 09:45:49 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 126.96.36.199.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application (more...)
I have been conversing with
He accommodate my request to add fragmentation details so I can verify against what I have.
Looks like I did it right.
You can find Lion script at this blog – Tablespaces Free Space and Stuff
$ sysdba @ts_free_space.sql
SQL*Plus: Release 188.8.131.52.0 Production on Thu Mar 24 12:35:23 2016
Copyright (c) 1982, 2013, Oracle. (more...)
Learn something new every day !!!
Did you know the Date and Day from cron is OR condition and not AND?
Wanted to schedule cron to run every 3rd Friday.
This ended up running on the 19th which is Saturday
$ crontab -l|head -1
### Schedule below will run Every Friday OR Date 15-21
41 18 15-21 * 5 /bin/date > /tmp/date.out
Sat Mar 19 18:40:05 PDT 2016
Sat Mar 19 (more...)
If you had success doing this, please share.
This took some troubleshooting and more than one pass.
Still not comfortable to guarantee target is identical to source.
Here are all the references, I have gathered if you want an adventure.
How to Perform a Full Database Export Import During Upgrade, Migrate, Copy or Move of a Database (Doc ID 286775.1)
Information On Installed Database Components and Schemas (Doc ID 472937.1)
Schemas CTXSYS MDSYS (more...)
Just some notes on 12c Oracle Home Cloning.
I am too lazy to put step by step instructions in words, and if you have questions, please ask.
<HOME NAME=”OraHome1” LOC=”/u01/app/oracle/product/12.2.0/dbhome_2″ TYPE=”O” IDX=”3″/>
$ . oraenv <<< db12c
ORACLE_SID = [hawlkas] ? The Oracle base remains unchanged with value /u01/app/oracle
$ echo $ORACLE_HOME
$ cd $ORACLE_HOME
Do you know what PSU there are?
$ ll *.zip
-rwxrwx---. 1 root vboxsf 147028181 Mar 4 20:00 p21948354_121020_Linux-x86-64.zip
-rwxrwx---. 1 root vboxsf 101720296 Mar 4 19:58 p22139226_121020_Linux-x86-64.zip
Let me give you a hint – (184.108.40.206.160119)
Now do you know what they are?
Let me give you another hint.
21948354 (220.127.116.11.160119) – 18.104.22.168 JAN2016 PSU (Database assumed here)
22139226 (12. (more...)