chavez
25th May 2006, 19:55
Hi,
Were running BaanIVc4 using the level 2 driver with MS SQL Server 2000.
We've been noticing that in some sessions the performance was degrading abnormally.
We did a little survey and found this strange behavior:
When running the session tdsls3200m000 using the SQL Server Profiler we notice that function tfacr005 in a tfacr200 query the system was querying the data using the index 7 and in the script the query was wrote using index 2.
This was even stranger because the optimizer was turned off and running the query in the sql server against the optimizer it suggests the use of index 9.
Then we turned the optimizer on in Baan (adding NOIDXHINT in the sqlstorage file) and the problem got weirder because Baan kept querying the data using index 7 although the script stated index 2 and the optimizer suggestion was index 9.
We did the tests with porting sets 6.1c.07.07 and 6.1c.07.10.
Does anyone have an explanation for this?
Thank you
Were running BaanIVc4 using the level 2 driver with MS SQL Server 2000.
We've been noticing that in some sessions the performance was degrading abnormally.
We did a little survey and found this strange behavior:
When running the session tdsls3200m000 using the SQL Server Profiler we notice that function tfacr005 in a tfacr200 query the system was querying the data using the index 7 and in the script the query was wrote using index 2.
This was even stranger because the optimizer was turned off and running the query in the sql server against the optimizer it suggests the use of index 9.
Then we turned the optimizer on in Baan (adding NOIDXHINT in the sqlstorage file) and the problem got weirder because Baan kept querying the data using index 7 although the script stated index 2 and the optimizer suggestion was index 9.
We did the tests with porting sets 6.1c.07.07 and 6.1c.07.10.
Does anyone have an explanation for this?
Thank you