Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Optimizer Instability on 10.2.0.2
> Do you have just one connection, or many
> connections - which may be using different
> versions of intermediate layers ? If not, it may
> be that there are a couple of different ways that
> the application addresses the database, and one
> of them fails to pass in binds.
The client program is sqrw.exe and connects to the database as a 2- tier process every 30 minutes. It uses the same method for connecting to the database every time.
I am logging this as a TAR because I'm pretty sure that Oracle is losing the binds somewhere along the line. At first I thought it was the program that was sending NULL values but I disproved this theory in sqlplus by sending a NULL bind and seeing the following:
SQL> VARIABLE MATT VARCHAR2(10);
SQL> SELECT /* findit */ count(*) from ps_job where emplid = :matt;
COUNT(*)
SQL> select name,value_STRING,to_char(LAST_CAPTURED, 'dd MON yyyy
hh24:mi:ss')
LAST_CAPTURED from v$sql_bind_capture where ADDRESS='&ADDRESS'
Enter value for address: 86634D48
NAME VALUE_STRING
LAST_CAPTURED
Whereas in our situation we can see occurences of:empty binds:
NAME VALUE_STRING LAST_CAPTURED
Matt Received on Fri Apr 27 2007 - 02:29:02 CDT