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, March 29, 2019

How to remove the schema OWF_MGR from a database

›
Applicable for Oracle version 12.1.0.2.0. Workflow manager is a component used for Orchestrating of Oracle Warehouse Builder (OWB). If y...
Wednesday, March 27, 2019

How to monitor redo apply in a snapshot standby database

›
SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY; Sample output (abbriviated): PROCESS STATUS ...
Monday, March 18, 2019

How to drop a user from a PostgreSQL database

›
Tested against PostgreSQL version 11 This is how you drop a user (or "role" as it is called in postgresQL): --If necessary, ...
Friday, March 15, 2019

How to describe and analyze a partitioned table in postgreSQL

›
In this example, I am describing a table called "albums" in a database called "music". The table is partitioned: psql...

How to connect to a non-default PostgreSQL database as a specific user using pslq

›
To connect to a specific database as a specific user: psql -h myserver.mydomain.com -U music musicdb or psql -h 127.0.0.1 -U music mus...
Thursday, March 14, 2019

How to show current connect info in PosgreSQL

›
[postgres@myserver.mydomain.com ~]$ psql psql (11.2) Type "help" for help. postgres=# \connect musicdb You are now connected to ...
Wednesday, March 13, 2019

How to create a unified auditing policy

›
For example, create a policy to audit the "create session" privilege: create audit policy audit_cre_session privileges create...
‹
›
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.