Column-oriented GPU-accelerated Database Management System
CoGaDB
|
Typedefs | |
typedef bool(* | UnittestFunctionPtr )() |
Functions | |
bool | joinTest () |
bool | executeUnitTests () |
bool | fillTableTest () |
bool | updateTuplesTest () |
bool | basicOperationTest () |
bool | selectionTest () |
bool | JoinPerformanceTest () |
bool | crossjoinTest () |
bool | complexSelectionTest () |
bool | ColumnComputationTest () |
bool | TableBasedColumnConstantOperatorTest () |
bool | ComplexSortTest () |
bool | basicQueryTest () |
bool | addConstantColumnTest () |
bool | GPUColumnComputationTest () |
bool | basicGPUacceleratedQueryTest () |
bool | ColumnorientedQueryPlanTest () |
bool | memory_benchmark () |
bool | compressioned_columns_tests () |
bool | unittest (boost::shared_ptr< ColumnBaseTyped< int > > ptr) |
bool | unittest (boost::shared_ptr< ColumnBaseTyped< float > > ptr) |
bool | unittest (boost::shared_ptr< ColumnBaseTyped< std::string > > ptr) |
bool | delta () |
bool | bit_vector () |
bool | run_length () |
bool | dictionary_compression () |
bool | bulk_test_update (boost::shared_ptr< CompressedColumn< int > > compressed_col, boost::shared_ptr< Column< int > > uncompressed_col) |
bool | bulk_test_delete (boost::shared_ptr< CompressedColumn< int > > compressed_col, boost::shared_ptr< Column< int > > uncompressed_col) |
bool | unittests (boost::shared_ptr< CompressedColumn< int > > col, boost::shared_ptr< CompressedColumn< float > > col_float, boost::shared_ptr< CompressedColumn< std::string > > col_string) |
template<typename T > | |
const T | get_rand_value () |
template<> | |
const int | get_rand_value () |
template<class T > | |
void | fill_column (boost::shared_ptr< ColumnBaseTyped< T > > col, std::vector< T > &reference_data) |
template<class T > | |
bool | equals (std::vector< T > reference_data, boost::shared_ptr< ColumnBaseTyped< T > > col) |
template<class T > | |
bool | test_column (boost::shared_ptr< ColumnBaseTyped< T > > col, std::vector< T > &reference_data) |
bool | joinTestOld () |
bool | warmupGPU () |
bool | validateJoinResult (TablePtr tab, int size, int type) |
pair< pair< TablePtr, TablePtr > , pair< TablePtr, TablePtr > > | createJoinTestcase (int NUM_primary, int NUM_foreign) |
bool | executeJoinTest (int testcaseNum, int primaryCount, int foreignCount) |
bool | GPU_ExperimentjoinTest () |
bool | test () |
bool | SIMD_selection () |
Variables | |
const bool | unittest_debug = false |
typedef bool(* CoGaDB::unit_tests::UnittestFunctionPtr)() |
References hype::queryprocessing::LogicalQueryPlan< Type >::convertToPhysicalQueryPlan(), CPU, CoGaDB::FLOAT, CoGaDB::getGlobalTableList(), CoGaDB::INT, CoGaDB::MATERIALIZE, and CoGaDB::VARCHAR.
References CoGaDB::ASCENDING, CoGaDB::gpu::copy_column_host_to_device(), CoGaDB::gpu::copy_PositionList_device_to_host(), CoGaDB::createLookupTableforUnaryOperation(), CoGaDB::FLOAT, CoGaDB::INT, CoGaDB::LESSER, CoGaDB::gpu::materializeColumn(), and CoGaDB::VARCHAR.
bool CoGaDB::unit_tests::basicQueryTest | ( | ) |
References hype::queryprocessing::LogicalQueryPlan< Type >::convertToPhysicalQueryPlan(), CoGaDB::getGlobalTableList(), CoGaDB::INT, CoGaDB::LESSER, hype::queryprocessing::LogicalQueryPlan< Type >::print(), CoGaDB::SUM, and CoGaDB::VARCHAR.
bool CoGaDB::unit_tests::bit_vector | ( | ) |
References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.
Referenced by compressioned_columns_tests().
bool CoGaDB::unit_tests::bulk_test_delete | ( | boost::shared_ptr< CompressedColumn< int > > | compressed_col, |
boost::shared_ptr< Column< int > > | uncompressed_col | ||
) |
Referenced by bit_vector(), delta(), dictionary_compression(), and run_length().
bool CoGaDB::unit_tests::bulk_test_update | ( | boost::shared_ptr< CompressedColumn< int > > | compressed_col, |
boost::shared_ptr< Column< int > > | uncompressed_col | ||
) |
Referenced by bit_vector(), delta(), dictionary_compression(), and run_length().
References CoGaDB::INT, CoGaDB::Column< T >::print(), and quiet.
References CoGaDB::ADD, hype::queryprocessing::LogicalQueryPlan< Type >::convertToPhysicalQueryPlan(), CoGaDB::getGlobalTableList(), CoGaDB::GREATER, CoGaDB::INT, CoGaDB::LESSER, CoGaDB::MUL, CoGaDB::POSITIONLIST_INTERSECTION, CoGaDB::POSITIONLIST_UNION, hype::queryprocessing::LogicalQueryPlan< Type >::print(), and CoGaDB::ValueConstantPredicate.
References hype::queryprocessing::LogicalQueryPlan< Type >::convertToPhysicalQueryPlan(), CPU_ONLY, CoGaDB::query_processing::createColumnBasedQueryPlan(), CoGaDB::KNF_Selection_Expression::disjunctions, CoGaDB::EQUAL, CoGaDB::FLOAT, CoGaDB::getGlobalTableList(), CoGaDB::GREATER, CoGaDB::INT, CoGaDB::LESSER, CoGaDB::LOOKUP, hype::queryprocessing::LogicalQueryPlan< Type >::print(), CoGaDB::query_processing::two_phase_physical_optimization_selection(), CoGaDB::ValueConstantPredicate, CoGaDB::ValueValuePredicate, and CoGaDB::VARCHAR.
bool CoGaDB::unit_tests::ComplexSortTest | ( | ) |
References CoGaDB::FLOAT, CoGaDB::INT, CoGaDB::SUM, and CoGaDB::VARCHAR.
References bit_vector(), dictionary_compression(), and run_length().
pair<pair<TablePtr, TablePtr>, pair<TablePtr, TablePtr> > CoGaDB::unit_tests::createJoinTestcase | ( | int | NUM_primary, |
int | NUM_foreign | ||
) |
References CoGaDB::FLOAT, and CoGaDB::INT.
Referenced by executeJoinTest().
bool CoGaDB::unit_tests::crossjoinTest | ( | ) |
References hype::queryprocessing::LogicalQueryPlan< Type >::convertToPhysicalQueryPlan(), CPU, CoGaDB::getGlobalTableList(), CoGaDB::INT, CoGaDB::LOOKUP, CoGaDB::NESTED_LOOP_JOIN, hype::queryprocessing::LogicalQueryPlan< Type >::print(), and quiet.
bool CoGaDB::unit_tests::delta | ( | ) |
References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.
References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.
Referenced by compressioned_columns_tests().
bool CoGaDB::unit_tests::equals | ( | std::vector< T > | reference_data, |
boost::shared_ptr< ColumnBaseTyped< T > > | col | ||
) |
bool CoGaDB::unit_tests::executeJoinTest | ( | int | testcaseNum, |
int | primaryCount, | ||
int | foreignCount | ||
) |
References createJoinTestcase(), GPU, CoGaDB::LOOKUP, CoGaDB::SORT_MERGE_JOIN, validateJoinResult(), and warmupGPU().
Referenced by GPU_ExperimentjoinTest().
bool CoGaDB::unit_tests::executeUnitTests | ( | ) |
References selectionTest(), and unittests().
Referenced by CoGaDB::CommandLineInterpreter::CommandLineInterpreter().
void CoGaDB::unit_tests::fill_column | ( | boost::shared_ptr< ColumnBaseTyped< T > > | col, |
std::vector< T > & | reference_data | ||
) |
bool CoGaDB::unit_tests::fillTableTest | ( | ) |
References CoGaDB::INT, unittest_debug, and CoGaDB::VARCHAR.
const T CoGaDB::unit_tests::get_rand_value | ( | ) |
const std::string CoGaDB::unit_tests::get_rand_value | ( | ) |
References CoGaDB::gpu::copy_column_device_to_host(), CoGaDB::gpu::copy_column_host_to_device(), and CoGaDB::INT.
References COGADB_FATAL_ERROR, CoGaDB::getTimestamp(), and CoGaDB::INT.
bool CoGaDB::unit_tests::joinTest | ( | ) |
References CPU, GPU, CoGaDB::HASH_JOIN, CoGaDB::INT, CoGaDB::LOOKUP, CoGaDB::NESTED_LOOP_JOIN, and CoGaDB::SORT_MERGE_JOIN_2.
bool CoGaDB::unit_tests::joinTestOld | ( | ) |
References GPU, CoGaDB::INT, CoGaDB::MATERIALIZE, CoGaDB::SORT_MERGE_JOIN, and CoGaDB::VARCHAR.
bool CoGaDB::unit_tests::memory_benchmark | ( | ) |
bool CoGaDB::unit_tests::run_length | ( | ) |
References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.
Referenced by compressioned_columns_tests().
bool CoGaDB::unit_tests::selectionTest | ( | ) |
References CoGaDB::getTimestamp(), and CoGaDB::INT.
Referenced by executeUnitTests().
bool CoGaDB::unit_tests::SIMD_selection | ( | ) |
References CoGaDB::ADD, hype::queryprocessing::LogicalQueryPlan< Type >::convertToPhysicalQueryPlan(), CPU_ONLY, CoGaDB::debug, CoGaDB::DIV, CoGaDB::getGlobalTableList(), CoGaDB::INT, CoGaDB::MUL, CoGaDB::quiet, CoGaDB::SUB, and CoGaDB::verbose.
bool CoGaDB::unit_tests::test | ( | ) |
References COGADB_SIMD_SCAN_INT_OPTIMIZED.
bool CoGaDB::unit_tests::test_column | ( | boost::shared_ptr< ColumnBaseTyped< T > > | col, |
std::vector< T > & | reference_data | ||
) |
References equals().
Referenced by unittest().
bool CoGaDB::unit_tests::unittest | ( | boost::shared_ptr< ColumnBaseTyped< int > > | ptr | ) |
References fill_column(), and test_column().
Referenced by unittests(), and unittests().
bool CoGaDB::unit_tests::unittest | ( | boost::shared_ptr< ColumnBaseTyped< float > > | ptr | ) |
bool CoGaDB::unit_tests::unittest | ( | boost::shared_ptr< ColumnBaseTyped< std::string > > | ptr | ) |
bool CoGaDB::unit_tests::unittests | ( | boost::shared_ptr< CompressedColumn< int > > | col, |
boost::shared_ptr< CompressedColumn< float > > | col_float, | ||
boost::shared_ptr< CompressedColumn< std::string > > | col_string | ||
) |
References unittest().
Referenced by bit_vector(), delta(), dictionary_compression(), and run_length().
bool CoGaDB::unit_tests::updateTuplesTest | ( | ) |
bool CoGaDB::unit_tests::validateJoinResult | ( | TablePtr | tab, |
int | size, | ||
int | type | ||
) |
bool CoGaDB::unit_tests::warmupGPU | ( | ) |
References GPU, CoGaDB::INT, CoGaDB::LOOKUP, and CoGaDB::SORT_MERGE_JOIN_2.
Referenced by executeJoinTest().
const bool CoGaDB::unit_tests::unittest_debug = false |
Referenced by basicOperationTest(), and fillTableTest().