{"slug":"code-halowerk-com-v1-pg-config-tune-a695ba","title":"Get postgresql.conf settings for your hardware and workload with the PGTune form","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/pg-config-tune","category":"code","description":"Get postgresql.conf settings for your hardware and workload with the PGTune formulas (RAM, CPUs, storage, connections, version), as conf file and ALTER SYSTEM, optionally diffed against your current config.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1189,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"cpus":8,"db_version":18,"storage":"ssd","total_memory":16,"workload":"web"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"connections":{"maximum":260000,"minimum":20,"type":"integer"},"cpus":{"maximum":999999,"minimum":1,"type":"integer"},"current_config":{"maxLength":500000,"type":"string"},"data_size":{"default":"mid_ram","enum":["less_ram","mid_ram","greater_ram"],"type":"string"},"db_version":{"default":18,"maximum":19,"minimum":10,"type":"integer"},"memory_unit":{"default":"GB","enum":["MB","GB","TB"],"type":"string"},"os":{"default":"linux","enum":["linux","windows","mac"],"type":"string"},"storage":{"default":"ssd","enum":["ssd","hdd","san","nvme"],"type":"string"},"total_memory":{"maximum":999999,"minimum":1,"type":"integer"},"workload":{"default":"web","enum":["web","oltp","dw","desktop","mixed"],"type":"string"}},"required":["total_memory"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1263,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1189,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1202,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1184,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1296,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1172,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1170,"error":null}],"description_full":"Get postgresql.conf settings for your hardware and workload with the PGTune formulas (RAM, CPUs, storage, connections, version), as conf file and ALTER SYSTEM, optionally diffed against your current config.","last_updated":"2026-11-20T13:17:43.661Z","schemes":["exact"]}