mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #7] Approaches for same server or not #140
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @webian on GitHub (May 15, 2016).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/7
Hi @jasdeepkhalsa,
I can't get the reason why you use 2 different approaches if the comparison is between same servers or different.
I mean this code in method getDiff of TableData:
Please, can you help me to understand?
@jasdeepkhalsa commented on GitHub (May 17, 2016):
If I have to guess the reason it's probably that when it's the same server and thus a local database, there are other clever optimizations that we do in order to make the diff super fast across millions of rows. I would doubt these optimizations would work if the database is a remote one.