andyatkinson / rideshare

Rails app for book 📚 "High Performance PostgreSQL for Rails" http://pragprog.com/titles/aapsql
http://pragprog.com/titles/aapsql
197 stars 59 forks source link

Raise statement_timeout further #208

Closed andyatkinson closed 1 month ago

andyatkinson commented 1 month ago

For bulk loading 10 million records at a time, set a statement timeout of 30 minutes so that there's plenty of time for this operation to complete

This was tested on Postgres 16 on a MacBook Pro M1 with SSD