# Performance comparison: KQL vs ES|QL vs DSL

**URL:** https://discuss.elastic.co/t/performance-comparison-kql-vs-es-ql-vs-dsl/363151
**Category:** Kibana
**Tags:** kql-kibana-query-language, eql-elastic-query-language
**Created:** [July 15, 2024, 1:33pm UTC](https://discuss.elastic.co/t/performance-comparison-kql-vs-es-ql-vs-dsl/363151 "2024-07-15T13:33:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yar](https://avatars.discourse-cdn.com/v4/letter/y/858c86/32.png) [@yar](https://discuss.elastic.co/u/yar)
#### Post date: [July 15, 2024, 1:33pm UTC](https://discuss.elastic.co/t/performance-comparison-kql-vs-es-ql-vs-dsl/363151/1 "2024-07-15T13:33:04Z")

</div>

Hi!

I'm facing some performance degradation with my ELK setup. I believe that poorly written querys are one of the main causes of this degradation. Due to the specific use cases I must write queries with a lot of OR statements. I understand that it's suboptimal. But, can the query performance be improved by switching to a different query language. Also how can I optimize the queries with 10-15 OR statements?
