Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 musing on the Monastery: (9)
As of 2014-10-31 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (215 votes), past polls