# Initial data load

**URL:** <https://discuss.elastic.co/t/initial-data-load/144837>\
**Category:** Elasticsearch\
**Created:** [August 17, 2018, 7:38am UTC](https://discuss.elastic.co/t/initial-data-load/144837 "2018-08-17T07:38:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![katre](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@katre](https://discuss.elastic.co/u/katre)\
**Post date:** [August 17, 2018, 7:38am UTC](https://discuss.elastic.co/t/initial-data-load/144837/1 "2018-08-17T07:38:38Z")

</div>

Hi. We have a scenario where n clients use elastic cluster. In case no data has been added to elastic we need to load data from db and cache it in elasticsearch. It would be easy in case of one client and elastic server. Can one client somehow take a lock and send the data via bulk processor to one node and data will get distributed or is there a way to load directly from oracle?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 17, 2018, 7:52am UTC](https://discuss.elastic.co/t/initial-data-load/144837/2 "2018-08-17T07:52:49Z")

</div>

Elasticsearch has no concept of a lock like this.

> [@katre](#):
>
> is there a way to load directly from oracle

Logstash + the JDBC input?

---

<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:** [September 14, 2018, 7:52am UTC](https://discuss.elastic.co/t/initial-data-load/144837/3 "2018-09-14T07:52:53Z")

</div>

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