https://blog.saeloun.com/2022/01/18/rails-7-updates-timestamp-for-insert-and-upsert-all-queries.html
Saeloun Blog
Rails 7 allows setting timestamps on insert_all/upsert_all record creation
All relevant timestamp columns (`created_at`, `created_on`, `updated_at`, `updated_on`) are now set via ActiveRecord when using mass insertion queries.
https://blog.appsignal.com/2022/01/26/test-and-optimize-your-ruby-on-rails-database-performance.html
Appsignal
Test and Optimize Your Ruby on Rails Database Performance | AppSignal Blog
Explore three common ways to discover and test database performance problems in Rails, and seven ways to optimize performance.