1# A single private environment, with two databases, a primary and secondary
2# index pair.
3environment env1 {
4	home TESTDIR
5	cachesize 2 0 4			# 2GB, 4 caches
6
7	database db1 {			# Primary database.
8		type btree
9
10		transaction
11		pagesize 32768
12	}
13	database db2 {
14		type btree
15
16		# The secondary is a btree database, the primary is "db1".
17		# The secondary key is a 4-byte unsigned int, starting at
18		# byte offset 10.
19		primary db1
20		key_type u_int32_t
21		secondary_offset 10 4
22
23		transaction
24		pagesize 32768
25	}
26}
27