官术网_书友最值得收藏!

Preparation for the configuration

Now it's time to get our hands dirty in the process of creating a logical standby database. First we'll start preparing the primary database for the configuration. Then we'll convert a physical standby database into a logical standby database. This is the method of creating logical standby Data Guard configuration.

Note

You can use the physical standby database that we created together in Chapter 2, Configuring Oracle Data Guard Physical Standby Database for this purpose. However, we'll need a physical standby in the following chapters to study on. So, it would be better to create a separate physical standby database with one of the mentioned methods to use in the logical standby configuration.

There are some prerequisites that we need to complete before starting the configuration. One of them is checking the primary database for specifying any tables that will be skipped by SQL Apply because of the unsupported data types. It doesn't make sense to build a configuration where you're not sure which objects will and will not be replicated.

The other important control is ensuring the objects that will be replicated and maintained by SQL Apply are uniquely identified. As the logical standby is actually a standalone database, synchronizing it with SQL statements might result in ROWIDs being different on primary and standby databases. Thus, primary ROWID cannot be used to identify the corresponding row in the logical standby database. SQL Apply needs another unique identifier to apply changes, which are the primary keys, non-null unique-constraint/index, or all columns of bounded size, respectively depending on their existence.

主站蜘蛛池模板: 紫金县| 从江县| 白玉县| 茶陵县| 天津市| 扶余县| 齐河县| 扬中市| 胶州市| 岳西县| 瑞丽市| 崇左市| 潮州市| 越西县| 武清区| 石景山区| 金平| 石台县| 怀柔区| 靖西县| 万年县| 崇左市| 清新县| 鄂伦春自治旗| 余江县| 临朐县| 巴南区| 拜城县| 丽水市| 周宁县| 泗洪县| 秦皇岛市| 涟水县| 阿尔山市| 西乌珠穆沁旗| 浦江县| 萍乡市| 连城县| 壶关县| 凭祥市| 锡林浩特市|