If you find it difficult to scale up databases, try looking at CouchDB instead http://couchdb.apache.org/index.html
I also tried to read about in the first chapter of the upcoming CouchDB book, but it only contains vague generalizations like "Erlang makes you scalable automatically" or "it is built on the same technology (HTTP) as the web which is proved to be scalable".
I am still not convinced.