If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > 32 bit Primary Key lengths - Any real benefits?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-06, 13:18
fbnewtz fbnewtz is offline
Registered User
 
Join Date: Aug 2006
Posts: 3
32 bit Primary Key lengths - Any real benefits?

I am looking through the SugarCRM database structure and they use 32 bit key lengths. Is that really necessary? Is there any real benefit you get from using such a long primary key?

Thanks,

Fred
Reply With Quote
  #2 (permalink)  
Old 09-29-06, 13:42
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
32 bits is the "stock" size of an integer on most machines today. It is the easiest datatype for most languages to handle.

-PatP
Reply With Quote
  #3 (permalink)  
Old 10-03-06, 14:03
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,797
Quote:
Originally Posted by Pat Phelan
is the easiest datatype for most languages to handle.
as well as most 32 bit processors.

In the future as data bus widths (and supporting languages) migrate to 64 bits, undoubtedly, 64 bits will become the easiest by default.
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Reply With Quote
  #4 (permalink)  
Old 10-10-06, 15:54
bogdanco bogdanco is offline
Registered User
 
Join Date: Oct 2006
Location: Romania
Posts: 8
The benefit is that you don't run out of numbers
Most updated programming languages have 64bit data types now
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On