Quantcast
Channel: Oracle DBA – A lifelong learning experience
Browsing all 189 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Changing a database link password

I recently found out  that it is possible to change a database link password without dropping and recreating a database link in its entirety. To be honest I thought this might have existed forever and...

View Article


Image may be NSFW.
Clik here to view.

opatch lsinventory gives “line 384: [: =: unary operator expected”

I noticed the error message when running lsinventory against a  12.1.0.2 Oracle_Home. As the command worked I didn’t think anymore of it until on the same server against an 11.2.0.1 home I got the same...

View Article


Image may be NSFW.
Clik here to view.

Issue with Datapatch – AKA SQL Patching Tool after cloning a database

There have been a few changes in the way patches are managed and monitored in 12c and whilst looking at this I found a potential problem that might occur when you clone or copy databases around, or...

View Article

Image may be NSFW.
Clik here to view.

Running two oracle installations from the same terminal

Two posts from me on the same day. The other one about Datapatch is about a brand new utility in 12c and is probably new to most people. This post caused mixed reactions when I mentioned it at work...

View Article

Image may be NSFW.
Clik here to view.

Getting sql statements out of a trace file

The focus on this post started off in one direction and ended up in another. Originally I had been running a drop user script which had hung and even when I killed the process I could not drop the...

View Article


Image may be NSFW.
Clik here to view.

Security parameters in 11G and 12C

There are 5 parameters that are all prefixed with ‘sec’ in an 11g and 12c database. Actually that is a lie because one is now deprecated in 12c. They are all, as you might guess related to security....

View Article

Image may be NSFW.
Clik here to view.

Discrepancies in v$parameter default values in 12c

In my last blog about security parameters I mentioned I had found some oddities in the default values for parameters in 12.1.0.2, this is a more in-depth analysis of my findings. Taking the parameter...

View Article

Image may be NSFW.
Clik here to view.

One million blog views reached

This morning I will pass the 1 million mark for hits on this blog. My first post was written in 2008 and I remember being quite pleased with myself when I reached 5000 hits, I never dreamt of getting 1...

View Article


Image may be NSFW.
Clik here to view.

Cloud agent set to DEBUG causing out of memory errors

The following technical detail was put together by a colleague John Evans and have taken it , with his permission, and wrapped some more detail around it as it seemed to be of real value to anybody who...

View Article


Image may be NSFW.
Clik here to view.

Large audit trail table causes high db activity – especially when using OEM

On various databases, apparently unrelated we have noticed high activity that seems to be associated with the query below. The quieter the database the more the query stands out.   SELECT...

View Article

Image may be NSFW.
Clik here to view.

Issues around recreating a standby database in 12c

When you create a database in 12C it now creates a resource in HAS/CRS , which isn’t a problem However, when you come to recreate a standby database, probably because it has got such a big lag that it...

View Article

Image may be NSFW.
Clik here to view.

Startup PDB databases automatically when a container is started – good idea?

I posed a note on the Oracle-L Mailing list around pluggable database and why they were not opened automatically by default when the container database was opened. The post is below I am trying to get...

View Article

Image may be NSFW.
Clik here to view.

Creating standby database inc DG Broker and 12c changes

I thought I would refresh my knowledge of creating a standby database and at the same time include some DataGuard Broker configuration which also throws in some changes that came along with 12c...

View Article


Image may be NSFW.
Clik here to view.

Migrating tablespaces across endian platforms

T 4 HP-UX IA (64-bit)   Big 13 Linux x86 64-bit   Little[/code]   Set the tablespace EXAMPLE read only   alter tablespace example read only; Tablespace altered. select file_name from dba_data_files;...

View Article

Image may be NSFW.
Clik here to view.

Using DBMS_PARALLEL_EXECUTE

DBMS_PARALLEL_EXECUTE We have a number of updates to partitioned tables that are run from within pl/sql blocks which have either an execute immediate ‘alter session enable parallel dml’ or execute...

View Article


Image may be NSFW.
Clik here to view.

Using SYSBACKUP in 12c with a media manager layer

I think most large sites who have multiple support teams are aware of how the phrase “Segregation of Duties” is impacting the DBA world. The basic principle, that one user should not be able to, for...

View Article

Image may be NSFW.
Clik here to view.

Identifying database link usage

As part of ongoing security reviews I wanted to determine if all database links on production systems were in use. That is not very easy to do and this article is a listing of some of the options I...

View Article


Image may be NSFW.
Clik here to view.

Manage a PSU into a CDB having several PDBS

I thought it would be a good idea to show how to apply PSU into the CDB and PDB that came with 12c. I start off with a quick reminder about how 11g worked and then move into examples of 12c 11G...

View Article

Image may be NSFW.
Clik here to view.

Purge_stats – a worked example of improving performance and reducing storage

I have written a number of blog entries around managing the SYSAUX tablespace and more specifically the stats tables that are in there....

View Article

Image may be NSFW.
Clik here to view.

12.1.0.2 enhancement – large trace file produced when cursor becomes obsolete

A minor change came in with 12.1.0.2 which is causing large trace files to be produced under certain conditions. The traces are produced as a result of an enhancement introduced in an unpublished bug....

View Article
Browsing all 189 articles
Browse latest View live