| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: efficient compare
Andersen wrote:
> Bob Badour wrote:
>
>> If B has a very outdated database, simply copy A over B. This assumes >> the data is sufficiently outdated that one can discard any changes to >> B that were never reflected in A. If B has not been around, simply >> copy A over B. Otherwise, have each send the other its logs from the >> last sync forward.
I don't see how you are going to get log(N).
Consider A & B are equal each with 65535 tuples. Insert a tuple into A at the beginning of the sort order. Insert a tuple into B at the end of the sort order.
None of your subdivided sets are going to give matching checksums except in error until you get down to individual tuples. Received on Sat Apr 22 2006 - 19:43:16 CDT
![]() |
![]() |