Re: client side cursor vs server side cursor regarding memory used
- From: "William \(Bill\) Vaughn" <billvaRemoveThis@xxxxxxxxxx>
- Date: Tue, 19 Apr 2005 08:03:55 -0700
Tell your client that using JET for this is like hauling coal from an open
pit mine with a Toyota 1/4 ton pickup. ADO classic was never designed to
handle bulk operations. It's a query interface.
As for MSDE/SQL Express, they can serve as better client-side data engines,
but they too would require BCP. ADO.NET 2.0 is a different story. It
includes BCP so you can write a 5-line program to suck data from one source
and BCP it to the server--very cool.
hth
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Jiho Han" <jiho.han@xxxxxxxxxxxxxxxx> wrote in message
news:eDYjThGRFHA.204@xxxxxxxxxxxxxxxxxxxxxxx
> Bill,
>
> That's what I am recommending to the client but if all else fails, I am
> back
> to JET.
> With DTS, I can bulk load the entire feed and create a diff table from
> last
> update, in minutes. Then the rows I need to work with decreases to very
> few(1 or 2K?) compared to 320K rows potentially.
> So, instead of taking a couple of hours nightly, it's taking days.
>
> Some political issues exist and so, BCP/DTS option may not even be
> possible.
> At this point, I'd love to use something like SQL Express for client side
> massaging of the data but it's still in beta although they seem to have Go
> Live license already. I guess I can try MSDE as well but I heard there
> were
> a lot of issues with installation/configuration.
>
> Any ideas on this front?
> Thanks
>
> Jiho
>
> "William (Bill) Vaughn" <billvaRemoveThis@xxxxxxxxxx> wrote in message
> news:us2SI5ERFHA.3544@xxxxxxxxxxxxxxxxxxxxxxx
>> I think you would have a lot more luck and dramatically better
>> performance
>> if you used BCP or DTS for this instead of JET and a client application.
>>
>> --
>> ____________________________________
>> William (Bill) Vaughn
>> Author, Mentor, Consultant
>> Microsoft MVP
>> www.betav.com/blog/billva
>> www.betav.com
>> Please reply only to the newsgroup so that others can benefit.
>> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>> __________________________________
>>
>> "Jiho Han" <jiho.han@xxxxxxxxxxxxxxxx> wrote in message
>> news:uv$iVODRFHA.1476@xxxxxxxxxxxxxxxxxxxxxxx
>> >I have a VB 6 app that imports data from a text data source via JET 4.0
> to
>> >a
>> > SQL server database.
>> >
>> > Although I did not receive the error myself but when my client tested
> it,
>> > they received a out of memory error. There are about 60K+ rows with
>> > 150
>> > columns each of text and numeric values. Obviously, there are checks
> that
>> > need to be done like, the client system config, etc. I wanted to know
>> > whether using a different type of cursor made any difference in the
> usage
>> > of
>> > memory. I may have some misconceptions regarding client side cursors
> and
>> > would like to dispel some of it if false. For example, I think that
> since
>> > the client side cursor keeps track of the cursor on the client side,
> it'd
>> > retain all the records retrieved so far whereas the server side cursor
>> > might
>> > not. Maybe I am confusing it with disconnected recordsets.
>> >
>> > Any insights provided in this matter will be greatly appreciated.
>> > Thanks
>> >
>> > Jiho
>> >
>> >
>>
>>
>
>
.
- References:
- client side cursor vs server side cursor regarding memory used
- From: Jiho Han
- Re: client side cursor vs server side cursor regarding memory used
- From: William \(Bill\) Vaughn
- Re: client side cursor vs server side cursor regarding memory used
- From: Jiho Han
- client side cursor vs server side cursor regarding memory used
- Prev by Date: Re: MDAC 2.8SP1
- Next by Date: Import Excel Data Into Access Table
- Previous by thread: Re: client side cursor vs server side cursor regarding memory used
- Next by thread: How to revert from MDAC 2.8 to 2.7?
- Index(es):
Relevant Pages
|
|