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

create secondary index needs attention #1318

Open
mdcallag opened this issue Jun 8, 2023 · 0 comments
Open

create secondary index needs attention #1318

mdcallag opened this issue Jun 8, 2023 · 0 comments

Comments

@mdcallag
Copy link
Contributor

mdcallag commented Jun 8, 2023

My requests:

  • Improve the docs, especially for create secondary index
  • Explain the options (session variables) that can affect it including rocksdb_bulk_load_allow_sk, rocksdb_bulk_load, rocksdb_merge_combine_read_size and rocksdb_merge_buf_size.

My focus is on creating a secondary index -- alter table add index ...

Questions I have include:

  • do any of the rocksdb_bulk_load* options have an impact
  • how many allocations of size rocksdb_merge_combine_read_size are concurrently active? Is it one per alter table? Is it one per index per alter table? I want to avoid OOM. I have the same question about rocksdb_merge_buf_size.

From experiments, the rocksdb_bulk_load* options have no impact and the bulk load approach is always used.

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

1 participant