2011-12-14 6 views
0

各ユーザーができる同期リモートDBの後に最新の値を表示するには?

* look at the current row with the latest updates 
* look at the history of changes made to a row 
* look at the username who made the change 
* look at the time the change was made 

複数のリモート(ローカルではない&同じではないドメイン)のdbの(SSCE)があり、問題は、これらの2台のマシン上でのウィンドウの時間を同期する方法がないです!私は、サーバーの時間を取得するために、サーバーに依存することはできません任意のヘルプが

のp/sのマシンが散発的にオンラインで高く評価され、これは一般的に十分な問題が、私の検索で来ている何

です確信しています

答えて

0

* at the time of sync recv, get the n/w time using sntp 
* using the above time and the timestamps recvd, map the source timestamps to the local timestamp to figure out the latest changes 

はこれが誰か

に役立つことを願うのrecv端に送信者

* use a sntp client to get the network time at the time of sync start 
* send this n/w time along with the local time with the changes 

に答え

を探してここに訪問するかもしれない人のためのソリューションです

0

サーバーはどうですか?なぜサーバーの時間ではなく、コンピュータの時間に基づいて保存しないでください。このようにして、時間は同じになるでしょう。ここ

+0

現在のところサーバーはありませんが、導入される可能性はありますが、時折/時々接続される可能性もあります接続が利用可能であることが保証されていない – Kumar

関連する問題