# PostgreSQL Configuration for MTG Database

# postgresql.conf - optimize for mtgjson workload
shared_buffers = 256MB
effective_cache_size = 1GB
work_mem = 16MB
maintenance_work_mem = 256MB
random_page_cost = 1.1
effective_io_concurrency = 200
max_parallel_workers_per_gather = 2
max_parallel_workers = 4
max_parallel_maintenance_workers = 2

# pg_hba.conf - allow connections
host    all             all             127.0.0.1/32            md5
host    all             all             ::1/128                 md5
