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.

Thursday, June 5, 2025

PostgreSQL search_path basics

›
Similar to Oracles alter session set current_schema=<schema_name> , in PostgreSQL, search_path is a session-level setting that dete...

How to limit connections in a postgres database

›
This is how you can restrict connections for a specific database to zero: postgres=# alter database db01 connection limit 0; ALTER DATABA...

create user in postgres - basic syntax

›
I will create a group role called common_users a user called ro_user1 in a database called db01 The read-only user ro_user1 should ...
Tuesday, June 3, 2025

PostgreSQL Memory Parameters and how they relate

›
Here are some of the important memory parameters in a postgreSQL server, and how they relate to one another. shared_buffers The amount o...

How to setup huge pages on a postgreSQL server

›
The Postgres Documentation states: The use of huge pages results in smaller page tables and less CPU time spent on memory management, inc...
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...
›
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.