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

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

GitHub user CoderSong2015 opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1198

    [TRAFODION-647]Make threshold of compression configurable

    In Windows,you need to modify the registry to set the compression threshold.
    In Linux,you need to set the threshold by DSN file like:
    [Default_DataSource]
    ...
    Compression = balance
    CompressionThreshold = 3000
    ...
    
    You also can config it by connection string like:
    "DSN=Default_DataSource;USER=XX;PWD=XXX;CompressionThreshold=3000"

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/CoderSong2015/incubator-trafodion master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1198.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1198
    
----
commit a731155a95df05b41ad780a8254a60faada79027
Author: CoderSong2015 <403438...@qq.com>
Date:   2017-08-04T03:36:14Z

    Make threshold of compression configurable in linux

commit c181c842beb1c8c9617c1c5db507d672eff0ea46
Author: CoderSong2015 <403438...@qq.com>
Date:   2017-08-04T03:48:18Z

    Make threshold of compression configurable in windows

----


> LP Bug: 1371452 - allow user to set starting compress threshold value in odbc 
> driver
> ------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-647
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-647
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: client-odbc-linux, client-odbc-windows, 
> connectivity-dcs, connectivity-mxosrvr
>            Reporter: Daniel Lu
>            Assignee: Daniel Lu
>
> Currently, driver compression is turned on by the DSN setting 
> "Compression=?", but still, if the sending buffer size is too small, we do 
> not compress it.  because in this case the time would be taken by 
> compress+extract code, very possible longer than actually transmit time of 
> the small buffer.  so we have a hard code threshold value for this in driver 
> and server. but we know what is the best value for this depend on actual H/W 
> and network delay.  so hard code is not a good option. we need to externalize 
> it to outside user. for driver, we can put it in DSN setting, but for server 
> side, a new property is required for DCS server, we need consider about it.



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

Reply via email to