Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-07-13 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (250 votes), past polls