Skip to content

Conversation

markoszah
Copy link
Member

Queries that do generic sort and also include LIMIT clause, do not need to store that full query result in client memory, as it is done today. The just need to store a max of OFFSET+LIMIT results.

@markoszah markoszah requested a review from connelly38 June 4, 2024 08:59
@markoszah markoszah self-assigned this Jun 4, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 4, 2024
@markoszah markoszah requested a review from gmfeinberg June 4, 2024 09:00

int theLimit = -1;

ArrayList<MapValue> theResults;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some comments here that explain why there are three collections (list, queue, array) and when/how each are used.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants