[development] Why do we avoid auto-incrementing db columns?

David Strauss david at fourkitchens.com
Wed Apr 25 14:22:26 UTC 2007


Separate counters are far more standard. MySQL is weird by having
auto-increment columns but not counters.

Now, there are a few things we could do to speed up Drupal's mechanism
for emulating counters in MySQL...

Barry Jaspan wrote:
> Could someone either clue me in or point to a prior discussion about
> why Drupal avoids using auto-incrementing database columns?  If it is
> database compatibility, which versions of which databases that we
> support do not have it?
> 
> Thanks,
> 
> Barry
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/development/attachments/20070425/971d60d6/attachment.pgp 


More information about the development mailing list