There is a performance problem about executing stored procedures in Oracle.
Procedure's name is : myutil_api.move
- Plsql executes this procedure in 0.2 sec.
- Web App executes this procedure in 30 secs.
Same users, same procedures but there is huge different.
(Web app and plsql executes other procedures with no problem and same time)
Devart Connect Oracle code:
var db = new F8Connection();
using (db)
{
using (var command = new OracleCommand())
{
db.Open();
command.Connection = db;
command.CommandType = System.Data.CommandType.StoredProcedure;
command.CommandText = "myutil_api.move";
command.ParameterCheck = true;
command.Parameters.Add(new OracleParameter("BARCODE_ID_", OracleDbType.Number)).Value = part.BarcodeId;
command.ExecuteNonQuery();
}
}