3 ms·
What if you ingest 10s of millions of rows a day, and need to conditional updates based on those 10s of millions of rows? Know your problem, then set things up
by btilly 6y ago
What if you ingest 10s of millions of rows a day, and need to conditional updates based on those 10s of millions of rows?
Know your problem, then set things up appropriately.
I was addressing someone whose problem looked like a reporting query about a consumer application that was affecting the responsiveness of their consumer application. For that case separate the transactional and reporting database and tune each appropriately. That means, for example, different numbers of connections, different memory per connection, different amounts of temporary table space, and so on.
The problem that you're describing is much like the one I'm currently facing, ingesting time series from a busy factory floor, then doing various kinds of analytics. For that case, you can simply use one database, optimize reasonably, tune appropriately for the workload, and set appropriate expectations on responsiveness.
In all these cases you don't need a distributed system. Not unless your requirements are a lot harsher than what has been described so far.