Sequel is a simple, flexible, and powerful SQL database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas.
Don't use .collect() on large DataFrames — brings all data to driver, causes OOM errors Don't chain multiple .count() calls — each triggers a full scan; cache DataFrame if needed Don't ignore skew — ...