on 12-02-2015 5:07 PM
My current customer has migrated from MS SQLServer to SQLAnywhere16.
In a legacy query they've used a relational operator against a VARCHAR20 column in the WHERE.
orders.order_status < 'N'
What was acceptable performance with MSSQLServer now has an undesirable delay in returning the rs under SQLAny16.
The SELECT has a 5-table join, but the performance is fine using the same query but with the one difference in using equality rather than the relational operator.
The scope of the distinct values within the column are all uppercase, no mixed sequences.
There is already a non-unique index for the column.
Any advice for tuning the performance, especially under-the-SQLAny-hood configuration is certainly welcome.
Thank you.
Hi John,
Please read following WIKI on getting Query Plan Viewer.
http://wiki.scn.sap.com/wiki/display/SQLANY/How+to+generate+a+Query+Plan+in+SQL+Anywhere
and run the same query 3-4 times and attach the generate query plan files to this post.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.