Using MongoDB, documents can contain a lot of fields (over 100,000 fields and sub-fields). When user runs a query that returns all fields, it takes a long time to process the Grid view and ADS becomes unresponsive.
In File -> Options -> Results -> Grid Results, add a new option to specify the maximum number of columns allowed. If the number of columns in the result set exceeds this limit, there will be an error message in the Grid view.
|
28 KB
|
220 KB
|
212 KB
|
211 KB
|
238 KB
|
57 KB
|
87 KB
- Added File -> Options -> Results -> Grid Results -> Maximum number of columns allowed. Default is 50,000. A value of 0 means that there is no limit.
- If any query produces number of columns that exceeds the limit, the Grids view will display an error message. All other views will still display the results.
@jenny: pls provide a screenshot showing the error message
@jenny: pls provide a screenshot showing the error message
Please see the screenshot in ErrorMessageInGrid.png
Please see the screenshot in ErrorMessageInGrid.png
Scenario C : For doubt Clarification
Result : Error message displayed in Grid tab. Is correct behavior ?
OR
Scenario C : For doubt Clarification
Result : Error message displayed in Grid tab. Is correct behavior ?
OR
Scenario D : ADS becomes unresponsive (ADS Memory = 4048M and only "Show grid" icon is enable)
This is the reason why a max columns setting has been introduced. The grid takes a very large amount of memory & rendering time when the # of columns gets extremely large.
Scenario D : ADS becomes unresponsive (ADS Memory = 4048M and only "Show grid" icon is enable)
This is the reason why a max columns setting has been introduced. The grid takes a very large amount of memory & rendering time when the # of columns gets extremely large.
Thanks for doubt clarification. Marking this issues as verified
Thanks for doubt clarification. Marking this issues as verified
Confirmed that the patch is working from customer
Confirmed that the patch is working from customer
Issue #14411 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 17.0.4-4, 18.0.0-devi-128 |
No time estimate |
1 issue link |
relates to #14798
Issue #14798java.lang.reflect.InvocationTargetException is thrown on executing select query to retrieve columns more than the value of 'Maximum number of columns allowed'. |
- Added File -> Options -> Results -> Grid Results -> Maximum number of columns allowed. Default is 50,000. A value of 0 means that there is no limit.
- If any query produces number of columns that exceeds the limit, the Grids view will display an error message. All other views will still display the results.