GoldenGate 12.2 DDLOPTIONS MAPSESSIONSCHEMA
This is probably not a 12.2 specific features and since I only tested for 12.2, I am not going to vouch for other versions. Be careful when qualifying schema with DDL replication especially when the...
View ArticleGoldenGate and Networking
I have never delved into networking for GoldenGate since things just work. Due to security tightening, telnet is no longer available to verify opened port. What’s to follow is a demo for ports being...
View ArticleCreate 12c CDB using dbca or sqlplus ???
How do you typically create database, using dbca or sqlplus? I am still surprised with all the bloatware added for creating database using dbca. Also, is there a reason to prefix PDB with pdb?...
View Article12.1.0.2 New Features
Just a quick note as I play with CDB/PDB. No more triggers! PDB State Management Across CDB select con_name, instance_name, state from DBA_PDB_SAVED_STATES; alter pluggable database PDB1 SAVE STATE;...
View ArticleDifferent names for 12c CDB
Truthfully, I am feeling a little lazy to write a nice blog. Configuring listener.ora and tnsnames.ora, varying names for database, connecting to database. Summary: db_name string tmnt db_unique_name...
View ArticleGoldenGate 12.2 TROUBLESHOOTING USING GETENV
I was faced with a very strange situation. When using SETENV (ORACLE_SID = db01), replicat ABEND with OGG-00664 OCI Error beginning session (status = 1034-ORA-01034: ORACLE not available When using...
View ArticleTroubleshooting ORA-02049: timeout: distributed transaction waiting for lock
Controlling Connections Established by Database Links Tracing can be done using – ALTER SYSTEM SET EVENTS ‘2049 trace name ERRORSTACK level 3’; Nice note from MOS. How to Obtain a System State Trace...
View ArticleGoldenGate 12.2 Object Exclude
1.8 Details of Support for Objects and Operations in Oracle DDL The following tables are excluded by default. "*.AQ$*", // advanced queues "*.DR$*$*", // oracle text "*.M*_*$$", // Spatial index...
View ArticleReCreate ASM Disks
The following ASM disks were created which does not follow convention: ASM_REDO01_006, ASM_REDO01_007, ASM_REDO01_008, ASM_REDO01_009, and ASM_REDO01_010 It should be: ASM_REDO01_001, ASM_REDO01_002,...
View ArticleLosing /u01
There was an incident where /u01 was lost. This means having to reinstall and patch software again. When installing grid and I encountered: CRS is already configured on this node for...
View ArticleWhat convention to use for PDB?
I don’t know but best to have one. With multi-tenant database, I would use OMF to keep it simple and to avoid having to remember about FILE_NAME_CONVERT. When creating PDB, there may be specification...
View ArticleNo Fun with EM 12c
Confession: I have not been using OEM for decades since there was never a real need for it and it’s starting to take its toll on me. Throughout the day, I keep getting paged from OEM – Message=Number...
View ArticleNote to self for blocking locks
Session 1 starts UPDATE and nothing else. ++++++++++ Session 1: 02:53:39 ARROW:(MDINH@leo):PRIMARY> update t set object_id=100; 1 row updated. 02:53:45 ARROW:(MDINH@leo):PRIMARY> ++++++++++...
View ArticleQuick note on using nc (netcat)
Due to security hardening, telnet is not available. $ rpm -q --whatprovides nc nc-1.84-24.el6.x86_64 $ yum list nc Loaded plugins: refresh-packagekit, security epel/metalink | 11 kB 00:00 epel | 4.3 kB...
View ArticleConfiguring Multiple local_listener
I was working on configuring multiple local listeners and having difficulties setting local_listener using full address list. How would you set up local_listeners? Demo: There are 4 listeners, 1-4. $...
View Articlerlwrap – there’s a rpm for that
Recently, there has been discussion about using rlwrap for Goldengate on Twitter feed. Truthfully, I did not know there was RPM for this and I did not even know it was already installed. It just...
View ArticleColumns Affected by Extended Data Type
I am not going to post how to convert to extended data type since there are many blogs on that already. Just a reminder, there’s no going back; hence have backup and possibly minimize changes during...
View ArticleTo CDB or NOT To CDB (ORACLE_MAINTAINED Column)
I recently discovered about column ORACLE_MAINTAINED added to DBA views and got excited over nothing. ORACLE_MAINTAINED from DBA_ROLES Denotes whether the role was created, and is maintained, by...
View ArticleORACLE_MAINTAINED Objects Don’t Export
What a disaster this is with 12c full database export and ORACLE_MAINTAINED objects. Somehow, oracle thinks MDINH is an ORACLE_MAINTAINED user and user MDINH does not get exported. ——— Why Can an...
View ArticleORACLE_MAINTAINED Set From “_ORACLE_SCRIPT” parameter
A huge thank you to Pete Finnigan for his blog post. Hacking Oracle 12c COMMON Users Not only is the implementation of ORACLE_MAINTAINED not ideal, it’s a possible security risk. My tip to you is to...
View Article