You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/05/01 17:01:00 UTC

[jira] [Commented] (ASTERIXDB-2552) Implement micro external sort operator for subplans

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831128#comment-16831128 ] 

ASF subversion and git services commented on ASTERIXDB-2552:
------------------------------------------------------------

Commit 778ac28c1c29f4173eae9c4147cc43a180386103 in asterixdb's branch refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=778ac28 ]

[ASTERIXDB-2552][RT] Implement micro external sort for subplans

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
This patch is to change the in memory sort used in subplans to
be a micro external sort to avoid out of memory error.

- added reset() to the runs merger to allow reusing the runs merger.
- renamed "InMemoryStableSortPOperator" to "MicroStableSortPOperator".
- changed the tag from "IN_MEMORY_STABLE_SORT" to "MICRO_STABLE_SORT".
- added test cases.

Change-Id: I930849d644c60d461d2869c9773b85e49b46fbdb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3353
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dm...@couchbase.com>


> Implement micro external sort operator for subplans
> ---------------------------------------------------
>
>                 Key: ASTERIXDB-2552
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2552
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: RT - Runtime
>    Affects Versions: 0.9.4
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>             Fix For: 0.9.4.2
>
>
> The external sort operator deals gracefully with insufficient memory. 
> However, the sort operator that is used in subplans currently is in memory sort and not an external sort and thus could run out of memory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)