# Logstash JDBC - All rows run only once

**URL:** <https://discuss.elastic.co/t/logstash-jdbc-all-rows-run-only-once/314756>\
**Category:** Logstash\
**Created:** [September 20, 2022, 8:54am UTC](https://discuss.elastic.co/t/logstash-jdbc-all-rows-run-only-once/314756 "2022-09-20T08:54:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tag\_v](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tag_v/32/47466_2.png) [@tag\_v](https://discuss.elastic.co/u/tag_v)\
**Post date:** [September 20, 2022, 8:54am UTC](https://discuss.elastic.co/t/logstash-jdbc-all-rows-run-only-once/314756/1 "2022-09-20T08:54:53Z")

</div>

I want to migrate DB table data with millions of rows to S3. I found [jdbc plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html). But not clear how to make it run only once for all rows paginated way - The main question is on `Scheduling`: I don't want to run repeatedly. I need Idempotency. Appreciate any help.

---

<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:** [October 18, 2022, 8:55am UTC](https://discuss.elastic.co/t/logstash-jdbc-all-rows-run-only-once/314756/2 "2022-10-18T08:55:18Z")

</div>

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