logstash-plugins/logstash-input-jdbc

I want to be able to customize the count SQL before reading data

Closed this issue · 0 comments

在开始执行读取数据前会出现 select count(0) from (:sql) t1。这个操作在mysql innodb下,sql执行会非常慢。如果我在读取前可以预知行数,将可以不执行该sql。所以我希望添加自定义数据量的配置。