Learn about using the in-app Container Right-Sizing Recommendations for performance and optimization
Scaling Recs
column. Additionally, you will find a banner on the App Service and Database Scale pages where Aptible also provides the recommendation.
shared_buffers
to 25% of the
total RAM, which is the recommended starting value:
If you have a dedicated database server with 1GB or more of RAM, a reasonable starting value for shared_buffers is 25% of the memory in your system.Other References:
innodb_buffer_pool_size
to
50% of the total RAM.
From the MySQL docs:
A larger buffer pool requires less disk I/O to access the same table data more than once. On a dedicated database server, you might set the buffer pool size to 80% of the machine’s physical memory size.
With WiredTiger, MongoDB utilizes both the WiredTiger internal cache and the filesystem cache. The default WiredTiger internal cache size is the larger of either: 50% of (RAM - 1 GB), or 256 MB.
The standard recommendation is to give 50% of the available memory to Elasticsearch heap, while leaving the other 50% free. It won’t go unused; Lucene will happily gobble up whatever is left over.Other References: