# Slow Performance of Elastic Search with Spark

**URL:** https://discuss.elastic.co/t/slow-performance-of-elastic-search-with-spark/277101
**Category:** Elasticsearch
**Tags:** es-hadoop
**Created:** [June 25, 2021, 7:40pm UTC](https://discuss.elastic.co/t/slow-performance-of-elastic-search-with-spark/277101 "2021-06-25T19:40:11Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![priamai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priamai/32/80269_2.png) [@priamai](https://discuss.elastic.co/u/priamai)
#### Post date: [July 1, 2021, 5:32am UTC](https://discuss.elastic.co/t/slow-performance-of-elastic-search-with-spark/277101/4 "2021-07-01T05:32:37Z")

</div>

And even if you do this:

`ds.count().explain(extended=True)`

does not show you the ES queries.

I have another discussion open here for monitoring [queries](https://discuss.elastic.co/t/monitoring-api-query/277200/2) in the backend which seems the only solution for now.

---

_[View the full topic](https://discuss.elastic.co/t/slow-performance-of-elastic-search-with-spark/277101)._
