In my web app admin panel I want to implement the ability to change the current database.Chaning a database will be occur, say, a few times per minute at most. There’ll be a dropdown in the navigation bar for it.
At the moment I’m the only user-admin, later there may or may not be more. I store the name of current database in ETS as of now. Is this a good decision? What are the downsides? What are the altenatives then? Session?