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 Articleopatch 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 ArticleIssue 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 ArticleRunning 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 ArticleGetting 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 ArticleSecurity 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 ArticleDiscrepancies 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 ArticleOne 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 ArticleCloud 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 ArticleLarge 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 ArticleIssues 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 ArticleStartup 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 ArticleCreating 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 ArticleMigrating 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 ArticleUsing 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 ArticleUsing 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 ArticleIdentifying 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 ArticleManage 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 ArticlePurge_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 Article12.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