mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
修复Mysql内存占用过高的问题
This commit is contained in:
parent
e1a5d1e5cd
commit
bb02ffea3a
@ -1,2 +1,2 @@
|
||||
FROM mysql:latest
|
||||
RUN printf "\nserver-id=1\nlog-bin=binlog\nperformance_schema=OFF" >> /etc/mysql/my.cnf
|
||||
RUN printf "\n[mysqld]\nserver-id=1\nlog-bin=binlog\nperformance_schema=OFF\ntable_definition_cache=400\ntable_open_cache=256" >> /etc/mysql/my.cnf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user