Table partitioning for both PG and MySQL