Leveraging programmable storage toward database elasticity