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, November 16, 2022

How to log entire output from a shell script

›
I have recently used exec to send all output from a bash script to a designated logfile. For example, if you have a complex script which...
Tuesday, November 15, 2022

How to correct an identity column sequence after import

›
Thanks to the authors behind Grassroots-oracle for sharing this trick. I finished an import of a table with an identity column, and for...
Friday, November 11, 2022

Getting ORA-01031: insufficient privileges when creating a view that is refering to another schema's table

›
If you get PRA-0131 during creation of a view refering to a schema object in a different table, try the following: grant select on forei...
Wednesday, November 9, 2022

Listener output showing multiple instances when only one exists

›
In one of my multitenant setups, I saw the following output from the listener: lsnrctl status cdb Service "sales" has 2 instanc...
Tuesday, November 8, 2022

Workaround for error ERROR: OCI Error DPI (status = 7-DPI-007: invalid OCI handle or descriptor) when starting Golden Gate replicate process

›
When trying to login to the golden gate cli interface, I got the following error: GGSCI (myserver1.oric.no) 7> dblogin useridalias mydb...
Monday, October 31, 2022

How to clear resolved errors from PDB_PLUG_IN_VIOLATIONS

›
The query below shows 4 resolved messages in the view PDB_PLUG_IN_VIOLATIONS: SELECT NAME,CAUSE,TYPE,MESSAGE,STATUS FROM PDB_PLUG_IN_VIOL...
Friday, October 21, 2022

Rename schema in PostgreSQL: syntax

›
\connect db01 alter schema schema1 rename to schema1_old; Documented here
‹
›
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.