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, October 25, 2017

How to use the find command on Unix/Linux systems

›
Here is how to list the regular files (indicated by -type f) files generated the last 30 minutes in a particular directory on a Linux/Unix ...
Monday, October 23, 2017

How to to use the script-command to log everything a script does

›
The utility "script" will make a typescript of a terminal session. Very useful if you have a script which produces lots of output...
Thursday, October 19, 2017

How to monitor rollback activity after killing long-running session

›
Found this brilliant script here: http://www.oracle-wiki.net/startsqlshowrollinfo prompt This query will monitor rollbacks of transactio...
Thursday, October 12, 2017

How to delete a specific line from a file, or all characters following a specific character using sed

›
If you want to search a file for a particular string, and then delete that line, use sed, like this: sed -i "/_use_column_stats_for_...
Tuesday, October 10, 2017

How to find the currently enabled unified auditing policies

›
Oracle 12c comes with two auditing policies enabled by default: ORA_SECURECONFIG and ORA_LOGON_FAILURES. You can find the currently enabl...
Wednesday, September 27, 2017

How to use the dbms_explan.display_cursor function to find the execution plan of a query in the Cursor Cache

›
set linesize 200 set pagesize 0 select * from table (dbms_xplan.display_cursor( '0syc4upspr638',3,'TYPICAL')); exit Where ...
Wednesday, September 20, 2017

How to migrate a non-CDB database to a PDB on the same host

›
There are many ways to migrate your non-cdb Oracle databases to the new Multitenant Architecture. Here I will show you how to clone a non-c...
‹
›
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.