Dave (130)

Dave

More stupid RMAN tricks: ORA-01843 From RMAN

So I've got a backup script that runs a BACKUP DATABASE followed by a BACKUP ARCHIVELOG command. The BACKUP ARCHIVELOG FROM TIME command runs to collect all the archived logs created since the beginning of the Level 0. The BACKUP ARCHIVELOG FROM TIME command fails…

Dave

Beware of old clients...

No, not old customers, old Oracle client software! I was recently asked to write a ON LOGON trigger for an 8.1.7.2 database (don't ask, it is a very old system). Wrote the trigger, tested it, works no problem. It is never that simple. I get…

Dave

Getting my feet wet in Apex...

So the new place I work has some small applications built in Apex. I'm getting ready to build some monitoring tools and wanted to integrate their functionality into the apps that are already available. Oracle publishes a document called the "2 Day + Application Express…

Dave

DBI and mod_perl for Oracle 10g HTTP Server

Looks like Oracle has finally come around and made it easier to incorporate the DBI module into the Oracle HTTP Server. The 10gR2 HTTP Server Administrators guide also has a laundry list of other modules that are enabled by default or easily turned on. Here…

Dave

Need a word list? 

Writing your own spell checker or creating a page to generate suggestions for Web 2.0 domain names? You need a word list! Check out this page for a pretty comprehensive collection of different types of lists: http://wordlist.aspell.net/ -- Dave

Dave

Execution plans and bind peeking...

If you haven't seen this optimizermagic.blogspot.com post already, check it out. It covers the standard Execution Plan stuff, but also covers use of the dbms_xplan package including using dbms_xplan.display to format output and using dbms_xplan.display_cursor to see Bind Variables used to generate a plan! Click…

Dave

My new replacement for gnuplot? ... Munin ...

I'm currently investigating the new hotness of Munin to replace my old and busted gnuplot graphs. Munin looks much more involved than generating a format file for gnuplot and letting it fly, but it looks like Munin handles text on graphs waaaay better than gnuplot.

Dave

Installing Perl/DBI/DBD on Win32 just got a little simpler...

I just downloaded and installed the latest version of ActiveState Perl for Win32. After installation I started to hit the laundry list of post-install tasks and noticed that 1) there is a new graphical Perl Package Manager and 2) I couldn't install DBI and DBD-Oracle…

Dave

RDA and HCVE...

I haven't look at Oracle's Remote Diagnostic Agent (RDA) tool in a couple of years. Back when we ran our systems on Windows I remember using a clunky version of RDA that looked like it was cobbled together with batch files and VB code. What…

Dave

Stealth subversion install - access over SSH...

Want to use SubVersion but only have access to a box via SSH? Maybe you've got a cheap web hosting account and the host hasn't gotten with the program to officially offer SubVersion as a feature? This post outlines a way to install SubVersion server…

Dave

Stupid RMAN tricks...

So I have mentioned before about the replication product that we use that is based on Archived Redo Logs (Golden Gate). Well sometimes the replication process abends before the RMAN backup. Since there is no communication between the two processes, RMAN happily removes archived logs…

Dave

Span 2 monitors with Remote Desktop Connection

Allrighty, this is awesome. One of my main reasons I like to work in the office instead of at home is how my environment is set up. Things are kind of slow over the VPN so its easiest to just use Microsoft Remote Desktop Connection…

Dave

Getting return value and output text with Perl...

I know using Perl backticks call I can execute an OS command and easily get the output. I know using Perl system() call I can execute an OS command and easily get the return value. Today I found out a way to get both. This…

Dave

Oracle9i Database: Advanced Backup and Recovery Using RMAN

So I took my first hands-on class from Oracle this month. I'm usually of the 'sit down with a book and computer' camp when I need to learn something new, but where I work we needed RMAN proficiency quickly. I thought it might be better…