configuring database indexes on server startup