Hello all, we have quite challenging problem where we have a table which records written throughout the day and most of them (90%) will get deleted by end of the day, but the remaining 10% will be long lived for up to several months.
We are entertaining the idea of having 2 or 3 tables and have a side app process to move the long-lived tables and then truncate/rotate them - but I'm not a fan of granting app ID truncate priv or create/drop priv to be able to create new daily table pro-grammatically .. Just want to run this by the community to see if someone had similar problem and what was the solution chosen.