http://www.perlmonks.org?node_id=752863


in reply to Re^3: PSQL and many queries
in thread PSQL and many queries

No values are required for lookup purposes. And the length of the keys makes surprisingly little difference to the size of the hash.

For example: For a hash with 11,881,376 keys:

So if I have 11,881,376 keys with an average key size of say 250 bytes it would only be 2.3 GB? Same with 400 bytes? Or 500 bytes?

Jason L. Froebe

Blog, Tech Blog

Replies are listed 'Best First'.
Re^5: PSQL and many queries
by BrowserUk (Patriarch) on Mar 24, 2009 at 14:00 UTC