General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
  #1  
Old December 4th, 2002, 03:12 PM
johnn johnn is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Southern California, USA
Posts: 48 johnn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Breaking a large table into small ones?

Hello DB experts,

I would like to know how many rows before people break a table containing large rows down to many horizontal tables you recommend? For examples, a phone company that covers entire U.S., do they use one table for the entire nation or one table for each state? Or The U.S. Social Security Department, do they use one table for entire population or one table for each state? Or do they break it down further like one table for each city?

Thanks,
John

Reply With Quote
  #2  
Old December 4th, 2002, 06:52 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
They would have to break it down, say by state, I dont know of a database that has a field type, with UNLIMITED characters, or rows, databases like mysql max out at 64345 rows or something like that,

correct me if im wrong tho

Reply With Quote
  #3  
Old December 4th, 2002, 09:09 PM
dgibson dgibson is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Urbana, MD, USA
Posts: 66 dgibson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Really, so low? I would say that you don't determine how many tables to use by the number of rows, but you would base the amount of normalization on how many rows and what ways the data might be looked up. For example, looking up people by state is faster if you are searching a foreign key corresponding to a state in a state table, rather than a text search for the state name or abbr.

Reply With Quote
  #4  
Old December 6th, 2002, 03:01 AM
johnn johnn is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Southern California, USA
Posts: 48 johnn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Well, I asked same question at other 2 forums, they say it depends on how size of each row, the larger the row, the less rows you have and vice versa. Size of a table max out at 2G or 4G depend on OS.
http://www.mysql.com/doc/en/Table_size.html

Last edited by johnn : December 6th, 2002 at 03:03 AM.

Reply With Quote
  #5  
Old December 8th, 2002, 11:16 AM
darkvalley darkvalley is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Netherland
Posts: 15 darkvalley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Correct me if I'm wrong but in my understanding there is sometimes a fixed set amount of rows that are returned when querying from php or asp.. At least with some type of db's

For example, Ms Access has a limit of 10.000 rows standard to be returned at all times. (No top10000 in the sql statement) You can change this setting higher but still strange if you don't know and you're stuck with 10.000 rows while there are more.

Apart from the database size in the rows versus depth discussion... the width of the line will speed up database performance but naturally the depth of the table will be lower..

Thus in response to johnn and the location on the website pointed out. (thx for that one... handy table) I would say that using a lot of relational tables or databases all linked will not only increase speed of your database but allow you to have greater depth.

By the way, does MySql supports OLAP designs?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > Breaking a large table into small ones?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway