# Logstash jdbc\_static filter plugin performing very poorly (nearly not at all)

**URL:** <https://discuss.elastic.co/t/logstash-jdbc-static-filter-plugin-performing-very-poorly-nearly-not-at-all/214292>\
**Category:** Logstash\
**Created:** [January 8, 2020, 6:47pm UTC](https://discuss.elastic.co/t/logstash-jdbc-static-filter-plugin-performing-very-poorly-nearly-not-at-all/214292 "2020-01-08T18:47:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 9, 2020, 6:54pm UTC](https://discuss.elastic.co/t/logstash-jdbc-static-filter-plugin-performing-very-poorly-nearly-not-at-all/214292/9 "2020-01-09T18:54:41Z")

</div>

> [@tomj](#):
>
> sequel/connection\_pool/threaded.rb:147

Those threads are [waiting](https://github.com/jeremyevans/sequel/blob/b6fba8389140f1c4307f83503cf9f3a14e26ebf4/lib/sequel/connection_pool/threaded.rb#L147) to obtain a connection to the database. It could indicate a connection leak, a loss of connectivity to the database, or some connections getting wedged. I do not have a database with which I could test how to diagnose that.

I cannot be sure, but I don't think you are hitting issue #27.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-jdbc-static-filter-plugin-performing-very-poorly-nearly-not-at-all/214292)._
