Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
a6b6265b
Commit
a6b6265b
authored
4 years ago
by
Andres Maldonado
Browse files
Options
Downloads
Patches
Plain Diff
[pica-etherpad-db] Update binlog config file
parent
0352bb26
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pica-etherpad-db/config/binary_log.cnf
+27
-0
27 additions, 0 deletions
pica-etherpad-db/config/binary_log.cnf
pica-etherpad-db/config/limit_binary_log.cnf
+0
-2
0 additions, 2 deletions
pica-etherpad-db/config/limit_binary_log.cnf
with
27 additions
and
2 deletions
pica-etherpad-db/config/binary_log.cnf
0 → 100644
+
27
−
0
View file @
a6b6265b
# Official documentation: https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html
#
# The main purpose of this config file is to retain binary logs (enabled
# by default) «just in case», for a short period of time. We dont do
# replication, so anyway we shouldn't need the binary logs.
#
# Some settings also try to improve performance (experimental)
[mysqld]
# Limit the binlog retention to 30 hours
binlog_expire_logs_seconds = 108000
# Cache limits
# Increase binlog_cache_size and binlog_stmt_cache_size
# (default: 32 KiB) to 128 KiB
binlog_cache_size = 131072
binlog_stmt_cache_size = 131072
# Decrease max_binlog_cache_size and max_binlog_stmt_cache_size
# (default: 16 EiB) to 10 MiB.
# (If we have transactions greater than 10 MiB there's a big problem)
max_binlog_cache_size = 10485760
max_binlog_stmt_cache_size = 10485760
# Ignore errors
binlog_error_action = IGNORE_ERROR
This diff is collapsed.
Click to expand it.
pica-etherpad-db/config/limit_binary_log.cnf
deleted
100644 → 0
+
0
−
2
View file @
0352bb26
[mysqld]
binlog_expire_logs_seconds = 108000
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment