# Should I use the table ID as the elastic ID

**URL:** <https://discuss.elastic.co/t/should-i-use-the-table-id-as-the-elastic-id/151532>\
**Category:** Elasticsearch\
**Created:** [October 8, 2018, 10:27pm UTC](https://discuss.elastic.co/t/should-i-use-the-table-id-as-the-elastic-id/151532 "2018-10-08T22:27:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Binney](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_binney/32/36270_2.png) [@David\_Binney](https://discuss.elastic.co/u/David_Binney)\
**Post date:** [October 8, 2018, 10:27pm UTC](https://discuss.elastic.co/t/should-i-use-the-table-id-as-the-elastic-id/151532/1 "2018-10-08T22:27:41Z")

</div>

I am new to elastic and starting to sync my database tables into elastic indexes. I have started by using the table ID(UUID) as the elastic id, but I am starting to wondering if this is a mistake in terms of performance or flexibility in the long term? Any advice would be appreciated.

---

<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:** [November 5, 2018, 10:27pm UTC](https://discuss.elastic.co/t/should-i-use-the-table-id-as-the-elastic-id/151532/2 "2018-11-05T22:27:43Z")

</div>

Closed on November 5, 2018, 10:27pm UTC

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