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 30, 2016

How to extract the base tables used by a view

›
To extract the tables being used in a view, you can query the USER_DEPENDENCIES view, like this: SELECT NAME, TYPE, REFERENCED_NAME,REFERE...
Monday, June 20, 2016

How to list all users and their number of owned objects

›
Join dba_users with dba_objects using a correlated subquery, and you'll get all the schemas, both those which own objects and those who...

The RANK function for DBAs

›
The analytic function RANK is perhaps not the most commonly used by DBAs. For what it's worth, here is a short demonstration: 1. Find...
Tuesday, June 14, 2016

How to compare the number of objects per schema in two databases

›
After a migration of a database to a new server, or after any kind of replication, you would like to get some verification that your objects...
Friday, May 20, 2016

How to handle message "Expected XDB Resources are not there" when OLAP API is invalid after an upgrade

›
Background: After an upgrade, you have invalid components in you registry. To fix the OLAP components you have followed "Oracle Olap ...
Wednesday, April 20, 2016

How to solve ORA-28017: The password file is in the legacy format

›
SQL> alter user sys identified by iossS1Qwmk_kKfGHqs0UVu93xxswQ; alter user sys identified by iossS1Qwmk_kKfGHqs0UVu93xxswQ * ERROR at l...
1 comment:
Thursday, April 7, 2016

Simple sed-command for exchanging a string in multiple files

›
sed -i "s/oldstring/newstring/g" For example sed -i "s/11204/12102/g" /etc/oratab
2 comments:
‹
›
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.