-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: MongoDB does not get all the data from a heavy query #19887
Comments
@sribalajig Why did you lowered the severity to medium? |
@barshag can you please help me understand whether the images array is a list of URLs or actual binary data representing the images? Also is this issue is happening for only this collection or other collections as well? |
It's binary (BSON) objects (not URLS)
I checked it only in this collection, but in several instances of this
collection.
Thanks for the change for HIGH! :)
Any approx ETA for solving this issue?
…On Fri, 20 Jan 2023 at 18:11, Sri Balaji Gopinath ***@***.***> wrote:
@barshag <https://github.com/barshag> can you please help me understand
whether the images array is a list of URLs or actual binary data
representing the images? Also is this issue is happening for only this
collection or other collections as well?
In the mean time, I have bumped this back to high priority. Thanks.
—
Reply to this email directly, view it on GitHub
<#19887 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6X5HOCYP7HZ7VUX6V47PLWTK2KXANCNFSM6AAAAAAT7S4TEE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@barshag we have prioritised this issue for implementation and it is going to be a part of a larger epic which deals with Appsmith's ability to deal with large data volumes - #18245 (Note : The epic deals with large file uploads, and your problem is with queries. Although not exactly the same, they are related) Would you be interested in having a discussion with me on your problem? I think it would give a good perspective for dealing with the larger epic as well. You can find my calendar here - https://calendly.com/balaji-gopinath/appsmith-user-interview In the mean time, if possible, I would suggest storing images in a separate place (like Amazon S3) and referencing the URLs in your Mongo documents. Mongo is not really optimised to store large binary objects. |
@barshag From the steps for reproduction given on this issue, it seems like the result Appsmith is coming back with is limited because to total array of documents exceeds 16 MB which is greater than the allowed batch size for Appsmith. Our Mongo plugin today only allows for the first batch of data to be loaded. We understand that this information is not best represented on the screen, but do you think paginating with this limitation in mind would help your use case? |
Not really.
It could, but In my case i use GridFS that supports more than 16MB....
Pagination is okay to be limit - but it should support DB with much larger
size
…On Mon, 17 Apr 2023 at 13:00, Nidhi ***@***.***> wrote:
@barshag <https://github.com/barshag> From the steps for reproduction
given on this issue, it seems like the result Appsmith is coming back with
is limited because to total array of documents exceeds 16 MB which is
greater than the allowed batch size for Appsmith. Our Mongo plugin today
only allows for the first batch of data to be loaded. We understand that
this information is not best represented on the screen, but do you think
paginating with this limitation in mind would help your use case?
—
Reply to this email directly, view it on GitHub
<#19887 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6X5HJ4TXDZNQC3XN4BMU3XBUIFFANCNFSM6AAAAAAT7S4TEE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Do you mind sharing what the size of these documents that you are working with is? I am also looping in @rohan-arthur and @sribalajig to figure out a more comprehensive solve for this. |
based on the comments, few points to take care while picking this issue
|
Is there an existing issue for this?
Description
A user has a Mongo collection of 3 documents, each document contains approximately 30 images. The problem is that when executing the find function, only 1 is obtained, but when the count function is executed, it obtains 3
I attach images so that you can observe the case.
Steps To Reproduce
``
1. Create a new database.
2. Create a new collection within the database.
3. Add 3 new documents to the collection using this Python script:
``
4. Use a sample image with a size of 33.3kb, for example, this image.
`
5. Now in Appsmith, if we execute the "find" command, we obtain a single result, but if we execute the "count" command, we get all 3 results.
Public Sample App
No response
Issue video log
No response
Version
Appsmith Community v1.8.9
The text was updated successfully, but these errors were encountered: