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

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - SQL 的用法 » 查询优化与执行 » 查询执行算法 » 表访问方法

 

ParallelTableScan 方法

使用 ParallelTableScan 时,各个 TableScan 运算符借助一个交换运算符协同工作,从而以并行方式执行顺序表扫描。当每个 TableScan 运算符需要行时,它会读取下一未处理的表页并返回该页中的行,一次返回一行。这样,这些页便在各个 TableScan 运算符之间分配,从而实现并行处理。无论这些页在并行 TableScan 运算符之间如何分配,表中所有行都会被访问到。