Re: How to avoid soft parses with ADO



Did you set session_ casched_cursor?
It seems to be library cache contention.
Do you also use synonyms?
If possible, read, Metalink Note : 1012049.6Tuning Library Cache Latch
Contention


Tzanko wrote:
Hi,
We have an application using Oracle DB through ADO - Oracle OLEDB
Provider for Oracle. I am monitoring the performance of the applciation
with heavy load, and I can see that our hard parse ratio is good (2% of
queries are being hard-passed) (and we are using bind variables in
queries that are execured most often), but too many SQL queries are
soft-parsed - say 80, 90%. We are using ADO and we create the ADO
connection object and recordset object as required and then release as
soon as we've finished with them, following ADO recomendations. We
believe the connection is pooled and therefore it is better to release
as soon as possible rather than hold it for a duration of a transaction
or between transactions.
In this scenario, can anyone suggest what can be done to reduce the
number of soft parses. Oracle recomend that 30% of soft-parses as a
treshold. The rest 70% of the queries should not require parsing at
all.

Thanks

Tzanko

.



Relevant Pages

  • How to avoid soft parses with ADO
    ... We have an application using Oracle DB through ADO - Oracle OLEDB ... queries that are execured most often), but too many SQL queries are ... as soon as possible rather than hold it for a duration of a transaction ...
    (comp.databases.oracle.server)
  • How to avoid soft parses with ADO
    ... We have an application using Oracle DB through ADO - Oracle OLEDB ... queries that are execured most often), but too many SQL queries are ... as soon as possible rather than hold it for a duration of a transaction ...
    (comp.databases.oracle.misc)
  • Re: How to avoid soft parses with ADO
    ... We have an application using Oracle DB through ADO - Oracle OLEDB ... queries that are execured most often), but too many SQL queries are ... to believe that the number of soft parses is inappropriate and in any ...
    (comp.databases.oracle.misc)
  • Desperate for help on serious TCP/IP connectivity problem
    ... MSDE either SP2 or SP3a) via TCP/IP under ADO results in queries being ... the connection to the database is made via TCP/IP ... We suspect that deep in the TCP/IP stack something is pumping messages, ...
    (microsoft.public.sqlserver)
  • Re: ADO.NET and ODBC { CALL ..... } Syntax
    ... > Coonecting to Oracle 8i DB running on Unix ... > OleDB connection with provider as MSDAORA. ... > the same way as it works in ADO arena. ...
    (microsoft.public.dotnet.framework.adonet)