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

老哥,/api/table这个endpoint是否考虑支持DELETE操作? #226

Open
longwallstreet opened this issue Nov 18, 2022 · 0 comments
Open

Comments

@longwallstreet
Copy link

在考虑一种使用场景,比较大的datasets,因此将use_memory_table参数设置为false,有如下行为

  1. 第1次处理客户端查询时,roapi会读取文件内容并加载到内存中,假设roapi内存占用为M
  2. 第2~N次处理客户端查询时,roapi内存短暂占用会是2*M,查询结束后内存占用仍然是M左右

ps: 1和2是初步使用的过程中观察到现象(也可能描述不准确~)

如果这个datasets中每个文件都被查询一次,这样roapi是不是占用比较大内存?

这里是否可以通过支持/api/table/{table_name} 的DELETE操作可以动态来"释放内存"?
如果支持DELETE操作的话,是否会造成某些影响?

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