Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Multi VS One Database for Rails App Based on Treebook

I am working on a rails app which is largely based on the social functions in Treebook application used in the Ruby tutorials. Would adding it to another database add a lot of load? I would be adding it to a parts db with a lot of data.

1 Answer

Define a lot of data.. Raw MySQL queries can execute upwards of 5,000 queries per second (depending on the query) on my laptop. Odds are, unless you have a use case that would require multiple databases, it's best to stick with one.