I'm currently a startup and using non server grade NVMEs/SSD on my database server. My motherboard , CPU , DDR (ECC) etc are server grade except for the flash part.
I'm looking for ways to reduce the amount of writes on my Postgresql Database to preserve the lifespan of Flash Drives hopefully to reduce the failure rate.
My requirements
- Write speed (Low Priority)
- High Read speed & low latency (High Priority)
- Low Writes (High Priority)
Questions
- What kind of storage format do you recommend for a non-raided ubuntu system - ext4/xfs
- What are the configuration settings I should look into
- Any form of settings would improve usage of ram over flash drives
- Should I reduce maintenance / vacuum frequency.
- Block Size for Disk.
- Separate disk for WAL ?
"This question needs to be more focused. It is not currently accepting answers." You know, if you close questions like this , stack exchange will only have newbies questions and won't attract the real professionals.
This question and issue is real, TBW gets burn hard and fast with the default configuration and there isn't much discussion on this. If you can't recover this , i will just migrate the content and build another stack exchange.