Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - SQL 的用法 » 查询处理 » 查询优化与执行 » 优化程序的工作原理 » 优化程序的基础假定

 

对第一行或整个结果集进行优化

使用 optimization_goal 选项,可以指定查询处理的优化目标是快速返回第一行还是尽可能降低返回整个结果集所耗费的开销(缺省行为)。请参见optimization_goal 选项 [数据库]