views:

30

answers:

0

Hi,

I'm looking to know how to calculate shipping cost for sending pages to remote sites of a distributed database. The explanation I have is:

"Tuples are shipped in units of one page by waiting for a page to be filled before sending a message from processor i to processor j"

If it helps, each processor have 100 buffer pages of 4000 bytes each, and each relation contains 20 bytes tuples. There are 10 processors.

How do I calculate the cost of shipping? Is there a general algorithm or formula? Do I need any more information than that? I do have other details such as pages per relations and the repartition, but I'm looking for a generic way to do things.

Thank you, any help is appreciated.