Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to insert KV pairs into an empty APEX #1

Open
lixiao-c opened this issue Nov 23, 2021 · 1 comment
Open

How to insert KV pairs into an empty APEX #1

lixiao-c opened this issue Nov 23, 2021 · 1 comment

Comments

@lixiao-c
Copy link

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.

  1. I set the "skip_bulkload“ in src/benchmark/main.cpp to true
  2. I run the "run.sh" with single thread
  3. 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!

@baotonglu
Copy link
Owner

Thanks for pointing this out. I will take a look at how to fix it and come back to you soon.

Baotong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants