Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos
Commits
7cf77149
Commit
7cf77149
authored
Jun 22, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve mysql performance.
Based on maatkit results.
parent
f34498ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
slapos/recipe/bef_erp5/template/my.cnf.in
slapos/recipe/bef_erp5/template/my.cnf.in
+5
-3
No files found.
slapos/recipe/bef_erp5/template/my.cnf.in
View file @
7cf77149
...
@@ -26,6 +26,7 @@ key_buffer = 128M
...
@@ -26,6 +26,7 @@ key_buffer = 128M
max_allowed_packet = 100M
max_allowed_packet = 100M
table_cache = 1024
table_cache = 1024
sort_buffer_size = 100M
sort_buffer_size = 100M
key_buffer_size = 1G
net_buffer_length = 8K
net_buffer_length = 8K
read_buffer_size = 256K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
read_rnd_buffer_size = 512K
...
@@ -44,7 +45,7 @@ max_connections = 512
...
@@ -44,7 +45,7 @@ max_connections = 512
# Default to using old password format for compatibility with old and
# Default to using old password format for compatibility with old and
# shorter password hash.
# shorter password hash.
# Reference: http://dev.mysql.com/doc/mysql/en/Password_hashing.html
# Reference: http://dev.mysql.com/doc/mysql/en/Password_hashing.html
old_passwords
#
old_passwords
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# if all processes that need to connect to mysqld run on the same host.
...
@@ -134,14 +135,15 @@ server-id = 1
...
@@ -134,14 +135,15 @@ server-id = 1
# You can set .._buffer_pool_size up to 50 - 80 %%
# You can set .._buffer_pool_size up to 50 - 80 %%
# of RAM but beware of setting memory usage too high
# of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = %(innodb_buffer_pool_size)s
innodb_buffer_pool_size = %(innodb_buffer_pool_size)s
innodb_additional_mem_pool_size =
4
0M
innodb_additional_mem_pool_size =
2
0M
# Set .._log_file_size to 25 %% of buffer pool size
# Set .._log_file_size to 25 %% of buffer pool size
#innodb_log_file_size = 5M
innodb_log_file_size = 1G
#innodb_log_buffer_size = 8M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
#innodb_lock_wait_timeout = 50
innodb_locks_unsafe_for_binlog=1
innodb_locks_unsafe_for_binlog=1
innodb_flush_method=O_DIRECT
#bind-address=192.168.100.1
#bind-address=192.168.100.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment