The ‘rfs writes’ event on a DataGuard standby database
It is well known that poor performance on the standby server of a DataGuard pair can affect the performance of the primary database. This post shows an example and how to use the view...
View Articleaud$ and ASSM – a good combination
We had a 8 node RAC cluster that was showing evidence of connections timing out. The following AWR report segments indicates a high level of login activity and blocking on the AUD$ table and segments....
View ArticleDon’t forget the emctl reload agent command
Just a quick entry to show the use of a command that I had forgotten existed but it seemed to work nicely Problem – OEM12C agent had been down for a few days on a non-production server and more than...
View ArticleIn praise of bloggers (along with sql_profiles and RAC interconnect pings)
Today I am going to mention two articles which I came across in the last few days whilst investigating problems and talk about the background to the problems but also praise the articles. I am sure...
View ArticleAnother really enjoyable UKOUG Database SIG
Today’s venue was the Metropole Hotel in the centre of Leeds and there was a good attendance, encouraged by a strong agenda. After introductions, health and safety and UKOUG information it was straight...
View ArticleConverting an SCN to a timestamp
Something nice and simple It is easy to get the current SCN from the database and to map between SCN and timestamp because from 10g onwards there are 2 functions to convert between SCN and TIMESTAMP In...
View ArticleBugs with rm -rf from within asmcmd
Performing an rm -rf operation is normally a simple operation albeit risky if you are in the wrong folder. However within ASMCMD there are a couple of bugs associated with it. Here are two examples and...
View ArticleTidying up SYSAUX – removing old snapshots which you didn’t know existed
This post runs in parallel with a post I made 5 years ago and which is still the most read one on this blog http://jhdba.wordpress.com/2009/05/19/purging-statistics-from-the-sysaux-tablespace/ It will...
View ArticleThe value of audit_trail=DB,EXTENDED
I was recently reading a blog entry by Dominic Brooks regarding auditing and I was intrigued by the line referring to the audit_trail parameter being set to DB, EXTENDED Behaves the same as...
View ArticleValuable BAU OEM reports – some examples
A well configured OEM 12c (or any previous version of your choice) is a fantastic enterprise tool and the reporting capabilities are a major asset. I am going to share three examples of reports we use...
View ArticlePreventing standby databases opening in Active DataGuard mode + chopt !!!
It is long been a concern of mine that it is relatively easy to open a standby database inadvertently and then be potentially liable to a licensing cost as usage is shown in the...
View ArticleMy misunderstandings regarding when indexes would not be used
It is normal for bloggers including myself to post about the great things they have done – however in this case I am blogging about why I was surprised that adding a specific index had the substantial...
View ArticleHow does statistic gathering fit in with ITIL Change Management processes
In the (good) old days there was only one optimizer and plans were developed based on the precedence of the rules. For some reason I have always thought there were 11 rules but looking at the manual it...
View ArticleProgress update on my AWR repository
I received an email from a team member yesterday Have you seen this? https://docs.oracle.com/database/121/TDPPT/tdppt_awr_warehouse.htm Interesting idea – ever thought of implementing it? Well of...
View ArticleLoading timestamp with timezone into a table using SQL Developer
I will start this post off stating that I know there are better and more efficient methods of doing this but this is the best method I could come up with. I had a csv file with a number of columns,...
View ArticleControlling RMAN channels on RAC
This was sent to me for posting by my friend and ex-colleague Vitaly Kaminsky …. I have recently worked with the customer where standard RMAN backups of production 2-node cluster (11.2.0.3) were...
View ArticleUsing grant connect through to manage database links
Nobody can say that I am not current and topical with my posts. This post refers to functionality that was introduced in 9i, however I have just come across it and thought it useful enough to blog...
View ArticleMy bizarre question of 2015 already
To be honest it was asked 2 years ago in a blog about ASM and rebalancing and someone asked the following question Can I upgrade ASM from 10205 to 11203 while ASM rebalancing is in progress? and the...
View ArticleStopping one ASM listener in Flex ASM environment takes down ASM instance
Stopping one ASM listener in Flex ASM environment takes down ASM instance This is a heads-up about behaviour we are seeing during OAT testing on a 12c environment. We are running OAT tests on a new...
View ArticleNew ASM power levels in 11.2.0.2 and beyond
I recently saw the following command in a script that was to be run and thought an error had been made and the power level should have been 5 not 500. ALTER DISKGROUP DATA REBALANCE POWER 500; Upon...
View Article