Quantcast
Channel: Thinking Out Loud
Browsing all 666 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Windows Task Scheduler CMD

Don’t get me wrong. GUI can be terrific but it does have its place. When the connection between you and the the target host are multiple servers across the continent, the latency will drive me crazy...

View Article


Image may be NSFW.
Clik here to view.

TFA installed as part of 21523375 (Oct2015 CPU)

+++ Patch 21523375 – Oracle Grid Infrastructure Patch Set Update 11.2.0.4.8 (Oct2015) (Includes Database PSU 11.2.0.4.8) +++ Case 1: GI Home and the Database Homes that are not shared and ACFS file...

View Article


Image may be NSFW.
Clik here to view.

Pet Peeve crs start/stop

When stopping crs, there are 50+ outputs and is Attempting really necessary? Conversely, when starting crs, there are only 1 output and we all know the process has not completed since crsctl stat...

View Article

Image may be NSFW.
Clik here to view.

Patching with OPLAN

From a time far, far way, I tweeted about Oracle Software Patching with OPLAN (Doc ID 1306814.1) and decided to give it a try. First, you will need to configure X11 else error: Can’t connect to X11...

View Article

Image may be NSFW.
Clik here to view.

ORA-01652: unable to extend temp segment even with Autoextend ON

I have encountered a very strange feature and wondering if anyone has experienced this. Tracing was enabled for “ORA-01652: unable to extend temp segment” using alter system set events ‘1652 trace name...

View Article


Image may be NSFW.
Clik here to view.

How Reliable is v$archive_dest_status?

v$archive_dest_status Any DG Experts out there who knows more about the reliability for v$archive_dest_status as it has been many years since I have written scripts to monitor DG. Don’t want to...

View Article

Image may be NSFW.
Clik here to view.

ORA-12514: TNS:listener during switchover using DGMGRL

Not sure what I am doing wrong because DEFAULT StaticConnectIdentifier does not seem to work. Google and MOS were not much help. Using StaticConnectIdentifier as created by dmgrl would fail with the...

View Article

Image may be NSFW.
Clik here to view.

Validate DG Broker Config for Switchover

Primary and Standby databases are running on the same server using OMF with listening on port 1530/1531 Note I have – TraceLevel = ‘SUPPORT’ +++ Check listener for DGMGRL service from PRIMARY and...

View Article


Image may be NSFW.
Clik here to view.

Unsolved Case for Missing archived_log Backup

The project was to migrate database from one DC to another. The decision we made was to perform RMAN KEEP backup so it does not interfere with existing retention policy. Backup also resides in its own...

View Article


Image may be NSFW.
Clik here to view.

Why use KEEP backup?

Question which may have been asked. For 1 time backup to migrate/clone database, KEEP backup does not affect retention policy and not backed up 1 times clause. Imagine the consequences for deleting 1...

View Article

Image may be NSFW.
Clik here to view.

Checksum entire directory using md5sum

When you are backing up 3.5+ TB database, resulting in 600+ GB backupset, transferring to new DC, you would want to ensure there are no corruptions resulting from transfer. Here is an example of how to...

View Article

Image may be NSFW.
Clik here to view.

Bad to crosscheck archivelog all

Typically, it’s not a good idea to have “crosscheck archivelog all;” in backup scripts and even worse to have “delete expired archivelog all;” since any evidence will be eradicated....

View Article

Image may be NSFW.
Clik here to view.

Not Another Standby Monitoring Script

I know what you are thinking. Not another standby monitoring script, right? There’s plenty of them out there already and what makes this one any different? You are probably correct and there’s probably...

View Article


Image may be NSFW.
Clik here to view.

Converting to Interval Paritions

Just a quick note to demonstrate how to convert date range partition into interval partition. Create test case: ARROW:(MDINH@hawklas):PRIMARY> @test_part.sql ARROW:(MDINH@hawklas):PRIMARY> set...

View Article

Image may be NSFW.
Clik here to view.

Create DB with minimum parameters

Just a quick post to create database with minimum parameters. Note: for the control_files parameter to be updated, you must create spfile from pfile....

View Article


Image may be NSFW.
Clik here to view.

CVE-2015-7547 for Oracle Database

I am sure by now you have heard about the bug. Reboot Required! Need to update to release el6_7.7 if you are on OEL 6 glibc-2.12-1.166.el6_7.7.x86_64.rpm glibc-common-2.12-1.166.el6_7.7.x86_64.rpm...

View Article

Image may be NSFW.
Clik here to view.

Revised RMAN Backup Size

Long, long ago, I posted https://mdinh.wordpress.com/2013/10/31/whats-rman-backup-size/ and recently discovered  the SQL was incorrect. Current SQL does not include backup_copy as it got a little...

View Article


Image may be NSFW.
Clik here to view.

A Better Diff

I have been working on simplifying, perfecting, and comparing RMAN backup scripts. The typical diff file1 file2 was not useful as I wanted a complete picture. Look at what I found! $ diff -iwyB...

View Article

Image may be NSFW.
Clik here to view.

12c Silent Install software-only BUG

12.1: Oracle Database Software Only Silent Installation Fails to Create configToolAllCommands (Doc ID 2037923.1) The BUG is in RED BOLD below....

View Article

Image may be NSFW.
Clik here to view.

RANT PSU Naming

Do you know what PSU there are? oracle@arrow:db12c:/media/sf_working/12c/psu $ ll *.zip -rwxrwx---. 1 root vboxsf 147028181 Mar 4 20:00 p21948354_121020_Linux-x86-64.zip -rwxrwx---. 1 root vboxsf...

View Article
Browsing all 666 articles
Browse latest View live