# Improve logstash performance

**URL:** <https://discuss.elastic.co/t/improve-logstash-performance/269569>\
**Category:** Logstash\
**Tags:** ingest-pipeline\
**Created:** [April 8, 2021, 9:34am UTC](https://discuss.elastic.co/t/improve-logstash-performance/269569 "2021-04-08T09:34:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paresh\_Vaniya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paresh_vaniya/32/79807_2.png) [@Paresh\_Vaniya](https://discuss.elastic.co/u/Paresh_Vaniya)\
**Post date:** [April 8, 2021, 9:34am UTC](https://discuss.elastic.co/t/improve-logstash-performance/269569/1 "2021-04-08T09:34:33Z")

</div>

Hi All,

We are using logstash for full data load from Azure SQL to Elasticsearch & that takes too much time. Currently its taking 12 hours to insert 16 million records(using Default configuration of logstash).

I have changed -Xms and -Xmx value in jvm.options file and pipeline.batch.size & pipeline.workers in logstash.yml file as per diff recommendations but no luck. So can anyone please help here how to minimize the full data ingestion time, Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 6, 2021, 9:34am UTC](https://discuss.elastic.co/t/improve-logstash-performance/269569/2 "2021-05-06T09:34:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
