Different Database for runtime and history

Here is a example where you can route your history data with custom handing: