-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating a PostgreSQL database #25
Comments
Sadly no. The Discogs project doesn't give deltas to be able to easily compute updates. |
However there are two type of changes between datadumps:
Because releaseids, artistids etc are sequential if you were only interested in -2 you could just say insert releases whose id is greater then the current id in the database , and so on for artists etc. If you were interested in -1 as well if you had the the previous dump files there could be the possibility to compare each record in one dump with another and only update (or insert delete) if different. So I think there is the possibility to do something |
I like the id idea, even if it introduces a higher complexity. |
There is also releases/artists removed or merged. |
When the records get removed or merged are they actually removed from the dump or just their status gets marked somehow?
|
Is there a mechanism in place for updating a PostgreSQL database from the latest XML dumps? I couldn't find anything other than what the README mentioned about MongoDB.
The text was updated successfully, but these errors were encountered: