|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Q: slow data adaptorI am loading a DataSet using a DataAdaptor e.g. myDataAdaptor = New OleDb.OleDbDataAdaptor("Select * From [myTable]", myConnection) myDataAdaptor.Fill(myDataSet, "MyTable") The table is very large and it takes quite a few seconds for these two steps to complete. I do not need to write back to the table and I was wondering if using a DataAdaptor may be a bit of overkill. I do need a DataSet to perform some quite complicated data analysis. I believe that a DataReader may be a way of speeding things up but I don't have any idea of how to do the above using it. I'm sure this is a very simple question so please forgive my ignorance - you may have gathered that I'm new to all this database stuff! Thanks in advance Geoff I had to upgrade my Access database to SQL2000 after it got soo big. The
lookups just got too slow for production. Seems access was slow even with 100k records or so. MSSQL is almost instant. Money well spent. And the beauty was that converting code to work with sql was pretty much just changing the connection string, everything else just fell into place. Show quoteHide quote "Geoff Jones" <nodamnspam@email.com> wrote in news:422f1cda$0$26725$cc9e4d1f@news.dial.pipex.com: > Hi > > I am loading a DataSet using a DataAdaptor e.g. > > myDataAdaptor = New OleDb.OleDbDataAdaptor("Select * From [myTable]", > myConnection) > > myDataAdaptor.Fill(myDataSet, "MyTable") > > The table is very large and it takes quite a few seconds for these two > steps to complete. I do not need to write back to the table and I was > wondering if using a DataAdaptor may be a bit of overkill. I do need a > DataSet to perform some quite complicated data analysis. > > I believe that a DataReader may be a way of speeding things up but I > don't have any idea of how to do the above using it. I'm sure this is > a very simple question so please forgive my ignorance - you may have > gathered that I'm new to all this database stuff! > > Thanks in advance > > Geoff > > > -- --------- Der Chef Groovy ICQ: 1529949
Visual Basic.net
Access vs SQL How can I let the internet explorer start to navigate in the same windwo? Multi-dimensional array with variable number of elements in last dimension Easiest way to generate XML in VB.NET Excaping recursive functions Legacy Client <--> DotNet Listener TAB (key) to next control instead of next column (in datagrid) Writing to Web Server Unable to start debuging on the web server |
|||||||||||||||||||||||