Minimalistic Oracle

Minimalistic Oracle contains a collection of practical examples from my encounters with Oracle technologies. When relevant, I also write about other technologies, like Linux or PostgreSQL. Many of the posts starts with "how to" since they derive directly from my own personal experience. My goal is to provide simple examples, so that they can be easily adapted to other situations.

Monday, December 11, 2023

How to write custom messages to the alert log file

›
exec sys.dbms_system.ksdwrt(2,'Your message here') The first argument can be either 1 -> Write to the trace file 2 -> Wr...
Friday, December 8, 2023

Syntax for applying and removing a patch on the WLS server Home in an EBS 12.2 installation

›
The bsu (or "Smart update") utility: cd $MW_HOME/utils/bsu bsu.sh -version Oracle Smart Update. Version: 3.3.0.0 Here's a...

Script sniplet to differentiate between cdb and pdb environment settings in a shell script

›
This little sniplet could be used if you find yourself in a situation where you need to differentiate between the cdb environment and the p...

How to generate a cold backup script for a database

›
Probably many ways to to this, but here is how I generated a simple file that after being made executable will copy all files to a specifi...
Thursday, November 23, 2023

How to use strace to figure out what files are being accessed by a shell script

›
I had a situation where an ebs-supplied script adstrtal.sh would not start - it kept throwing error ORA-12541: TNS:no listener Although ...

Solution to ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

›
I had a situation where the error ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA was thrown when connecting to ...
Friday, November 10, 2023

What are EBS snapshots?

›
I found this info in the document Oracle® Applications Maintenance Utilities Release 12.1 Part No. E13676-02 There are two types of snap...
‹
›
Home
View web version

About Me

My photo
Name: Vegard Kåsa
My career as an Oracle DBA startet in 2001, when I acceptet a request to take on the responsibility as my current employer's DBA. From that point and onwards, managing Oracle databases has kept me busy and engaged. I enjoy my work, and particulary appreciate the constant learning and devlopment that comes with the job. From 2014, I am self-employed through my company Oric Consulting AS (Norway), and from 2024 Oric Consulting AB (Sweden) I currently live in Göteborg, Sweden, with my family.
View my complete profile
Powered by Blogger.