-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[branch-2.0][improvement](mysql catalog) disable mysql AbandonedConnectionCleanup Thread #36942
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
Conversation
|
run buildall |
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
TPC-H: Total hot run time: 50039 ms |
TPC-DS: Total hot run time: 202971 ms |
ClickBench: Total hot run time: 31.42 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
… Thread (apache#36655) When using mysql catalog, mysql jdbc driver will generate an `AbandonedConnectionCleanupThread` for each database connection. This is a virtual reference, which will accumulate over time as database connections are constantly created, eventually causing OOM. Therefore, in our usage scenario, we need to turn off this thread because our database connection recycling depends on the connection pool. But please note that this switch is only for MySQL JDBC Driver versions greater than 8.0.22
3f2a70a to
4321fae
Compare
|
run buildall |
TPC-H: Total hot run time: 50550 ms |
TPC-DS: Total hot run time: 203407 ms |
ClickBench: Total hot run time: 31.4 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
run buildall |
TPC-H: Total hot run time: 49940 ms |
TPC-DS: Total hot run time: 204699 ms |
ClickBench: Total hot run time: 30.71 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
…ctionCleanup Thread (apache#36942) pick (apache#36655) When using mysql catalog, mysql jdbc driver will generate an `AbandonedConnectionCleanupThread` for each database connection. This is a virtual reference, which will accumulate over time as database connections are constantly created, eventually causing OOM. Therefore, in our usage scenario, we need to turn off this thread because our database connection recycling depends on the connection pool. But please note that this switch is only for MySQL JDBC Driver versions greater than 8.0.22
pick (#36655)
When using mysql catalog, mysql jdbc driver will generate an
AbandonedConnectionCleanupThreadfor each database connection. This is a virtual reference, which will accumulate over time as database connections are constantly created, eventually causing OOM. Therefore, in our usage scenario, we need to turn off this thread because our database connection recycling depends on the connection pool. But please note that this switch is only for MySQL JDBC Driver versions greater than 8.0.22