Storage Optimization For Miniature Database Systems