# Elasticsearch JDBC river plugin- Interval vs Schedule

**URL:** <https://discuss.elastic.co/t/elasticsearch-jdbc-river-plugin-interval-vs-schedule/21682>\
**Category:** Elasticsearch\
**Created:** [January 16, 2015, 10:18am UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-river-plugin-interval-vs-schedule/21682 "2015-01-16T10:18:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![4m7u1](https://avatars.discourse-cdn.com/v4/letter/4/8e7dd6/32.png) [@4m7u1](https://discuss.elastic.co/u/4m7u1)\
**Post date:** [January 16, 2015, 10:18am UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-river-plugin-interval-vs-schedule/21682/1 "2015-01-16T10:18:03Z")

</div>

In JDBC river plugin for Elasticsearch, what is the difference between  
"interval" and "schedule"?  
Both are used to keep Elasticsearch in sync with the database.  
Which one is better?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [January 16, 2015, 12:40pm UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-river-plugin-interval-vs-schedule/21682/2 "2015-01-16T12:40:50Z")

</div>

"schedule" is synchronized with the wall clock time of the system.  
"interval" is the elapsing time between two runs, the plugin simply waits  
that period.

Jörg

On Fri, Jan 16, 2015 at 11:18 AM, 4m7u1 [amtulnazneen7@gmail.com](mailto:amtulnazneen7@gmail.com) wrote:

> In JDBC river plugin for Elasticsearch, what is the difference between  
> "interval" and "schedule"?  
> Both are used to keep Elasticsearch in sync with the database.  
> Which one is better?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFd\_L0ib%3DwhPmWNt7ebnoPbeNa-y6PTwVyPoHTXgYOCJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFd_L0ib%3DwhPmWNt7ebnoPbeNa-y6PTwVyPoHTXgYOCJA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![4m7u1](https://avatars.discourse-cdn.com/v4/letter/4/8e7dd6/32.png) [@4m7u1](https://discuss.elastic.co/u/4m7u1)\
**Post date:** [January 19, 2015, 6:55am UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-river-plugin-interval-vs-schedule/21682/3 "2015-01-19T06:55:55Z")

</div>

Okay got it. Thanks :). And are both the same when it comes to performance?

> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8d4069fb-ed3a-4b41-b917-d262366a99c8%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7b3f1a29-016b-48f6-899a-08425432e0a8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7b3f1a29-016b-48f6-899a-08425432e0a8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:38am UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-river-plugin-interval-vs-schedule/21682/4 "2017-07-06T00:38:07Z")

</div>


