# Is there size limit in sql with group by?

**URL:** <https://discuss.elastic.co/t/is-there-size-limit-in-sql-with-group-by/161832>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-sql\
**Created:** [December 21, 2018, 10:19am UTC](https://discuss.elastic.co/t/is-there-size-limit-in-sql-with-group-by/161832 "2018-12-21T10:19:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joonho\_Eom](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@Joonho\_Eom](https://discuss.elastic.co/u/Joonho_Eom)\
**Post date:** [December 21, 2018, 10:19am UTC](https://discuss.elastic.co/t/is-there-size-limit-in-sql-with-group-by/161832/1 "2018-12-21T10:19:11Z")

</div>

When I translate my sql, I've been seeing size with 1000 limit.

"aggregations" : {  
"groupby" : {  
"composite" : {  
"size" : 1000,  
"sources" : [  
{

And it shows limited result.  
After I search with translated DSL, which is manipulated size to 100000, it shows data which I expected.

Is there anyone knows about it? and can you guys help me this out?  
How can I ignore the limit.

---

<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:** [January 18, 2019, 10:19am UTC](https://discuss.elastic.co/t/is-there-size-limit-in-sql-with-group-by/161832/2 "2019-01-18T10:19:16Z")

</div>

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