[ 
https://issues.apache.org/jira/browse/TRAFODION-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198145#comment-16198145
 ] 

ASF GitHub Bot commented on TRAFODION-2744:
-------------------------------------------

Github user liuyu000 commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafodion/pull/1243#discussion_r143626661
  
    --- Diff: docs/odb_user/src/asciidoc/_chapters/load.adoc ---
    @@ -1080,24 +1080,54 @@ define the size of this buffer in two different 
ways: +
     | `ifempty` | Loads the target table only if empty.
     | `nomark` | Don’t print the number of records loaded so far during loads.
     | `soe` | Stop On Error. odb stops as soon as it encounters an error.
    -| `parallel=num` | odb uses as many threads as the parallel argument to 
extract data from partitioned source tables
    -*PLUS* an equivalent number of threads to write to the target table. +
    - +
    - *Example* +
    -  +
    -If you specify `parallel=4` and the source table is made of 32 partitions, 
then odb start *four* threads
    -(four ODBC connections) to read from the source table *PLUS* four threads 
(four ODBC connections) to write to the target table: +
    - +
    -- thread 0 extracts partitions 0-7 from source +
    -- thread 1 writes data extracted from thread 0 to target +
    -- thread 2 extracts partitions 8-15 from source +
    -- thread 3 writes data extracted from thread 2 to target +
    -- thread 4 extracts partitions 16-23 from source +
    -- thread 5 writes data extracted from thread 4 to target +
    -- thread 6 extracts partitions 24-31 from source +
    -- thread 7 writes data extracted from thread 6 to target +
    - +
    -*You have to specify `splitby`.*
    +| `parallel=num` | odb uses two kinds of threads: +
    +
    +• To extract data from partitioned source table. +
    +The number of the threads is as many as the parallel argument. +
    +
    +• To write data to the target table. +
    +The number of the threads is equal to *parallel argument* * *number of 
loaders*. +                                                                     
                                   
    +
    +*Example* 
    +
    +If you specify parallel argument = 4 and the source table is made of 32 
partitions, then odb start: +
    --- End diff --
    
    Thanks Dave.
    I've corrected. :)


> Correct the Descriptions and Example of *parallel=num (Copy Operators)* in 
> *Trafodion ODB User Guide*
> -----------------------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-2744
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2744
>             Project: Apache Trafodion
>          Issue Type: Documentation
>            Reporter: Liu Yu
>            Assignee: Liu Yu
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to