# JDBC static loader to create local table from index rater than a database

**URL:** <https://discuss.elastic.co/t/jdbc-static-loader-to-create-local-table-from-index-rater-than-a-database/214536>\
**Category:** Logstash\
**Created:** [January 10, 2020, 5:50am UTC](https://discuss.elastic.co/t/jdbc-static-loader-to-create-local-table-from-index-rater-than-a-database/214536 "2020-01-10T05:50:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishu.singla](https://avatars.discourse-cdn.com/v4/letter/i/a3d4f5/32.png) [@ishu.singla](https://discuss.elastic.co/u/ishu.singla)\
**Post date:** [January 10, 2020, 5:50am UTC](https://discuss.elastic.co/t/jdbc-static-loader-to-create-local-table-from-index-rater-than-a-database/214536/1 "2020-01-10T05:50:01Z")

</div>

I am using JDBC streaming for my local lookups because I need to replace data from another legacy database. This process is very very slow. I cannot create a local table out of it because data is in millions. Is there a way to create local table from an index or directly lookup into an index for replacing data.

---

<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:** [February 7, 2020, 5:50am UTC](https://discuss.elastic.co/t/jdbc-static-loader-to-create-local-table-from-index-rater-than-a-database/214536/2 "2020-02-07T05:50:07Z")

</div>

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