比较和同步数据库架构。
如果需要同步数据库,那么需要在这一阶段要有所计划。
If you require the databases to be synchronized then you must plan for this process.
修理:同步数据库按钮,现在应该变成灰色。
这意味着文件系统作为同步数据库的底层支持是合情合理的。
This means that a file system would serve as a reasonable substrate for a synchronization database.
它使用了一种quorumcompletion算法来同步数据库信息。
It USES a quorum completion algorithm to synchronize database information.
它检测到更改您的模型并创建迁移文件,允许你同步数据库向前和向后。
It detects changes to your models and creates migration files that allow you to sync your database forward and backward.
您可以使用南。它检测到更改您的模型并创建迁移文件,允许你同步数据库向前和向后。
You can use south. It detects changes to your models and creates migration files that allow you to sync your database forward and backward.
在提交该表单时,将调用JSONservlet中的update函数并同步数据库。
Upon submitting the form, an update function in the JSON servlet is called and synchronizes the database accordingly.
第12.6节的场景,描述活动的物理备用数据库为读/写报告数据库,然后与主数据库重新同步数据库。
Section 12.6for a scenario that describes activating a physical standby database as a read/write reporting database, and then resynchronizing the database with the primary database.
通常情况下,在一个数据库表中修改数据要求与不同位置的其他类型的数据库保持数据同步。
Quite often, modifying data in one database table requires a data synchronization with other types of databases that are in different locations.
这些“源”表是我们要使无线数据与之同步的DB2服务器数据库上的表。
These "source" tables are the tables on the DB2 server database with which we synchronize our wireless data.
同步方法要求数据库软件与专门化的HA 软件紧密集成,以产生一个 HA集群。
The synchronous method involves tight integration of the database software with specialized HA software to produce a HA cluster.
现在我们已经准备就绪,可以从newstaff表导出数据,并同步捕获数据库锁快照了。
We are now ready to export the data from the NEWSTAFF table, and to simultaneously capture a database lock snapshot.
现在,让我们看一下数据库同步应用程序如何工作。
Now, let's watch the database synchronization application do its work.
例如,常见的可伸缩性问题,包括同步问题和数据库连接,直到负载测试的时候还没有表露。
For example, common scalability problems, including synchronization issues and database contention, do not surface until load tests.
此时,下面的代码将会运行,这将有效地在数据库中同步更改。
At this point, the following code will be run, which will effectively synchronize the change in our database.
完成场景的开发后,您需要在服务器上运行应用程序,以同步两个数据库之间的数据。
When you've finished developing the scenario, you'll run the application on the server to synchronize the data between the two databases.
让我们尝试使样本地址簿应用程序与源db2数据库同步。
Let's try synchronizing our sample address book application with the source DB2 database.
图1显示了移动客户机、同步服务器和源数据库之间的交互。
Figure 1 shows the interaction between the mobile client, the sync server, and the source database.
将应用程序与网络磁盘和数据库同步。
早期开发时,模式可能更改,您无需使映射文件与数据库保持同步。
You don't need to keep a mapping file in sync with your database during early development, when your schema might change.
保持数据库系统的同步。
以下各部分将描述构建数据库同步场景的步骤。
The following sections describe the steps to build the database synchronization scenario.
内嵌的本地数据库的同步API
为此,您可以向ABCFIN(我们希望保持ABCINS与之同步的数据库)中的CUSTOMER表添加行。
To do so, you can add a row to the CUSTOMER table in ABCFIN (which is the database with which we want to keep ABCINS in sync).
更早些时候,我们可以使用SyncFramework来同步非微软的数据库。
Even earlier, sync Framework could be used for synchronizing non-MS databases.
通过数据库镜像,减少了源数据库负载。(设备将对复制的镜像数据库进行同步,而不是直接对源数据库进行同步。)
It reduces the load on the source database through database mirroring (devices synchronize against a replicated mirror database instead of against the source database directly).
原因是这些更新操作都要求同步地写到数据库日志。
This is because these update operations require synchronous writing to the database log.
在此情况下,您需要将主要计算机上的数据库作为备用数据库启动,以便这两个数据库重新保持同步。
In this situation, you need to start the database on the primary machine as the standby to get the two databases back in sync again.
在备用计算机和主要计算机上的数据库成功启动后,您需要确保两个数据库处于同步状态。
After the databases on the standby and primary machines are started successfully, you need to ensure that both databases are in sync.
应用推荐