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, one of which was data in a timestamp with timezone format.
A few rows looked like this – note I have stripped the other columns out for ease of display.
7941 11/9/2014 12:46:49 AM +00:00
8533 11/9/2014 12:46:49 PM +00:00
3692 11/9/2014 1:10:36 PM +00:00
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 course I have implemented a AWR data repository and I thought I would catch-up on where I am with it and how it is being used.
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 tells me there are 15 rules
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 benefits it did have.
The table contains around 32M rows, is not partitioned and is on Linux 188.8.131.52
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
In fact we logged an SR on the subject based on experiences on failing over using DataGuard Broker
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 and find valuable and if anybody has any other good ideas I am happy to hear about them.
I don’t think I wrote any of them but I almost certainly identified the requirement and instigated the creation of each report. I have masked out obvious details so the screen shots do look messy.
This post runs in parallel with a post I made 5 years ago and which is still the most read one on this blog
It will show how to reduce space taken up in the SYSAUX tablespace by because you have many more AWR snapshots being retained than you think.
Firstly lets take an example database and we can see that we are using 92Gb of space
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 workrounds
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