Implementing multi-database feature