Re: Patch: add timing of buffer I/O requests - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Patch: add timing of buffer I/O requests
Date
Msg-id CAM-w4HPP+E7U=3CwSHao+Sv5237ngztx50-dD2r9UzTA-c7cEw@mail.gmail.com
Whole thread Raw
In response to Re: Patch: add timing of buffer I/O requests  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Patch: add timing of buffer I/O requests  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Patch: add timing of buffer I/O requests  (Peter Geoghegan <peter@2ndquadrant.com>)
List pgsql-hackers
On Fri, Apr 13, 2012 at 8:15 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> That's probably true, but I'm not sure it's worth worrying about -
> one-in-four-billion is a pretty small probability.

Is this not subject to the birthday paradox? If you have a given hash
you're worried about a collision with then you have a
one-in-four-billion chance. But if you have a collection of hashes and
you're worried about any collisions then it only takes about 64k
before there's likely a collision.

-- 
greg


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Command counter increment vs updating an active snapshot
Next
From: Tom Lane
Date:
Subject: Re: Patch: add timing of buffer I/O requests