× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
SachinPrakash reported 2016-01-28T01:08:53Z  · tomconrad last modified 2018-07-12T21:05:50Z

MongoJS QA Window - Memory Check for Flatten Grid Results


customer request enterprise v20.0
Priority Minor
Complexity Unknown
Component MongoJS
Version 20.0

From user:

When we turned on flatten_array, Aqua froze for a minute or two and then eventually ran out of memory and crashed.   But as I said, the data we were querying had arrays nested within arrays, some of which had hundreds of elements, so without flatten_array it only returned a handful of rows, with flatten_array on, it probably would work out to tens or hundreds of thousands of records because it needed to compute the cartesian product of all of them.

I believe the show tree view and text view were both on, though those don’t appear to be the problem because when we ran the query without flatten array option, everything came back immediately and without issue.   

Desired behavior: ADS does a memory check to see if it has enough RAM available as it is performing a FLATTEN_ARRAY operation. If not there isn't enough available RAM, display an error message and abort the operation.

5 attachments

Issue #14242

Verified
Fixed
Resolved 2018-07-12T21:05:50Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017