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

查阅AliSQL代码的时候,发现thread_handing只有三个选项值,不包含thread_pool,是不支持线程池了么? #20

Closed
jaredzhu opened this issue Oct 22, 2016 · 2 comments

Comments

@jaredzhu
Copy link

jaredzhu commented Oct 22, 2016

static Sys_var_enum Sys_thread_handling(
"thread_handling",
"Define threads usage for handling queries, one of "
"one-thread-per-connection, no-threads, loaded-dynamically"
, READ_ONLY GLOBAL_VAR(thread_handling), CMD_LINE(REQUIRED_ARG),
thread_handling_names, DEFAULT(0));

@jaredzhu jaredzhu changed the title 第一次启动数据库时出错,使用my-large.cnf的配置文件 查阅AliSQL代码的时候,发现thread_handing只有三个选项值,不包含thread_pool,是不支持线程池了么? Oct 22, 2016
@jaredzhu
Copy link
Author

static Sys_var_enum Sys_thread_handling(
"thread_handling",
"Define threads usage for handling queries, one of "
"one-thread-per-connection, no-threads"
#ifdef HAVE_POOL_OF_THREADS
", pool-of-threads"
#endif
, READ_ONLY GLOBAL_VAR(thread_handling), CMD_LINE(REQUIRED_ARG),
thread_handling_names,
DEFAULT(DEFAULT_THREAD_HANDLING)
);
这个是percona的代码,pool-of-threads 特性在AliSQL是不支持么?或者是用什么方式替代了?

@tbdingqi
Copy link
Member

AliSQL是基于Oracle 版本的,Oracle版本默认没有线程池,我们会在后续将内部实现的版本开源出来。

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