Sort:  

Great work, @arcange!

Few advices that could help.

  1. Read-only replicas could offload a great portion of read requests and greatly reduce locks. Master node should only write and send WALs to replicas, so, no locks there essentially. And replcas could be cheaper or even community-maintained.
  2. Most of the queries are probably made againt last week data, so I would expand by building a separate nodes containing only a portion of data. Ideal solution - JSON handlers on fully RAM cache. For example, storing data from last week would require 7*80MB=560MB or RAM.
  3. With main DWH you could consider Yandex Clickhouse solution. It's free and it could serve as stream write + read cluster from-the-box and do it fast.

My upvotes, @bronevik.

@bronevikm, Please apologize for my late reply

Thanks for your comment and suggestions.They are really interesting and I will analyse them in deep.

I knew there was a reason you have my witness vote :-)

Thank you for all of this, I am amazed at some of the stats you provided

I was also surprised when checking the stats. Would I have expected such numbers, not sure i would have launchec such a project.
Anyway, it's quite challenging and I like that.
Thank for you trust and witness support!

Definitely worth of a witness vote.

Thanks! 🙇

Great stuff, thank you very much for this @arcange :)

The data and number of SteemSQL users is going up and up!


As an aside, I had a look online for a force WITH (NOLOCK) setup for the DBA, but cannot see anything obvious.

I do always try to remember to add it to each select.

Cheers!

Thank you so much for providing this valuable service.

Wait, that was quick. Please confirm if I understood this announcement correctly, we can now query SteemSQL? It's now up? I was expecting it to be down for 7 more hours based on the announcement.

SteemSQL will be under maintenance and unavailable from 2017-11-23 22:00 UTC until 2017-11-24 22:00 UTC.

If it's already up, then this is great news!

Yep. It was faster than expected. Enjoy!

congratulation

Wowhowhooo @oroger, have you seen this ? :) We can't stop @arcange !