|
Yong Huang 发表于 2015-8-27 22:16 ![]()
> 网络上传递其实就是redo log,不是SQL
Data Guard includes a primary database and one or more stan ...
当然
http://docs.oracle.com/cd/E11882 ... /standby.htm#i50960
Logical Standby
A logical standby database is initially created as an identical copy of the primary database, but it later can be altered to have a different structure. The logical standby database is updated by executing SQL statements. This allows users to access the standby database for queries and reporting at any time. Thus, the logical standby database can be used concurrently for data protection and reporting operations.
Data Guard automatically applies information from the archived redo log file or standby redo log file to the logical standby database by transforming the data in the log files into SQL statements and then executing the SQL statements on the logical standby database. Because the logical standby database is updated using SQL statements, it must remain open. Although the logical standby database is opened in read/write mode, its target tables for the regenerated SQL are available only for read-only operations. While those tables are being updated, they can be used simultaneously for other tasks such as reporting, summations, and queries. Moreover, these tasks can be optimized by creating additional indexes and materialized views on the maintained tables.
A logical standby database has some restrictions on datatypes, types of tables, and types of DDL and DML operations. See Appendix C for information on data type and DDL support on logical standby databases.
Physical Standby
------------------------------
A physical standby database is an exact, block-for-block copy of a primary database. A physical standby is maintained as an exact copy through a process called Redo Apply, in which redo data received from a primary database is continuously applied to a physical standby database using the database recovery mechanisms.
两者的区别只是后面的应用:对于LS为SQL Apply,对于PS为:Redo Apply。前面在网络上传递的都是redo log。
顺便说下:AQ/Stream是DG的底层支撑
后面两个附件中表示的SYNC/ASYNC传输可以说明问题。
|
|