You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to add a sync feature where data can be synchronized between 2 databases on 2 hosts. The sync algorithm is kinda tricky but I made it on different PL so I can describe it's algorithm:
Set up and connect to 2 databases (master A and slave B).
Read only one metric from the 2 databases (reading one metric is quicker then reading whole database) on specified period to find out time arrays ("time holes" between A and B databases).
Here comes the tricky part. Need to find where the time array in A is found in time array from B and if not - sync only the missing data from A to B using the resulting time array. In Matlab ismember does the trick.
Transform resulting time array in to a short start-end pieces to read the data from A and write it to B using small amount of RAM.
profit :)
The text was updated successfully, but these errors were encountered:
It would be nice to add a sync feature where data can be synchronized between 2 databases on 2 hosts. The sync algorithm is kinda tricky but I made it on different PL so I can describe it's algorithm:
The text was updated successfully, but these errors were encountered: