ITPub博客

首页 > Linux操作系统 > Linux操作系统 > create index with PARALLEL option 原理

create index with PARALLEL option 原理

原创 Linux操作系统 作者:awaydog 时间:2008-07-10 12:51:44 0 删除 编辑

CREATE INDEX indx_name ON schema.table_name(column_name) PARALLEL n;

=================================

The table is randomly sampled and a set of index keys is found that equally divides the index into the same number of pieces as the specified degree of parallelism. A first set of query processes scans the table ,extracts key,row ID pairs,and sends each pair to a process in a second set of query processes based on key.Each process in the second set sorts the keys and builds an index in the usual fashion.After all index pieces are built,the parallel coordinator concatenates the pieces (whice are ordered) to form. the final index.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10714335/viewspace-374918/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-25

  • 博文量
    12
  • 访问量
    29605