Archive for September, 2009

JDBC connection timeout

Wednesday, September 30th, 2009

While testing a remote data center today, we had some network connectivity issues. We twiddled our thumbs while waiting for connections to throw an exception due to a network block. I found the setLoginTimeout() method on the DriverManager class. You can use it as show below: import java.sql.*; public class checkConn { ... »

Posted in Java, Oracle | No Comments »

How long will my flashback database command take?!!

Friday, September 25th, 2009

Oracle 10g introduced the wonderful (and I mean wonderful) ability to “rewind” a database back to a point in time, rather than restoring a backup and rolling it forward in time using transaction logs. This technology is called flashback database, and googling it will provide far more useful information than I can in... »

Posted in Oracle, Python | No Comments »

How close am I to realtime with dataguard and maximum performance (asynchronous) mode?

Wednesday, September 16th, 2009

Oracle supplies two views to monitor how up to date your standby database is when compared to your primary database. One view is v$dataguard_stats, and the other is v$standby_apply_snapshot. Each of these views is only updated every 30 seconds, or so. Even then, I wonder if they are not “behind”. ... »

Posted in Oracle, Python | No Comments »

Manually subscribing to Oracle FAN events

Wednesday, September 9th, 2009

JDBC and dot Net clients are the recommended way to automatically subscribe to high availability events in an Oracle clustered environment, AKA, a RAC. I was curious as to how this could be implemented using your own code behind the scenes. To show this, we will use a combination of PL/SQL and python. First, we... »

Posted in Oracle, Performance, Programming, Python, RAC | No Comments »

Switch to our mobile site