ORA-15655: preliminary connection+oradebug direct_access

ORA-15655: Fixed table \\”%s\\” cannot be accessed safely in prelim connection. 

When  login to oracle using preliminary connection ( wrote about it few days ago )

Read more of this post

Getting Oracle stack using Oradebug short_stack

To collect stack traces for debugging I normaly use on OS debuggers like (pstacke, gdb, dbx – it depends on which platform Oracle runs ) .From Oracle I would run oradebug commands

dump errorstack

or    oradebug short_stack command.Today I will focus on oradebug short_stack Read more of this post

sqlplus preliminary connection..

I had a very interesting case today when database hang and I was not able to make connection..

First thing I had in mind was to generate system state dumps.In the past I used debugger but I remember that sqplus has option which makes  database connection “light” meaning it doesn not create session but has limited access to SGA…

It has been arround since 10g…  It’s called preliminary connection.There are two options to :

Read more of this post

ORA-03135 : Database Resident Connection Pool

Trying to setup DRCP   11g patchset 11.1.0.6 on Linux x86-64..

The pool can be configured using the PLSQL package DBMS_CONNECTION_POOL.

First start connection pool ( I am using default parameters ):
 

SQL> execute dbms_connection_pool.start_pool;
PL/SQL procedure successfully completed.

Then simply change tnsnames.ora  and  set

SERVER=POOLED    Let’s try to connect
 
C:\Documents and Settings\admin>sqlplus system@demo11g
SQL*Plus: Release 10.2.0.1.0 – Production on Tue Sep 23 12:58:25 2008
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Enter password:
ERROR:
ORA-03135: connection lost contact
Enter user-name: system@demo11g
Enter password:
ERROR:
ORA-03135: connection lost contact
Enter user-name: system@demo11g
Enter password:
ERROR:
ORA-03135: connection lost contact
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

Read more of this post

Script to show disk usage/allocation of VxVM/SEVM disk groups

I  used run this  script on Solaris …  You can customize it  e.g. ( to display certain groups only )

Usage: 

vxusage -a | -l | diskgroup_name 

Read more of this post

Oracle on Amazon EC2

Chet  www.oraclenerd.com  sent me  link about Oracle running on Amazon Elastic Compute Cloud.

Did not have chance to play with it yet  but I would like to explore it more..

Demo can be found at:

http://www.oracle.com/technology/tech/cloud/demos/oracle_on_ec2_viewlet_swf.htm

 

If you had a chance to run database on EC2 please post your comments… cons & pros…

Performance Tools Quick Reference Guide

A friend of mine asked me if I know of any tools similar to trace analyzer (TRCANLZR) .Some time ago someone said that Metalink has a note listing all of available tools…

I did some research and found a note 438452.1

Read more of this post

Metalink – New look : My Oracle Support.

I noticed this weekend that metalink changed.

Classic metalink is still available…  I took me some time to get around..

Also new option seems to slower than old ones and once a while error message will pop up from portal …

I like simplicity ..

Also Oracle released 11g  patchset  11.1.0.7  ( Please see note NOTE:454507.1 ).

ORA-01017 while configuring 11g data guard

When configuring data guard using DGMGRL utility

add database ‘boston’
as connect identifier is boston
maintained as physical;

I would get ORA-01017 invalid username/password error…

I realized that this is related to case sensitive passwords in 11g…

Read more of this post

Using BBED to “fix” Sys password.

One of my “oldies” …

http://www.orafaq.com/node/1408

BBED executable is not shipped with 11g but you can get it from previous Oracle releases..

Get BBED executable from previous release
e.g.  copy libraries ssbbded.o  and  sbbdpt.o to  11g home

Read more of this post