As I come across useful scripts, I create SQL Developer reports to retain them. Some of my reports may not work in your environment, but please feel free to download them and try them out using the link below.
Search Form
Music
Oracle
Personal
As I come across useful scripts, I create SQL Developer reports to retain them. Some of my reports may not work in your environment, but please feel free to download them and try them out using the link below.
As a few of my closest friends know, I have been listening to Trentemoller for the past few several months. Surprisingly, he is playing at Neumos on Monday, October 8th, 2007. The show is a few weeks off, so watch the Moan video in the meantime.
Issue
You need to change the SYSTEM, APPS, and Oracle Applications schema passwords.Â
Solution
Run the linked Apps Change Passwords Script on an application tier.After changing the passwords, run Autoconfig on each of the Application Tier Nodes.
Issue
You have online redo log files in the wrong place and want to move them.
Solution
select l.group# group_number
, l.status group_status
, f.member group_member
, f.status file_status
from v$log l
, v$logfile f
where l.group# = f.group#
order by l.group#
, f.member;
sqlplus /nolog
SQL> connect / as sysdba
SQL> alter database add logfile ('/path/to/new/redo_01_01.log','/path/to/new/redo_01_02.log') size 150M;
SQL> alter database add logfile ('/path/to/new/redo_02_01.log','/path/to/new/redo_02_02.log') size 150M;
SQL> alter system switch logfile;
SQL> alter database drop logfile group GROUP#;
The dropped log files should have automatically been deleted from the file system.
References
Oracle® Database Administrator’s Guide – Managing the Redo Log
Tucson Pictures
As promised, here are some pictures from my Tucson trip. Please thank my good friend Heather, as she is practically the only reason I have any pictures at all. 🙂