-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
添加业务低峰时间范围,ddl只能够在在业务低峰执行选项,避免非dba执行sql锁表影响业务 #2731
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2731 +/- ##
==========================================
- Coverage 78.37% 78.33% -0.05%
==========================================
Files 124 124
Lines 17598 17629 +31
==========================================
+ Hits 13793 13810 +17
- Misses 3805 3819 +14 ☔ View full report in Codecov by Sentry. |
我建议将配置项精简为两个配置项:
可执行时间范围和当前实现比较,配置起来少一个配置项,且可配置多个时间窗口,更加灵活。 |
6943368
to
7c76ac5
Compare
很好的建议,我尝试实现下 |
最近在使用过程中发现,比如一个公司有多个db,他们的业务高低峰时段是不同的,有些需要配置这个业务高峰不允许执行的限制,但是有些db本来就只有这个业务团队使用,那完全没必要限制。 |
确实是很好的想法, 确实可以这样去实现 |
5b5d83d
to
c78bf80
Compare
添加业务低峰时间范围,ddl只能够在在业务低峰执行选项,避免非dba执行ddl sql 使用了copy算法锁表