In my SSIS project I need sync data between Oracle and MS SQL.
MS VS 2017 32bit
MS SQL Server 2017 64bit
OLEDB Connector 32bit
The speed is 30 rows per 1 sec
I deleted the target destinations and added just row counter. The same result.
I did the DataFlow Setup: DefaultBufferMaxRows = 1000000 DefaultBufferSize = 104857600 The same result.
I changed source SQL to:
SELECT * FROM SourceTable ORDER BY LAST_UPDATE OFFSET 0 ROWS FETCH NEXT 10000 ROWS ONLY
The same result.
I read a lot of but people ask how to optimise 100K rows / 3 sec. :)
P.S. The same select work significantly faster from MS SQL Server:
SELECT * FROM OPENQUERY([ORASA], 'SELECT * FROM SourceTable ORDER BY LAST_UPDATE OFFSET 0 ROWS FETCH NEXT 10000 ROWS ONLY')
The following recommendations will help you in your SQL tuning process.
You'll find 3 sections below:
SELECT
*
FROM
OPENQUERY([ORASA],
'SELECT * FROM SourceTable ORDER BY LAST_UPDATE OFFSET 0 ROWS FETCH NEXT 10000 ROWS ONLY')