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.

Wednesday, May 29, 2024

How I removed a data guard config completely

›
Here is my config: DGMGRL> show configuration; Configuration - DGConfig1 Protection Mode: MaxPerformance Members: kej01 ...
Friday, May 17, 2024

Easy Connect syntax

›
Basic syntax: sqlplus uid/pwd@//servername.domain.com:port_number/service_name If you do not specify port, 1521 is assumed. Example con...
Wednesday, May 8, 2024

syntax for dropping a temporary file from a temporary tablespace

›
For future reference, here is how to drop and recreate a temporary file in an existing temporary tablespace, but with a changed path: If a...
Monday, May 6, 2024

How to solve errors like "Interim patch num/num (DATAPUMP BUNDLE PATCH 19.21.0.0.0): Not installed in the CDB but installed in the PDB"

›
After running autoupgrade, I was left with the following message in the logfile $ORACLE_BASE/cfgtoollogs/upgrade/auto/status/status.log: [S...
Monday, April 22, 2024

grep for all database names in /etc/oratab

›
The file /etc/oratab contains: # mydb01:/orainst/product/19c:Y cdb:/orainst/product/19c:N To extract the database names: grep "^[^#]...
Thursday, April 18, 2024

Solution to script warning: here-document at line < num > delimited by end-of-file (wanted `!')

›
In a script, I had formatted my code as follows: for l in $(cat file.txt|grep 'Status'| awk -F' ' '{print $2}')...
Wednesday, April 17, 2024

Solution to ORA-28547: connection to server failed, probable Oracle Net admin error

›
When trying to perform sqlplus actions against one of my databases, I received oracle@oric-dbserver01:[mydb01]# sqlplus / as sysdba SQL*P...
‹
›
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.