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博客 ” ,链接:http://blog.itpub.net/10714335/viewspace-374918/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10714335/viewspace-374918/