Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Maintaining uniqueness across millions of items

by Gilimanjaro (Hermit)
on Aug 13, 2004 at 13:41 UTC ( #382666=note: print w/replies, xml ) Need Help??

in reply to Maintaining uniqueness across millions of items

First of all, you're talking about 600 million pieces of information, which amounts to 'large amounts of data' and databases are intented to maintain 'large amounts of data', so I'd recommend a database backend.

Second of all, how do you generate the id's? If it can be sequential, 6 digits (0-9+A-Z) would give you over three times the number of id's you'd need.

So I guess it depends on what other criteria the id's need to adhere to. Let us know; we're dying to find out... :)
  • Comment on Re: Maintaining uniqueness across millions of items

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://382666]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2016-10-22 14:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (295 votes). Check out past polls.