Performance Tradeoffs In Write-Optimized Databases