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 > Database Server Software > MySQL > MySQL Cluster and Auto Increment Primary Keys

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-07, 10:15
xbox xbox is offline
Registered User
 
Join Date: Apr 2007
Posts: 1
MySQL Cluster and Auto Increment Primary Keys

I have most my tables using autoincrement as a primary keys. In mysql cluster can you have autoincrement as a primary keys for the tables?
Reply With Quote
  #2 (permalink)  
Old 04-20-07, 11:10
aschk aschk is offline
Registered User
 
Join Date: Mar 2007
Location: 636f6d7075746572
Posts: 770
I don't see why not. Would certainly make it difficult to use MySQL Cluster if primary autoincrement key were NOT available...
I personally don't have any experience with MySQL Cluster but I would be surprised if it wasn't implemented.
Reply With Quote
  #3 (permalink)  
Old 05-08-07, 01:33
stewartsmith stewartsmith is offline
Registered User
 
Join Date: May 2007
Posts: 1
Yes, MySQL Cluster fully supports auto_increment columns. We also prefetch auto_increment numbers for each MySQL Server connected to the cluster to increase performance.
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