Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!drn.maxwell.syr.edu!news.maxwell.syr.edu!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
From: joeserel@gmail.com
Newsgroups: comp.databases.theory
Subject: Re: DB Design of GMail: Multiple tables vs. one table?
Date: 3 Apr 2005 22:14:03 -0700
Organization: http://groups.google.com
Lines: 21
Message-ID: <1112591643.526102.222840@z14g2000cwz.googlegroups.com>
References: <1112387740.634841.173710@z14g2000cwz.googlegroups.com>
   <slrnd4tsc0.1cht.adamo+news@ithaca.dbnet.ece.ntua.gr>
   <1112568765.787565.118770@f14g2000cwb.googlegroups.com>
   <slrnd50ufs.1jfm.adamo+news@ithaca.dbnet.ece.ntua.gr>
NNTP-Posting-Host: 69.136.250.21
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1112591651 4068 127.0.0.1 (4 Apr 2005 05:14:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 4 Apr 2005 05:14:11 +0000 (UTC)
In-Reply-To: <slrnd50ufs.1jfm.adamo+news@ithaca.dbnet.ece.ntua.gr>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=69.136.250.21;
   posting-account=n9e-jQ0AAABzasGMm_HtA35V9Z4GMXdE
Xref: dp-news.maxwell.syr.edu comp.databases.theory:30407

I see your point.

I am indeed doing my homework right now. I am considering to build a
message swap system (a web app) so that my 2000 users will be able to
exchange messages with each other (actually NO email involved - the
only way they can send/read messages is through our web app. No open
protocol.). So, for me, it is simple: I am just building a web app
pretty much like a web mail system so my users can log in and send/read
messages to each other.

My problems are (1) I need to convert historic data to the new system.
The historical data are like 2000+ messages for each user.(2) The users
will use the system frequently so the scalability requirement is to be
able to efficiently access the mail box for 5000 messages/user.

So now you understand why I am so focused on that multiple table vs.
signle table choice ... I just thought by looking at DB design of  web
mail systems, I can make the right choice. I don't have a lot of large
scale DB experience: I don't know if it will be efficient to access a
10-million row table if we index on userId.

