Archive for October, 2009

Running RMAN commands from PLSQL

Tuesday, October 27th, 2009

I still haven’t been able to determine if this is 100% supported, but it works. If you wanted to delete archived redo logs from within a database session (for some unknown reason), you can run something similar to the following: begin for cur in (select * from v$archived_log where deleted = 'NO' and... »

Posted in Oracle, Programming | No Comments »

Library cache lock during grant/revoke

Monday, October 12th, 2009

This is interesting. I have always thought oracle latches were kind of mysterious, for lack of a technical term. Don’t get me wrong, I understand semaphores (I have programmed with these before), and “test and set” operations on certain types of computer processors. However, oracle’s rules are so intertwined that I... »

Posted in Oracle | No Comments »

sudo and LD_LIBRARY_PATH … never the twain shall meet

Thursday, October 8th, 2009

While writing something for our operations support team to use when running a particular process, I found that sudo does not recognize a previously exported value for LD_LIBRARY_PATH. It also won’t use what is in the .bashrc or .profile for the user that owns the script being sudo’d. You also can’t use... »

Posted in Linux, Oracle, Python | No Comments »

Switch to our mobile site