| 1 |
# $Id$ |
| 2 |
|
| 3 |
getting_started/ |
| 4 |
Examples from the Getting Started Guide |
| 5 |
|
| 6 |
ex_access.c Using just the DB access methods. |
| 7 |
|
| 8 |
ex_apprec/ Application-specific recovery. |
| 9 |
|
| 10 |
ex_btrec.c Using the BTREE access method with record numbers. |
| 11 |
|
| 12 |
ex_bulk.c Bulk interfaces. |
| 13 |
|
| 14 |
ex_dbclient.c Using DB from an RPC client. |
| 15 |
|
| 16 |
ex_env.c Setting up the DB environment. |
| 17 |
|
| 18 |
ex_lock.c Locking. |
| 19 |
|
| 20 |
ex_mpool.c Shared memory buffer pools. |
| 21 |
|
| 22 |
ex_rep/ Replication. This creates a toy stock quote server |
| 23 |
with DB's single-master, multiple-client replication, |
| 24 |
with communication over TCP. See ex_rep/README. |
| 25 |
|
| 26 |
ex_sequence.c Sequences. |
| 27 |
|
| 28 |
ex_thread.c Threaded application with multiple readers and writers. |
| 29 |
|
| 30 |
ex_tpcb.c TPC/B. |
| 31 |
Ex_tpcb sets up a framework in which to run a TPC/B test. |
| 32 |
Database initialization (the -i flag) and running the |
| 33 |
benchmark (-n flag) must take place separately (i.e., |
| 34 |
first create the database, then run 1 or more copies of |
| 35 |
the benchmark). Furthermore, when running more than one |
| 36 |
TPCB process, it is necessary to run the deadlock detector |
| 37 |
(db_deadlock), since it is possible for concurrent tpcb |
| 38 |
processes to deadlock. For performance measurement, it |
| 39 |
will also be beneficial to run the db_checkpoint process |
| 40 |
as well. |