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, April 18, 2018

Potential solution for ORA-12008: error in materialized view or zonemap refresh path

›
During the synch-phase of an online redefintion, I received the error: begin ORA-42009: error occurred while synchronizing the redefiniti...
1 comment:
Tuesday, April 17, 2018

Syntax for index hint

›
Use /*+ INDEX(table_name index_name) */ For example: set autot trace exp stat select /*+ INDEX(MYTABLE MY_IDX1) */ min(entry_num) from s...
Friday, April 13, 2018

A solution for ORA-28040

›
When connecting to Oracle 12c databases you may get ERROR: ORA-28040: No matching authentication protocol upon login. The error is de...
Tuesday, April 10, 2018

How to change the start time for a maintenance window

›
For example, if you want to change the start time for the MONDAY_WINDOW from the default 22:00 to 23:59, use the following syntax: BEGIN D...

More on finding failed autostats jobs

›
In a previous post , I showed how to check if an autostats job had succeeded. Recently I had to unlock table stats on a very large parti...
Thursday, March 15, 2018

›
The error SP2-0552: Bind variable "B2" not declared. can arise when using incorrect declarations in your SQL scripts. For exa...

How to load a plan from the cursor cache into the SMB

›
set serveroutput on VARIABLE cnt NUMBER -- Specifying both the SQL ID and the plan hash value: EXECUTE :cnt := DBMS_SPM.LOAD_PLANS_FROM_C...
‹
›
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.