D
David F.
We are using ODP.NET version 9.2.0.401 with the Oracle 9i Client
Release (9.2.0.1) and the database server is Oracle 8i.
After establishing the connection to the database we use the
FillSchema method to populate a DataSet and takes more than 20 seconds
to complete the execution. (We are using a dummy table with 50
records).
Here is the simplified code used for the test:
try
{
OracleDataAdapter da;
OracleConnection conn = new OracleConnection("User
Id=xxx;Password=xxx;Data source=ORASERVER;pooling=true");
conn.Open();
OracleCommand cmd = new OracleCommand("Select * from Orders", conn);
DataSet ds = new DataSet();
da = new OracleDataAdapter(cmd);
da.FillSchema(ds, SchemaType.Mapped, "dept");
conn.Close();
}
catch(Exception ex)
{
System.Console.WriteLine(ex.ToString());
}
If we run the same code against an Oracle 9i the response time is
acceptable.
Has anybody goy any idea about this issue?
Thanks a lot.
Release (9.2.0.1) and the database server is Oracle 8i.
After establishing the connection to the database we use the
FillSchema method to populate a DataSet and takes more than 20 seconds
to complete the execution. (We are using a dummy table with 50
records).
Here is the simplified code used for the test:
try
{
OracleDataAdapter da;
OracleConnection conn = new OracleConnection("User
Id=xxx;Password=xxx;Data source=ORASERVER;pooling=true");
conn.Open();
OracleCommand cmd = new OracleCommand("Select * from Orders", conn);
DataSet ds = new DataSet();
da = new OracleDataAdapter(cmd);
da.FillSchema(ds, SchemaType.Mapped, "dept");
conn.Close();
}
catch(Exception ex)
{
System.Console.WriteLine(ex.ToString());
}
If we run the same code against an Oracle 9i the response time is
acceptable.
Has anybody goy any idea about this issue?
Thanks a lot.