Alex Rivera | Logout

Can you recommend a database that scales horizontally?

Asked 2008-09-03T21:32:49.010
13

Generally the database server is the biggest, most expensive box we have to buy as scaling vertically is the only option. Are there any databases that scale well horizontally (i.e. across multiple commodity machines) and what are the limitations in this approach?

Edit
Report

3 Answers

2

Oracle RAC is the Rolls Royce of databases allowing extra hardware nodes to be added relatively easily and hardware failover.

However, your commodity hardware costs will be dwarfed by the licence costs.

Why dod you feel you need horizontal scaling. A multi CPU core server with 40GB RAM and SAN storage can support very sizeable DB installation.

Can you provide any sizing and expected activity information to allow better understanding of your problem?

answered 2008-09-03T22:05:58.137
2

If you do go down the RAC route it's worth remembering that it doesnt scale horizontally forever. Even the sales guys admit 90% of rac customers are 4 nodes or less. Once you go more than that you get diminishing returns. So rac may work for you, but it's not guaranteed to be the answer.

answered 2008-12-02T16:27:05.910
2

MySQL: http://www.mysql.com/why-mysql/scaleout.html

Limitations are that it works best with read-mostly workloads. You typically have one 'master' that receives all the writes, and many 'slaves' that replicate the writes. Then you distribute the reads over all the databases.

MySQL replication is asynchronous, so you will probably have to deal with time lag problems (you write to the master, and then read from a slave before the write has been replicated).

answered 2008-12-02T16:58:13.210

Your Answer