mirror of
https://github.com/berkeleydb/je.git
synced 2024-11-15 01:46:24 +00:00
137 lines
2.6 KiB
Text
137 lines
2.6 KiB
Text
###########################################
|
|
## Environment and miscellaneous
|
|
###########################################
|
|
|
|
appl_type TDS
|
|
|
|
## Number of iterations
|
|
cache_warm_iter 0
|
|
total_iter 1000000
|
|
set_parameter je.lock.oldLockExceptions true
|
|
|
|
set_parameter je.cleaner.expunge false
|
|
|
|
###########################################
|
|
## Database files and access methods
|
|
###########################################
|
|
file 0 {
|
|
file_name testdb
|
|
file_method btree
|
|
|
|
data_source random
|
|
|
|
data_length_dists {
|
|
## Uniform distribution from 9 to 400
|
|
## % type param1 param2
|
|
# dist 100 U 9 400
|
|
dist 100 U 10 10
|
|
}
|
|
|
|
key_group 0 {
|
|
# key_size 3
|
|
# key_chars_per_slot 26 26 26
|
|
key_size 5
|
|
key_count 300
|
|
}
|
|
}
|
|
|
|
file 1 {
|
|
file_name referencedb
|
|
file_copy 0
|
|
file_contents 0
|
|
file_method btree
|
|
verify_func compare_contents 0
|
|
}
|
|
|
|
txn_type 0 {
|
|
## Use the same key and data for both operations.
|
|
txn_type_special same_key
|
|
txn_type_special same_data
|
|
txn_type_special no_transaction
|
|
add 0
|
|
}
|
|
|
|
txn_type 1 {
|
|
## Use the same key and data for both operations.
|
|
txn_type_special same_key
|
|
txn_type_special same_data
|
|
txn_type_special no_transaction
|
|
read_existing 0
|
|
del 0
|
|
}
|
|
|
|
txn_type 2 {
|
|
## Use the same key and data for both operations.
|
|
txn_type_special same_key
|
|
txn_type_special same_data
|
|
txn_type_special no_transaction
|
|
add 0
|
|
del 0
|
|
}
|
|
|
|
txn_type 3 {
|
|
## Use the same key and data for both operations.
|
|
txn_type_special same_key
|
|
txn_type_special same_data
|
|
txn_type_special no_transaction
|
|
read_existing 0
|
|
del 0
|
|
add 0
|
|
}
|
|
|
|
txn_type 4 {
|
|
## Use the same key and data for both operations.
|
|
txn_type_special same_key
|
|
txn_type_special same_data
|
|
txn_type_special no_transaction
|
|
add 0
|
|
add 1
|
|
}
|
|
|
|
txn_type 5 {
|
|
## Use the same key and data for both operations.
|
|
txn_type_special same_key
|
|
txn_type_special same_data
|
|
txn_type_special no_transaction
|
|
read_existing 0
|
|
del 0
|
|
del 1
|
|
}
|
|
|
|
###########################################
|
|
## Threads
|
|
###########################################
|
|
SET threads_per_group RANGE {1 2}
|
|
thread_type 0 {
|
|
thread_count $threads_per_group
|
|
abort_freq 100
|
|
# timeout 5000000 5000000
|
|
|
|
## Each transaction type is chosen with nearly equal frequency.
|
|
## weight txn_type
|
|
txn_type 25 0
|
|
txn_type 25 1
|
|
txn_type 25 2
|
|
txn_type 25 3
|
|
|
|
## Perform up to 30 transaction types per actual transaction.
|
|
txn_size_dists {
|
|
dist 100 U 1 30
|
|
}
|
|
}
|
|
|
|
thread_type 1 {
|
|
thread_count $threads_per_group
|
|
abort_freq 0
|
|
# timeout 5000000 5000000
|
|
|
|
## Each transaction type is chosen with nearly equal frequency.
|
|
## weight txn_type
|
|
txn_type 50 4
|
|
txn_type 50 5
|
|
|
|
## Perform up to 30 transaction types per actual transaction.
|
|
txn_size_dists {
|
|
dist 100 U 1 10
|
|
}
|
|
}
|