Choosing a Replica Size and Database