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.

Friday, May 23, 2025

How to find constraints on a table in postgres

›
SELECT con.conname AS constraint_name, CASE con.contype WHEN 'p' THEN 'PRIMARY KEY' WHEN 'u...
Thursday, May 22, 2025

PostgreSQL: difference between \copy and COPY

›
If you put a statement like this in a file: COPY at_locations FROM '/external/data/geolocations_at_fixed.csv' WITH ( FORMAT csv...
Wednesday, April 30, 2025

Cleanup of the ADR

›
Sometimes you may want to clean up your adr. I had this problem after I had just recently created a new database on my server called "d...
Friday, April 25, 2025

List folders only - no files

›
For future quick reference: I prefer: ls -d */ dir1/ dir2/ di3/ dir4/ Also good: ls -l | grep "^d" drwxr-xr-x ...

Arguments that can be passed to "dbca -createCloneTemplate" usage output

›
dbca -createCloneTemplate -sourceSID source_database_sid | -sourceDB source_database_name -templateName new_database_template_name ...

What is the reason behind the message: "xauth: file /root/.Xauthority does not exist "?

›
What does the message that you sometimes see when attempting to launch X applications on a Linux server "xauth: file /root/.Xauthori...
Wednesday, April 23, 2025

How to create a database with non-default blocksize using dbca

›
Prerequisites: You have a valid Oracle 19c installation in a server You have set your Oracle environment already, so that your PATH, ORACLE...
‹
›
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.