Anything I Want With Sequel And Postgres | Janko's Blog
01-Apr-2021 1157
At work I was tasked to migrate our time-series analytics data from CSV file dumps that we’ve been feeding into Power BI to a dedicated database. Our Rails app’s primary database is currently MariaDB, but we wanted to have our analytics data in a separate database either way, so this was a good opportunity to use Postgres which we’re most comfortable with anyway.We’re using Active Record for interaction with our primary database, which gained support for multiple databases in version 6.0. However, given that we expected the queries to our analytics database would be fairly complex, and that we’d probably need to be retrieving large quantities of time-series data (which could be performance-sensitive), I decided it would be a good opportunity to use Sequel instead.
Anything I Want With Sequel And Postgres | Janko's Blog #ruby #rubydeveloper #rubyonrails #Anything #Sequel #Postgres #Janko's #blog https://rubyonrails.ba/link/anything-i-want-with-sequel-and-postgres-janko-s-blog