I have a basic question regarding database design. We have a single postgresql database, with one table that is much larger than the other tables. It's an audit trail that logs any and all changes in our software. Is it not smart to do this? Would I be better off storing this in another data store (redis) or another database? Or does Postgresql handle this in a way that a large table won't effect read performance on other tables. How does postgres know which data to cache in memory etc.
Sorry for such a basic and vague question, I'm not sure how else to ask this. I just don't want to get down the road, a year from now, and we're having serious database performance issues because one of our tables is 50gb, while the rest of the database is < 1gb.
Thanks.