You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2021/03/16 12:05:00 UTC

[jira] [Created] (FLINK-21820) JDBC connector shouldn't read all rows in per statement by default

Leonard Xu created FLINK-21820:
----------------------------------

             Summary: JDBC connector shouldn't read all rows in per statement by default
                 Key: FLINK-21820
                 URL: https://issues.apache.org/jira/browse/FLINK-21820
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / JDBC
            Reporter: Leonard Xu


The default value for JDBC option 'scan.fetch-size' is 0 which means read all rows in statement, this may lead to OOM or IO timeout.

We'd better set a reasonable value as default value.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Re: [jira] [Created] (FLINK-21820) JDBC connector shouldn't read all rows in per statement by default

Posted by ding peng <pr...@gmail.com>.
unsubscribe

Leonard Xu (Jira) <ji...@apache.org> 于2021年3月16日周二 下午8:05写道:

> Leonard Xu created FLINK-21820:
> ----------------------------------
>
>              Summary: JDBC connector shouldn't read all rows in per
> statement by default
>                  Key: FLINK-21820
>                  URL: https://issues.apache.org/jira/browse/FLINK-21820
>              Project: Flink
>           Issue Type: Improvement
>           Components: Connectors / JDBC
>             Reporter: Leonard Xu
>
>
> The default value for JDBC option 'scan.fetch-size' is 0 which means read
> all rows in statement, this may lead to OOM or IO timeout.
>
> We'd better set a reasonable value as default value.
>
>
>
>
>
>
>
> --
> This message was sent by Atlassian Jira
> (v8.3.4#803005)
>