Doing this with two or more separate inserts in the same function is simple, but is there any more correct way to consume the least amount of resources? In the platform that we are working on, all user actions will be saved in other tables and later generated statistics.