Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Function based indexes?

Function based indexes?

2005-12-06       - By David Kurtz

Reply:     <<     11     12     13     14  

I am quite rightly taken to task.  My example was produced on 9.2.0.5.0 on
Windows.
I used analyze because I was being lazy.  However, I have now checked
dbms_stats on both 9.2.0.5 and 10.1.0.3 and got the same behaviour.

But, why would cursor_sharing make any difference?

regards
__ ____ ____ ____ ____ __
David Kurtz
Go-Faster Consultancy Ltd.
tel: +44 (0)7771 760660
fax: +44 (0)7092 348865
web: www.go-faster.co.uk
mailto:david.kurtz@(protected)
Book: PeopleSoft for the Oracle DBA: http://www.psftdba.com
PeopleSoft DBA Forum: http://groups.yahoo.com/group/psftdba


> -- --Original Message-- --
> From: Paul Drake [mailto:bdbafh@(protected)]
> Sent: 07 December 2005 01:16
> To: info2@(protected)
> Subject: Re: Function based indexes?> David,
>
> That's an excellent example, but its missing a bit of information.
> You didn't specify what version of Oracle you were working with.
>
> Also, you used analyze table compute statistics instead of issuring a
> call to dbms_stats.
> I think that Jonathan's examples have me a bit spoiled. :)
>
> I've used the function-based index as duct tape approach until the app
> code could be fixed. I'm interested in using the approach that you
> describe above instead, but I'm going to have to see how it works when
> cursor_sharing!='EXACT'. I have a feeling that it won't be pretty.
>
> thanks,
>
> Paul
>
> Paul Drake
>



--
http://www.freelists.org/webpage/oracle-l