I am wondering the best way to create an ID for an online advertising site that 
I anticipate could have about a million products uploaded a day.

I had considered using create UUID I read the following from Christian Cantrell 

"If you want the convenience of generating your own primary key without the 
performance degradation of selecting from a table with a 35 character primary 
key, you can let your database create a normal auto-incrementing ID field as 
you normally would to use as your primary key, and insert a UUID at the same 
time. Then, just select the ID of the row that has the UUID that you just 
generated, and you are guaranteed (statistically) to have selected the right ID 
without having to use vendor specific SQL"

Now I am wondering if I should add the auto-incrementing ID or just use and 
auto- generated number concatenated with the a string representing the day, 
month and year of the transaction.

I'll appreciate any insight on this. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323384
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to