baantechy
17th October 2005, 18:11
Guys,
We have a different situation here. We have BaaN V running on SQL Server. One of the baan session was running very slow and then we invesitgated using SQL trace, stats and execution plans. We found that the SQL server is using a different index (Say Index_1) all the time while in the Select statement in baaN session it is index_2. So it is not using the index we wanted and mentioned in the baan session. We could not figure out why SQL Server is not using the index that BaaN session is suggesting. Both the indexes index_1 and index_2 are properly maintained. What else do we need to check? In there any database driver file or something that needs to checked? Please suggest. Any help is appreciated.
Thanks a lot.
Baantechy.
We have a different situation here. We have BaaN V running on SQL Server. One of the baan session was running very slow and then we invesitgated using SQL trace, stats and execution plans. We found that the SQL server is using a different index (Say Index_1) all the time while in the Select statement in baaN session it is index_2. So it is not using the index we wanted and mentioned in the baan session. We could not figure out why SQL Server is not using the index that BaaN session is suggesting. Both the indexes index_1 and index_2 are properly maintained. What else do we need to check? In there any database driver file or something that needs to checked? Please suggest. Any help is appreciated.
Thanks a lot.
Baantechy.