Speeding up [select * into table] across linked servers -


i'm trying copy table size ~50 million rows database on link server. not have indexes (although wouldn't think should make difference). i've used following query:

select * [db2].[schema].[table_name]   openquery([linked_server_name], 'select * [db1].[schema].[table_name]')  

this took approximately 7 minutes.

this seems suspiciously long intended simple copy , paste. missing something?

i need run on regular basis , ideally keep automated possible (no manual copying tables across servers using siss ideal)

any ideas highly appreciated!

thanks bunch

there lots of different reasons @ play here each having cumulative effect on 'slowness'.

looking @ wait states first port of call.

indexing ( @ least on select side ) isnt issue here , there no predicate used ( @ lesser extent using columns ) therefore how expect index helpful ??

i number of rows not helpful metric... how big in terms of mb / gb source data set ? use "include client statistics" in ssms accurate nummber. now, if 'big' how log take drag .zip file of same size on network ?


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -