I think you should implement feature of using multiple database servers - for example, 1st server stores data for users 1-10000, 2nd server - 10001-20000, and so on.
I believe that having table which can potentially grow up to 10000000000 rows is not very good idea )
What about InnoDB/MyISAM - please see [URL=“http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html,”] http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html,[/URL] it has very detailed information about MySQL storage engines. But imho InnoDB will be better for you, as it has row-based locking, and so row updates won’t lock the whole table for writing.
Having one table per user will bring you into filedescriptortrouble:-)
That’s right, but keeping one table for all users will bring them into slow queries due to extremely big table. 10000 millions of rows is too huge table…
It looks like “sharding” will be the only way to cope with “millions of millions”. I have found an interesting website dedicated to these problems: [URL=“http://highscalability.com/”]http://highscalability.com/[/URL]
It looks like “sharding” will be the only way to cope with “millions of millions”. I have found an interesting website dedicated to these problems: [URL=“http://highscalability.com/”]http://highscalability.com/[/URL]