Re: Generate DataSet is extremely slow for OleDbDataAdapter (with Oracle 8i Client installed)
From: mike (lelehehe_at_yahoo.com)
Date: 03/26/04
- Next message: Michael Hart: "Re: How to free resources and reuse objects?"
- Previous message: Kevin Yu [MSFT]: "RE: Last Change not flushed in winforms DataGrid"
- In reply to: Miha Markic [MVP C#]: "Re: Generate DataSet is extremely slow for OleDbDataAdapter (with Oracle 8i Client installed)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Mar 2004 00:05:10 -0800
Miha,
Thanks a lot for your help.
I found out that problem is at our Oracle Database. It is oracle 8i running
on UNIX. We created a instance of it and put it to a XP machine and my
dataset creating is very fast now.
We still have no clue which parameter we could turn up at UNIX Oracle. But
we have a walkaround.
Thanks for all your help
Mike
"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:#N2TDFnEEHA.3748@TK2MSFTNGP11.phx.gbl...
> Hi mike,
>
> That's just weird. I suggest you to try pinpointing the problem.
> IOW look at the differences between healthy macines and those with
problems.
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & software development
> miha at rthand com
> www.rthand.com
>
> "mike" <lelehehe@yahoo.com> wrote in message
> news:OxyVBlcEEHA.240@tk2msftngp13.phx.gbl...
> > There are just about 40 records in it.
> >
> > It is not record size related issue. I am using Windows 2000 with
Service
> > pack 3
> >
> >
> > Mike
> >
> >
> > "Miha Markic [MVP C#]" <miha at rthand com> wrote in message
> > news:#hsuabZEEHA.3472@TK2MSFTNGP09.phx.gbl...
> > > Hi mike,
> > >
> > > Ok, so it is design time problem.
> > > How many records are in that table, btw?
> > >
> > > --
> > > Miha Markic [MVP C#] - RightHand .NET consulting & software
development
> > > miha at rthand com
> > > www.rthand.com
> > >
> > > "mike" <lelehehe@yahoo.com> wrote in message
> > > news:%23BuA2JYEEHA.1376@TK2MSFTNGP10.phx.gbl...
> > > > Hi Miha,
> > > >
> > > > It is very simple to dupliate this problem on my machine:
> > > >
> > > > 0. Create a OleDBProvider for Oracle connection
> > > > 1. New a C# Winform
> > > > 2. Drag "OleDbDataAdapter" to the form, and in the query use "Select
*
> > > from
> > > > MyTable"
> > > > 3. Then create the adapter is about 40 seconds.
> > > > 4. Create a DataSet is about 2-3 minutes.
> > > >
> > > > We have another machine with same problem.
> > > >
> > > > Mike
> > > >
> > > >
> > > > "Miha Markic [MVP C#]" <miha at rthand com> wrote in message
> > > > news:ed6u4QXEEHA.2460@TK2MSFTNGP12.phx.gbl...
> > > > > Hi mike,
> > > > >
> > > > > "mike" <lelehehe@yahoo.com> wrote in message
> > > > > news:e1btQ4WEEHA.3404@TK2MSFTNGP10.phx.gbl...
> > > > > > Hi ADO Guru,
> > > > > >
> > > > > > I have a problem when I use OleDbDataAdapter and try to generate
> > > DataSet
> > > > > for
> > > > > > Oracle. It is extremely slow.
> > > > > >
> > > > > >
> > > > > > my environmnet:
> > > > > > VS.NET 2003, Oracle client 8i, OleDbDataAdapter, WinForm(C#)
> > > > > >
> > > > > > Creating a new OleDbDataAdapter is always about 40 seconds.
> > > > >
> > > > > 40s? There is something horribly wrong.
> > > > > What is your code?
> > > > >
> > > > >
> > > > > --
> > > > > Miha Markic [MVP C#] - RightHand .NET consulting & software
> > development
> > > > > miha at rthand com
> > > > > www.rthand.com
> > > > >
> > > > > Creating a
> > > > > > DataSet is much slower and the speed is depend on how many
> DataSets
> > I
> > > > > > already have.
> > > > > > For example, if I have 5 DataSet in the WinForm, to create the
6th
> > > would
> > > > > > cost me 6 X 3 minutes = 20 minutes. Then I could see the last
> dialog
> > > in
> > > > > the
> > > > > > "Generate Dataset Wizard".
> > > > > >
> > > > > > I also tried Oracle client 9i on my machine and I got the same
> > > problem.
> > > > > >
> > > > > > Our Oracle database is healthy. The problem is in my development
> > > > machine.
> > > > > >
> > > > > > Any suggestion?
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- Next message: Michael Hart: "Re: How to free resources and reuse objects?"
- Previous message: Kevin Yu [MSFT]: "RE: Last Change not flushed in winforms DataGrid"
- In reply to: Miha Markic [MVP C#]: "Re: Generate DataSet is extremely slow for OleDbDataAdapter (with Oracle 8i Client installed)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|