Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Creating la...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 3981 of 4424
Post > Topic >>

Re: Creating large database of MD5 hash values

by dmagick@[EMAIL PROTECTED] (Chris) Apr 11, 2008 at 03:11 PM

> 1. Which datatype should I use to represent the hash value? UUIDs are
> also 16 bytes...

md5's are always 32 characters long so probably varchar(32).

> 2. Does it make sense to denormalize the hash set relation****ps?

The general rule is normalize as much as possible then only denormalize 
when absolutely necessary.

> 3. Should I index?

What sort of queries are you going to be running?

> 4. What other data structure options would it make sense for me to
choose?

What sort of other data will you be needing to store?

-- 
Postgresql & php tutorials
http://www.designmagick.com/

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 6 Posts in Topic:
Creating large database of MD5 hash values
jonathan.l.stewart@[EMAIL  2008-04-10 10:48:59 
Re: Creating large database of MD5 hash values
dmagick@[EMAIL PROTECTED]  2008-04-11 15:11:34 
Re: Creating large database of MD5 hash values
fweimer@[EMAIL PROTECTED]  2008-04-11 16:05:00 
Re: Creating large database of MD5 hash values
alvherre@[EMAIL PROTECTED  2008-04-11 10:25:44 
Re: Creating large database of MD5 hash values
jonathan.l.stewart@[EMAIL  2008-04-11 11:28:55 
Re: Creating large database of MD5 hash values
fweimer@[EMAIL PROTECTED]  2008-04-11 19:04:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 7:42:15 CST 2008.