Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old January 23rd, 2003, 03:52 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
large vs. small tables

Hi, I am fairly new to mysql and was just curious about one thing. I am writing a program that allows users to register and it contains a lot of fields for personal info/address/phone number etc etc(about 14).

I wanted to know if it matter whether or not I create one large table or split it up into two tables. Any suggestions on how I should approach it? Thanx

Reply With Quote
  #2  
Old January 23rd, 2003, 04:28 PM
xs0 xs0 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Ljubljana, Slovenia
Posts: 760 xs0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: large vs. small tables

Well, it does somewhat matter - if you have large rows, it takes MySQL longer to read each of them, even if you only select some of the fields.

Depending on what exactly you want to do with the data, I'd put the often queried fields in one table (like login and password and user id), while storing the other information in a second table... But, it all depends...

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > large vs. small tables


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


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





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