The following insert query took ~8 mins on 1 million rows, going from an SQL table to another SQL table on a linked server:
INSERT INTO [LinkedServer].[LinkedDatabase].[dbo].[LinkedTable]
SELECT * FROM [LocalDatabase].[dbo].[LocalTable]
However, creating an SSIS package and specifying 'Fast Load', the same table insert only took 8.3 *seconds*.
Why is SSIS so much faster, and what SQL commands can speed up my query?
I have looked into table hints and would love some examples of what will speed things up the most. For what I'm doing I don't need logging, roll-back, etc.
INSERT INTO [LinkedServer].[LinkedDatabase].[dbo].[LinkedTable]
SELECT * FROM [LocalDatabase].[dbo].[LocalTable]
However, creating an SSIS package and specifying 'Fast Load', the same table insert only took 8.3 *seconds*.
Why is SSIS so much faster, and what SQL commands can speed up my query?
I have looked into table hints and would love some examples of what will speed things up the most. For what I'm doing I don't need logging, roll-back, etc.