You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-894 Upmerged post review changes.
Raised the default for orderby threads from 4 to 16. Removed if LIMIT check block in makeVtableModeSteps(). Removed a duplicate of TimeCompare class and methods. MCOL-3536 Upmerged the change. MCOL-894 Post review changes. Uncomment if LIMIT check block in makeVtableModeSteps(). TupleAnnexStep dtor now uses vector::size() as a boundary. Removed useless try-catch blocks. executeParallelOrderBy() now calculates rowSize only once. Removed forward declaration in the unexisting namespace. Trim UTs a bit.
This commit is contained in:
@ -315,7 +315,7 @@ private:
|
||||
void ORDERBY_TIME_TEST()
|
||||
{
|
||||
uint64_t numRows = 8192;
|
||||
uint64_t maxThreads = 16;
|
||||
uint64_t maxThreads = 8;
|
||||
// limit == 100000 is still twice as good to sort in parallel
|
||||
// limit == 1000000 however is better to sort using single threaded sorting
|
||||
uint64_t limit = 100000;
|
||||
@ -324,9 +324,10 @@ private:
|
||||
bool generateRandValues = true;
|
||||
bool hasDistinct = true;
|
||||
bool noDistinct = false;
|
||||
//orderByTest_nRGs(numRows * 14400, limit, maxThreads, woParallel, generateRandValues, noDistinct);
|
||||
//orderByTest_nRGs(numRows * 14400, limit, maxThreads, woParallel, generateRandValues, hasDistinct);
|
||||
orderByTest_nRGs(numRows * 14400, limit, maxThreads, woParallel, generateRandValues, noDistinct);
|
||||
orderByTest_nRGs(numRows * 14400, limit, maxThreads, parallel, generateRandValues, noDistinct);
|
||||
orderByTest_nRGs(numRows * 14400, limit, maxThreads, woParallel, generateRandValues, hasDistinct);
|
||||
orderByTest_nRGs(numRows * 14400, limit, maxThreads, parallel, generateRandValues, hasDistinct);
|
||||
}
|
||||
void QUICK_TEST()
|
||||
{
|
||||
|
Reference in New Issue
Block a user