1.database optimization