Performance issue moving from ODAC 5.7 to ODAC 6.8

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
agvillaca
Posts: 3
Joined: Tue 04 Aug 2009 13:54

Performance issue moving from ODAC 5.7 to ODAC 6.8

Post by agvillaca » Wed 26 Aug 2009 11:48

Hi,

I recently changed my ODAC version from 5.7 to 6.8 and I'm having some performance problems in querys. In Oracle trace file, one new query appeared and it's costing a big time. This query is:

SELECT synonym_name, table_owner, table_name, db_link
FROM
all_synonyms WHERE (synonym_name = 'DUAL' AND owner IN ('BIBLIOTECA',
'PUBLIC') ) ORDER BY decode(owner, 'PUBLIC', 1, 0)

Why ODAC does this query? Why this query do not appear in OraSQLMonitor? Is there any property in OraSession or SmartQuery that I can use to disable this query?

Thanks a lot

Alexandre

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 27 Aug 2009 07:13

You should set the ExtendedFieldsInfo option of TOraQuery to False to disable this query.

Post Reply