auto_tune

Function auto_tune 

Source
pub fn auto_tune(
    total_ram_mb: u64,
    cpu_cores: u32,
    workload: WorkloadType,
) -> HashMap<String, String>
Expand description

Auto-tune configuration based on system resources

Provides intelligent defaults based on available system resources. This implements PostgreSQL tuning best practices.

ยงParameters

  • total_ram_mb: Total system RAM in MB
  • cpu_cores: Number of CPU cores
  • workload: Workload type (Web, Mixed, DataWarehouse, OLTP)

Returns a HashMap of recommended configuration values.