L
lance
I am currently having a problem with a DataAdapter.Fill performing
very slow or timing out.
Our code is written in C#, platform Windows 2003 and the database is
SQL Server 2000. However after reviewing other postings this seems to
be an ado.net problem and not tied to SQL Server. groups.google.com
search: DataAdapter Fill Slow
We use Typed DataSets and stored procedures in our code. The query is
very simple. It queries three tables that are left joined and has a
where clause for an ID, and two dates. The tables have been indexed
appropriately. I have tried multiple things to include:
Changing from Typed DataSets to the regular DataSets.
Creating performance counters to see what is happening on the
machines.
Running the query in Query Analyzer and Enterprise Manager runs in .5
seconds or faster.
Changed databases and machines.
Rebooted machines, refreshed SQL Server services, restart SQL Server.
When I debug in DotNet it always points to the Fill of the
DataAdapter. If anyone has any suggestions it would be appreciated.
very slow or timing out.
Our code is written in C#, platform Windows 2003 and the database is
SQL Server 2000. However after reviewing other postings this seems to
be an ado.net problem and not tied to SQL Server. groups.google.com
search: DataAdapter Fill Slow
We use Typed DataSets and stored procedures in our code. The query is
very simple. It queries three tables that are left joined and has a
where clause for an ID, and two dates. The tables have been indexed
appropriately. I have tried multiple things to include:
Changing from Typed DataSets to the regular DataSets.
Creating performance counters to see what is happening on the
machines.
Running the query in Query Analyzer and Enterprise Manager runs in .5
seconds or faster.
Changed databases and machines.
Rebooted machines, refreshed SQL Server services, restart SQL Server.
When I debug in DotNet it always points to the Fill of the
DataAdapter. If anyone has any suggestions it would be appreciated.