Clickhouse table per tenant in production

At work, we made a decision to go with a table per tenant approach and we have been running that setup for a couple of years now. I thought this would be the right time to share what we have learned and what works well. Why? The first question is why do you want to create a table per tenant? In our case, we allow users to define their own event attributes with their own types. There are 2 main…