SQL Alchemy Table Partitioning and query splitting