Skip to content

Commit c5ca69d

Browse files
authored
mysql tweak
1 parent c4d2ff1 commit c5ca69d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,13 @@ jobs:
110110
[mysqld]
111111
# Skip per-commit fsync on the redo log (fsync once/sec instead)
112112
innodb_flush_log_at_trx_commit = 2
113-
# Disable binlog entirely (no replication needed for CI)
114-
skip-log-bin
113+
# Skip per-commit fsync on the binlog
114+
sync_binlog = 0
115115
# Skip the double-write buffer (halves write IO)
116116
innodb_doublewrite = OFF
117117
# Default 128MB pool is undersized; CI runners have 16GB RAM
118118
innodb_buffer_pool_size = 2G
119-
# Default 100MB redo log fills fast under sustained writes
120-
innodb_redo_log_capacity = 2G
121-
EOF
119+
EOF
122120
- name: Set up MySQL (local)
123121
run: |
124122
sudo systemctl start mysql

0 commit comments

Comments
 (0)