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, January 29, 2014

How to group output using GROUPING SETS.

›
Following up with the table from my previous post "How to use the MERGE statement with a subquery" , here is an example on how to ...

How to use the MERGE statement with a subquery

›
Here is an example on how to use the MERGE statement to update a table, using a self-referencing subquery. One of many ways to clean up unst...
Tuesday, January 28, 2014

How to deregister a database from a Recovery Catalog

›
Log on to the target database: SQL*Plus: Release 11.2.0.2.0 Production on Tue Jan 28 14:00:50 2014 Copyright (c) 1982, 2010, Oracle. All ...

How to set a column to UNUSED

›
Setting a column to UNUSED can be a solution when you cannot or should not attempt to drop a column due to performance reasons. Syntax: ...

Important files and directories in a Netbackup setup

›
Important netbackup files and directories on a typcial unix server: /usr/openv/netbackup/version --> displays the netbackup version /u...

How to save a value in a bind variable

›
Useful for tracing or explaining queries that use bind variables: connect scott/tiger var leom char(10); var eod char(10); exec :leom := t...
Friday, January 24, 2014

How to shrink a datafile in a temporary tablespace

›
alter tablespace TEMP shrink tempfile '/data/oracle/PRODDB01/datafiles/temp_20.dbf' KEEP 8G; This feature was introduced in Oracle...
‹
›
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.