apex
apex copied to clipboard
How to insert KV pairs into an empty APEX
Hi, I try to skip the bulk load and insert some KV pairs into an empty index, but the program seems to enter an endless loop. The modifications are as follows.
- I set the "skip_bulkload“ in src/benchmark/main.cpp to true
- I run the "run.sh" with single thread
- the benchmark gets stuck after printing some information. The CPU utilization is 100%.
found flag keys_file = longitudes-200M.bin.data
found flag keys_file_type = binary
found flag keys_type = double
found flag init_num_keys = 0
found flag workload_keys = 10000
found flag total_num_keys = 10000
found flag operation = insert
found flag insert_frac = 0
found flag lookup_distribution = uniform
found flag theta = 0.99
found flag using_epoch = 1
found flag thread_num = 1
found flag index = apex
found flag random_shuffle
found flag sort_bulkload = 1
The key type is double
The epoch is used
creating a new pool
pool opened at: 0x7f4480000000
Intial allocator: 1
Recover/Initialize time (ms) = 162.361
I try to insert data to an empty ALEX and it works.
Hope the author could fix the problem. Thanks a lot!
Thanks for pointing this out. I will take a look at how to fix it and come back to you soon.
Baotong