You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/03 21:59:02 UTC

[jira] [Commented] (TRAFODION-2744) Correct the Descriptions and Example of *parallel=num (Copy Operators)* in *Trafodion ODB User Guide*

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

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

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

    https://github.com/apache/incubator-trafodion/pull/1243#discussion_r142534687
  
    --- 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: +
    +
    +&#8226; To extract data from partitioned source table. +
    +The number of the threads is as many as the parallel argument. +
    +
    +&#8226; 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 --
    
    Grammar: Consider "If you specify parallel argument = 4 and the source table has 32 partitions, then odb starts: +"


> 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)