optimized database_selector loading records