gw2efficiency / issues

All bug reports, planned features, ideas & milestones for gw2efficiency
79 stars 6 forks source link

Move to a dedicated analytical database? #1818

Open queicherius opened 2 months ago

queicherius commented 2 months ago

Some of the things we do to get MongoDB to be performant are getting annoying (slow updates, having to run 3 collections instead of 1, etc), and are still causing issues (e.g. #1799). It might be wise to invest the time into switching into a better database instead of trying to keep fixing things.

I really want something PostgreSQL based, because I prefer that at work. Backups would work via pgBackRest (defacto standard). Current top contender is Timescale, if it worked for Plausible it should do just fine for us.

The (small) downside would be that we would have to run schema migrations when we add new statistics.

We should be able to get started trying out things by just dumping the entire 3TB MongoDB collection into the table locally.

queicherius commented 2 months ago

Timescale

ClickHouse

DuckDB