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

SQL Anywhere 11.0.1 (中文) » UltraLite - 数据库管理和参考 » UltraLite SQL 参考 » UltraLite SQL 元素 » UltraLite 中的执行计划

 

查看执行计划时

在 Interactive SQL 中查看查执行计划时,您需要了解:

  • 将用于返回结果的索引。索引扫描对象包含表的名称和正在该表上使用的索引。

  • 是否使用临时表来返回结果。临时表会写入 UltraLite 临时文件。请参见UltraLite 临时文件

  • 表的连接顺序。此信息能够使您确定如何影响性能。

  • 查询运行速度慢的原因或者确保查询不会运行得很慢。