Archive for June, 2010

Converting SCN to decimal

Tuesday, June 15th, 2010

I found a slick little script at the following URL for converting an SCN to decimal. http://www.bluegecko.net/oracle/converting-hexadecimal-oracle-scns-to-decimal/ You can take the raw SCN and substitute it below… scn=0x0623.02021908;echo $((${scn%%.*}*4294967296+0x${scn##*.})) »

Posted in Oracle | No Comments »

Yet another reason to use Oracle’s JDBC connection manager

Monday, June 7th, 2010

Over the weekend we had an odd issue. We have four nodes in a cluster, with two core services. SERVICE_A runs on servers 1 and 2, while SERVICE_B runs on server 4. Server 3 is effectively idle most of the time unless we need to allow for additional throughput. Server... »

Posted in Java, Oracle, RAC | No Comments »

How to “unregister” a service from a listener

Sunday, June 6th, 2010

If a service is registered with your listener outside of the clusterware, you can unregister it with the following call: dbms_service.stop_service(service_name,instance_name) I verified that this will not disconnect existing sessions in the instance on which the service is being stopped. I did this by performing the following steps: create 100 sessions to service and verify some are on... »

Posted in Oracle, RAC | No Comments »

Switch to our mobile site