-01 towering building a stage, the primary foundation - Chapter 2 single architecture design and preparation work -2-8 incremental production environment with the full amount of iterations to explain the script

Here it is similar to the version control database


instance to add a user name


original point is yellow now appeared orange


save the current version of this

save prompt

clicked, the button will be synchronized

to look at the generated sql statement


click Sync, tips successful synchronization

within a database table. The new field. Revision field behind.

Compare any version

after version two clicks, you can see the contrast sql

synchronization settings. Field production environments using an incremental approach.

Way to rebuild the database


Delete the update time to do the test



click on the current version to synchronize. Since we chose the data table rebuilding mode, so the field has changed, it is to re-create the table.

The data in the current table in a temporary table, and then create a new table, and then query the data in the table into a temporary into a new table. Under the current table if the database is very large, the operation is very slow

which is incremental and full attention to the amount of setup issues.

End



 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/12028491.html