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, January 31, 2022

Simple SQL to list

›
The following SQL lists the indexes defined on a table, along with the columns and their positioning: SELECT I.INDEX_NAME,I.INDEX_TYPE,I.N...
Wednesday, January 5, 2022

How to set a dynamic parameter in a postgreSQL database cluster

›
As with oracle, some parameters may be set dynamically in a postgreSQL database cluster. A postgreSQL database cluster uses a parameter f...

How to find out if a hot standby postgres database is receiving logs

›
select pg_is_in_recovery(); pg_is_in_recovery ------------------- t (1 row) https://www.postgresql.org/docs/11/functions-admin.html#F...
Wednesday, December 22, 2021

What is the difference between "force parallel" and "enable parallel" used in the "alter session" statement in Oracle?

›
What is the difference between these two statements? ALTER SESSION ENABLE PARALLEL DML | DDL | QUERY; and ALTER SESSION FORCE PARALLEL ...
Tuesday, December 21, 2021

How to work around error [INS-08101] Unexpected error while executing the action at state: ‘supportedOSCheck’

›
Thanks so much to Martin Berger for his blog post showing how to work around an error that shows up when you attempt to install Oracle 19...
Wednesday, December 15, 2021

How to find tables with specific column data types in a PostgreSQL

›
Thanks to Bart Gawrych for blogging this very useful post on which my own post is based on. I needed to find all tables in a specific sc...
Wednesday, December 8, 2021

How to add a string to specific line in a text file

›
Here is an example of how I inserted a line needed in a postgres pg_restore command, at line 20: sed -i '20s/^/SET search_path to sale...
‹
›
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.