How to generate series of AWR reports
To checkup performance issues usually I do get awr and ash reports every 15 minutes along the period I want to check.
This script helps to automatically generate a set of awr reports: Run_AWR_Reports
« December 2007 | Main | February 2008 »
To checkup performance issues usually I do get awr and ash reports every 15 minutes along the period I want to check.
This script helps to automatically generate a set of awr reports: Run_AWR_Reports
This post is the answer to a conversation with a Senior DBA.
He asked me if it is possible to set a tablespace offline, use Rman to backup it, then remove the tablespace underlying datafiles, and, when needed restore the tablespace without performing recovery.
The idea behind is to be able to free the space used by tablespaces that we do not need to have online, but we need to keep them, usually for legal reasons, for a period of several years.
The standard solution would be to move and compress this data into historical databases, based on cheaper storage . The data transfer can be achieved using transportable tablespaces, cross-platform transportable tablespaces or data pump.
I did test two approaches of doing this: Using Transportable Tablespaces and using Offline Tablespaces.
Full details can be found here: ASM Based Tablespaces Backup With Rman for Long Term Offline Storing
There were a couple of questions I did take home from the Seminar:
There are several ways to clone an ASM based database, some of them result in a directory structure that do not match the current database name, i.e, the source database directory structure is built this way:
(it may happen that your spfile is siting on an alias with the name of the database, you will need to remove the alias to be able to create the directories)
To rename a database we set the new name recreating the controlfile, in the case of a RAC database the procedure is slightly more complex, as we need to recreate the controlfile in single instance mode using a modified pfile, and then recreate the spfile.
Once the new controlfile is ready we need to register the database with CRS in order to enable its management as a RAC database.
This document "How to Recreate the Controlfile on a RAC Environment" illustrate the steps required to accomplish that.
This page contains all entries posted to Alejandro Vargas' Blog in January 2008. They are listed from oldest to newest.
December 2007 is the previous archive.
February 2008 is the next archive.
Many more can be found on the main index page or by looking through the archives.