f16725e 3 months ago History
1 contributor
30 lines | 0.802kb
# autoSMART Database Configuration
# PostgreSQL connection settings

[database]
host = localhost
port = 5432
database = autosmart
username = autosmart_user
password = secure_password_here
schema = smart_monitoring

# Connection pool settings
max_connections = 20
connection_timeout = 30
query_timeout = 60

# Data retention policies
retention_raw_data = 365        # days to keep raw SMART readings
retention_predictions = 180     # days to keep AI predictions
retention_alerts = 90           # days to keep alert history

# Backup settings
backup_enabled = true
backup_schedule = "0 2 * * *"   # Daily at 2 AM
backup_retention = 30           # days to keep backups

[performance]
batch_insert_size = 1000
vacuum_schedule = "0 3 * * 0"   # Weekly vacuum
analyze_schedule = "0 4 * * *"  # Daily analyze