For efficiency, SQL Anywhere passes off as much of the statement as possible to the remote server. Often, this is the complete statement originally given to SQL Anywhere.
SQL Anywhere hands off the complete statement when:
Every table in the statement resides on the same remote server.
The remote server can process all of the syntax in the statement.
In rare conditions, it may actually be more efficient to let SQL Anywhere do some of the work instead of the remote server doing it. For example, SQL Anywhere may have a better sorting algorithm. In this case, you may consider altering the capabilities of a remote server using the ALTER SERVER statement.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |