Skip to main content

Configuration

max_connections

  • 75 connections / GB of RAM.
  • Example: 4GB of RAM yields 300 connections.
  • This setting cannot be changed as it affects system stability.

InnoDb settings

  • These setting cannot be changed as it affects system stability.

innodb_buffer_pool_size

  • 50% of RAM if total RAM is > 4GB
  • 25% of RAM if total RAM is <= 4GB

innodb_log_file_size

  • 1024 MB if innodb_buffer_pool_size >= 8192MB
  • 512 MB if innodb_buffer_pool_size < 8192MB

innodb_buffer_pool_instances

  • 8

InnoDB options

variable_namevariable_value
innodb_buffer_pool_sizeDepends on instance size
innodb_flush_log_at_trx_commit2
innodb_file_per_table1
innodb_data_file_pathDepends on instance size
innodb_read_io_threads4
innodb_write_io_threads4
innodb_doublewrite1
innodb_buffer_pool_instancesDepends on instance size
innodb_redo_log_capacity8G
innodb_thread_concurrency0
innodb_flush_methodO_DIRECT
innodb_autoinc_lock_mode2
innodb_stats_on_metadata0
default_storage_engineinnodb

General options

variable_namevariable_value
tmp_table_size64M
max_heap_table_size64M
max_allowed_packet1G
sort_buffer_size256K
read_buffer_size256K
read_rnd_buffer_size512K
memlock0
sysdate_is_now1
max_connectionsDepends on instance size
thread_cache_size512
table_open_cache4000
table_open_cache_instances16
lower_case_table_names0

Storage

  • We recommend a maximum of 100GB storage per GB of RAM.
  • Example: 4GB of RAM yields 400GB of storage.
  • The recommendation is not enforced by the CCX platform.