fetchsize question

S

sunil

I have a basic question for ado .net.

Suppose i want to retrieve 1 billion records data(4 GB). and suppose i
set the fetchsize to 128 MB.
Does this mean that at one time i will be having 128 MB records at a
time in memory.

I am not sure whether i will be having 128 MB results in memory or 4
GB results in memory.


Regards,
sunhcl
 
W

William \(Bill\) Vaughn

My question would be: What the heck are you going to do with 1 billion rows
and what makes you think you can fetch a rowset that large? Are you
processing them and returning them to the server or doing some sort of
aggregation? In either case, the work should be done on the server--not on
the client.

--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
http://betav.com/blog/billva
____________________________________________________________________________________________
 
S

sunil

Hi ,

I need to dump all of this information to a log files.

We already have a tool that can interpret these 10 GB log to do its
own internal analysis of huge data.

In nut shell , Is there any way to dump the huge query result to file.

Regards,
sunhcl
 
W

William \(Bill\) Vaughn

SSIS is designed to move data in either direction. I would check it out.

--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
http://betav.com/blog/billva
____________________________________________________________________________________________
 
W

William \(Bill\) Vaughn

SSIS. Many Oracle shops buy a SS license just to get SSIS. SSIS is system
agnostic.

--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
http://betav.com/blog/billva
____________________________________________________________________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

fetch size 1
memory mapped file 3
Windows 7 Setting up Wake on LAN 3
NVIDIA GeForce GTX 1080 8 GB 5
total memory available is only 3.3GB with 4GB physical memory under windows 7 64 bit 6
PAE Per process 1
PAE flag 1
PAE flag issue 2

Top