- Summary:
Fix bug 149269
- Bugzilla Bug (s) Resolved:
Fix bug 149269 : Enhance SmartCache to support query execution with a
small memory.
- Description:
With a small memory merge sort algorithm can't sort a large number of rows
using one merge. Multi-level merge must be excuted to finish such a sort. Multi-level
control is added to the merge sort algorithm of SmartCache to support sorting a
large number of rows with small memory.
- Tests Description:
Junit Test / Manual Test
- Notes to Build Team:
N/A
- Notes to Developers:
N/A
- Notes to QA:
N/A
- Notes to Documentation:
N/A
- Files Edited:
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/DiskCacheResultSet.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/DiskDataExport.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/DiskDirectExport.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/DiskSortExport.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/MergeSortImpl.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/MergeSortUtil.java
- Files Added:
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/DiskSortExport2.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/IRowIterator.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/MergeTempFileUtil.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/RowFile.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/disk/MergeSortRowFiles.java