What is a Database Sample?
It’s a taste of the real thing. These are fully contained, downloadable database functionality samples of our Raima Database Manager (RDM) , and each download highlights a certain feature within RDM. Click on the Database Samples links to view the complete series for each API. Duration = 5 minutes or less.
Note: Windows samples require Visual Studio 2008 or 2010 and Linux samples require a standard Linux development environment.
- Download the sample.
- Build it – it’s all set up.
- Run it in your debugger & watch.
- “Oh, That’s easy!”
- Try the next one
|C/C++ For Windows||C/C++ For Linux 32-bit||C/C++ For Linux 64-bit||Description|
|Performance 1||Performance 1||Performance 1||Simple record type, integer field, in-memory. Time creation of 50,000 records. Time scanning and summing of all records’ integer field. Time deletion of all records.|
|Performance 2||Performance 2||Performance 2||Same as previous but on-disk.|
|Performance 3||Performance 3||Performance 3||In-memory. Simple record type, integer field, one key. Time creation of 50,000 records. Scan through the key, verify ascending order. Time. Time deletion of all records.|
|Performance 4||Performance 4||Performance 4||On-disk. Same as previous.|
|Performance 5||Performance 5||Performance 5||In-memory. Same as first but with transactions of increasing batch size.|
|Performance 6||Performance 6||Performance 6||On-disk. Same as previous.|
|Performance 7||Performance 7||Performance 7||Hierarchy of sets. Bill-Of-Materials-like build followed by scan. Time each phase.|
|Performance 8||Performance 8||Performance 8||Hierarchy, same as previous, built from foreign/primary keys. Build, scan in same order. Time.|
|Performance 9||–||–||Multi-user. Spawn writer and reader threads. Writer creates X records per transaction. Reader sums a range of them each cycle. Use locking. Time.|
|Performance 10||–||–||Same as previous but reader uses MVCC read-only-transactions, not locks.|