VL in a Windows environment with MS SQL Server database
Posted: Wed Oct 26, 2016 2:29 am
Hi,
One of our customers is moving completely from an iSeries environment to a Windows environment.
They are facing some performance issues. Together with them we try to solve them step by step.
To get a good and exactable Windows environment they do all kind of tests so they know what to do in the Windows environment.
At the moment they test a file in their MS SQL Server database with 4.5 billion records.
A select with a key in the select statement:
SELECT FIELDS(*ALL) FROM_FILE(ABC) WITH_KEY(#FIELD)
Takes about 3 seconds.
The same select without the key:
SELECT FIELDS(*ALL) FROM_FILE(ABC)
Takes about 105 seconds.
We think this takes so long, because MS SQL Server first creates an index, because we don’t use a key.
The same select_sql without the key:
SELECT-SQL FIELDS(*ALL) FROM_FILES(ABC)
Takes about 12 seconds.
Does anyone has tips related to performance problems like this?
All tips related to: moving from an iSeries database to a MS SQL Server database are welcome!!!
One of our customers is moving completely from an iSeries environment to a Windows environment.
They are facing some performance issues. Together with them we try to solve them step by step.
To get a good and exactable Windows environment they do all kind of tests so they know what to do in the Windows environment.
At the moment they test a file in their MS SQL Server database with 4.5 billion records.
A select with a key in the select statement:
SELECT FIELDS(*ALL) FROM_FILE(ABC) WITH_KEY(#FIELD)
Takes about 3 seconds.
The same select without the key:
SELECT FIELDS(*ALL) FROM_FILE(ABC)
Takes about 105 seconds.
We think this takes so long, because MS SQL Server first creates an index, because we don’t use a key.
The same select_sql without the key:
SELECT-SQL FIELDS(*ALL) FROM_FILES(ABC)
Takes about 12 seconds.
Does anyone has tips related to performance problems like this?
All tips related to: moving from an iSeries database to a MS SQL Server database are welcome!!!