Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Huge performance degradation when upgrading to efcore 3.1beta or efcore 2.19.80 when connecting to o

Kenny WangJul 19 2020 — edited Aug 10 2020

we have applications use efcore connecting to oracle exadata 11g. It's been working well before 2.19.80. when i upgrade efcore for oracle to the latest version (2.19.80) or to beta version 3.1, things were getting wrong. Just as the following log shows: it takes nearly 2 minutes to complete one simple query which is unacceptable. before this, it tooks only serveral milliseconds. Can anyone help me?

dbug: Microsoft.EntityFrameworkCore.Database.Command[0]

      2020-07-19 16:25:54.008715 ThreadID:9   (SQL)     OracleRelationalCommand.ExecuteReaderAsync() : SELECT "p"."PRODUCTID" "ProductId", UPPER(LTRIM(RTRIM("p"."M_ALTERNATENAME"))) "JdeProduct" FROM "MESWIPSMT"."CONTAINER" "c" INNER JOIN "MESWIPSMT"."PRODUCT" "p" ON ("c"."PRODUCTID" = "p"."PRODUCTID") WHERE ("c"."CONTAINERNAME" = :barcode_0) and rownum <= 1

dbug: Microsoft.EntityFrameworkCore.Database.Command[20100]

      Executing DbCommand [Parameters=[:barcode_0='?' (Size = 2000)], CommandType='Text', CommandTimeout='0']

      SELECT "p"."PRODUCTID" "ProductId", UPPER(LTRIM(RTRIM("p"."M_ALTERNATENAME"))) "JdeProduct"

      FROM "MESWIPSMT"."CONTAINER" "c"

      INNER JOIN "MESWIPSMT"."PRODUCT" "p" ON ("c"."PRODUCTID" = "p"."PRODUCTID")

      WHERE ("c"."CONTAINERNAME" = :barcode_0)

      and rownum <= 1

info: Microsoft.EntityFrameworkCore.Database.Command[20101]

      Executed DbCommand (95,670ms) [Parameters=[:barcode_0='?' (Size = 2000)], CommandType='Text', CommandTimeout='0']

      SELECT "p"."PRODUCTID" "ProductId", UPPER(LTRIM(RTRIM("p"."M_ALTERNATENAME"))) "JdeProduct"

      FROM "MESWIPSMT"."CONTAINER" "c"

      INNER JOIN "MESWIPSMT"."PRODUCT" "p" ON ("c"."PRODUCTID" = "p"."PRODUCTID")

      WHERE ("c"."CONTAINERNAME" = :barcode_0)

      and rownum <= 1

dbug: Microsoft.EntityFrameworkCore.Database.Command[0]

      2020-07-19 16:27:29.682973 ThreadID:9   (EXIT)    OracleRelationalCommand.ExecuteReaderAsync()

This post has been answered by Alex Keh-Oracle on Aug 7 2020
Jump to Answer

Comments

Timo Hahn

How should we know?

We don't even know what third party library you are talking about.

Have t you tried to put out in the same directory as you would do for tomcat?

Timo

dvohra21

What is the WLS version? WLS doesn't make use of config.xml for third party jars. For JDBC drivers jars refer

Using Third-Party JDBC Drivers with WebLogic Server

For other jars refer

Understanding WebLogic Server Application Classloading - 12c Release 1 (12.1.1)

1 - 2

Post Details

Added on Jul 19 2020
11 comments
2,079 views