https://prefect.io logo
Title
t

takahashi

11/04/2020, 6:15 AM
Hi everyone! I have a question about logs stored in postgres. Daily logs are stored on the postgres server, but if you continue to store them, the amount of data will be enormous. Are there any best practices for managing this log? I'm considering outputting the data for a certain period to a text file and deleting the target record from postgres, but is there any problem?
n

nicholas

11/05/2020, 2:36 PM
Hi @takahashi - I don't think we have any best practices on managing your logs; some people have written flows to ship logs and runs to an external storage location, others to completely remove logs and runs after a certain period of time.
t

takahashi

11/06/2020, 5:11 AM
Thank you very much!! We will consider it as a reference.