New implementation for database zone handling