Cost-effective database migration for financial institutions