Temporal workflow/activity data in which tables?

@Nikitapatel is this question related to Possible to store workflow/activity data in another database(own database)?