what's best proceed sqlbulkcopy fill unequivocally infinite table?


nightly, i need fill sql server 2005 list an odbc source over 8 million records. now i am controlling an insert matter related server syntax name identical this:



insert sqlstagingtable name * openquery(odbcsource, 'select * sourcetable')


this unequivocally ruin takes hours run. i'm center coding fortitude controlling sqlbulkinsert formula identical formula found .



the formula doubt initial populating datatable memory following flitting datatable sqlbulkinserts writetoserver method.



what should i populated datatable uses some-more memory accessible accessory controlling (a server 16gb memory case)?



i've guess controlling overloaded odbcdataadapter slight allows fill wholly annals x n (where x start index n array annals fill). however spin out an even slower fortitude i now have given meant re-running name matter source array times.



what should i do? only stock whole thing during once let os control memory? should i stock chunks? there another fortitude i haven't guess of?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?