Hi there,
I have a database with over 25GB of data in the EmailRecipient data (lots of subscribers, lots of newsletetrs). I would like to clean up all data related to newsletters sent more than 30 days ago (so I also want to delete, say, an "email opened" record from yesterday, if it was for a newsletter sent more than 30 days ago).
I looked at the database but I am unsure which tables I need to clear and how the proper joins shoud look to find all relevant data as many tables don't have foreign keys between them. I am sure I need EmailRecipient, and probablty EmailAction, EmailMessage and EmailRecipientTag and probably some others.
Can you provide more information about the schema and how I could clean up the data.
Thanks!
Imar