|
|
|
|
|
by scottshamus
1929 days ago
|
|
There’s lot of good solutions out there but if you really like using Postgres, you could move your logs to a secondary Postgres DB or Postgres server so it doesn’t affect your application DB’s performance. I’ve scaled this to 10s of millions of log messages without much issue. |
|
[1] https://www.postgresql.org/docs/current/ddl-partitioning.htm...
[2] https://www.postgresql.org/docs/current/ddl-foreign-data.htm...
[3] https://pgdash.io/blog/postgres-11-sharding.html