The build procedures for the C API SDK samples on all supported platforms are described in the "Getting Started" section. Note that the
native\coredirectory contains some C++ sample subdirectories which can be viewed here. By default, all sample executables are built in thetarget/bindirectory, so after building the sample(s) it is convenient tocdtotarget/binto run the sample or run it in the development system debugger.Please use the links below to view the description and specific instructions for individual samples in the following subdirectories:
Demonstrates use of the eXtremeDB schema compiler.Demonstrates a database schema with both persistent and transient classes.Opens a database in conventional memory.Opens a database in conventional memory and allows HTTP access.Demonstrates extending a database in conventional memory.Opens a persistent database using FILE memory devices.Opens a persistent database using MULTIFILE memory devices.Opens a persistent database using a RAID memory device.Opens a hybrid database (having both transient and persistent classes).Demonstrates recovery of a database in non-volatile memory.Opens a database protected by a cipher key.Opens a database and protects its pages by CRC.Opens a database in shared memory.Opens and connects to a database from multiple processes.Opens and connects to a database from multiple tasks (threads).Opens and connects to a database from a single task.Performs basic database insert, read, and update operations.Demonstrates full-text search operations with tree indexes.Demonstrates the_locate()and_compare()cursor operations.Demonstrates basic pattern search methods.Demonstrates search operations withtreeindexes.Demonstrates custom collations for atreeindex.Demonstrates basic cursor operations.Demonstrates storing a cursor shared between transactions.Demonstrates operations on unique and non-uniquehashindexes.Demonstrateskdtreeindex operations.Demonstratespatriciatree match functions using a binary key (a vector of bits).Demonstratespatriciamatch functions using a character string key.Demonstratesrtreeindex operations.Demonstrates user-defined compare functions for atreeindex.Demonstrates registering a fatal error handler.Demonstrates triggering a user-defined error handler.Demonstrates calling an extended error handler.Demonstrates handling of non-fatal error codes.Demonstrates handling of status codes.Demonstrates the difference in behavior using different isolation levels with theMVCCtransaction manager.Demonstrates how to iterate through committed objects within a two-phase transaction.Demonstrates the MUlti-Read SIngle-Write transaction manager.Demonstrates theMVCCtransaction manager.Demonstrates a (pseudo) nested transaction.Demonstrates a two-phase commit transaction to two in-memory databases.Demonstrates a two-phase commit to a disk-based database.Demonstrates the difference in behavior using different transaction policies.Demonstrates the different eXtremeDB transaction types.Demonstrates eXtremeDB performance for basic database operations using randomized data.Demonstrates eXtremeDB performance for basic database operations using sequential data.Demonstrates eXtremeDB performance using the Performance Monitor API.Demonstrates performance for basic database operations using simple anddirectstructs.Demonstrates performance for basic database operations using the Uniform Data Access API.Demonstrates basic BLOB operations.Demonstrates asynchronous database event handling.Demonstrates synchronous database event handling.Demonstrates the use of vectors and vector-based indexes.Demonstrates the use of the eXtremeDB XML export and import APIs.Demonstrates basic XML operations.Demonstrates the use of the XML Policy API.Demonstrates use of the<classname>_xml_schema()API.Demonstrates "Time To Live" policies.Demonstrates converting between UDA and native object handles.Demonstrates custom collations with tree & hash indexes using the UDA API.Demonstrates asynchronous and synchronous database event handling using the UDA API.Demonstrates use of the UDA Metadata API.Demonstrates use of the basic UDA APIsmco_uda_db_open()andmco_uda_db_close().Demonstrates the UDA API in a variety of database operations.Demonstrates basic pattern search methods using the UDA API.Demonstrates user-defined tree and hash indexes with the UDA API.Demonstrates use of the eXtremeDB database memory calculation tool (with various command-line options).Demonstrates simple usage of the eXtremeDB database memory calculation tool API.Demonstrates how to obtain runtime database statistics.Demonstrates the Binary Schema Evolution of a database.Demonstrates saving an image (snapshot) of a database to disk.Demonstrates recovery of a persistent database from a backup file using themco_disk_save()andmco_disk_load()APIs.Demonstrates recovery of a persistent database using themco_disk_save()andmco_disk_load_file()APIs.Demonstrates recovery of the in-memory portion of a database to disk using themco_inmem_save()andmco_inmem_load()APIs.Demonstrates migration of an existing disk database to a more recent eXtremeDB build or to a different schema.Demonstrates incremental backup and restore.Demonstrates automatic recovery of a persistent database.Demonstrates database recovery using sniffer to detect dead connections.Demonstrates the use of a memory allocation callback for a persistent storage database.Demonstrates the use of a memory allocation callback for a transient (in-memory-only) database.Demonstrates the database browser.Demonstrates the database browser using the eXtremeDB performance monitor.Demonstrates the use of the Web Services REST API in a single-threaded application.Demonstrates the use of the Web Services REST API with the HTTP server.Demonstrates the use of the Performance Monitor C API to retrieve counters from the perfmon database using UDA.