Locking DB w/ Large Reads (Ruby-on-Rails/Heroku)

Posted by Splashlin on Stack Overflow See other posts from Stack Overflow or by Splashlin
Published on 2010-06-07T23:19:55Z Indexed on 2010/06/07 23:22 UTC
Read the original article Hit count: 175

Currently I have a Web API running on Heroku that is constantly writing information we're collecting from other data sources (currently theres about half a GB of data and it's growing very quickly). We're looking to add a reporting system on top of the current database that we can use to extract useful information out of the DB. The problem is that when we're running reports we're locking the DB and any other sites communicating with the DB are timing out. Does anyone have any solutions on how to solve this type of issue? Amazon RDS seems to have some interesting stuff with database replication but I don't know if that will solve my problems.

Any advice would be greatly appreciated.

Thanks

© Stack Overflow or respective owner

Related posts about mysql

Related posts about ruby-on-rails