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

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.

主站蜘蛛池模板: 靖西县| 五指山市| 柳河县| 桂平市| 托克逊县| 锦州市| 宁阳县| 新津县| 大理市| 屯门区| 东丽区| 营口市| 营口市| 克东县| 抚宁县| 石河子市| 牟定县| 双流县| 荃湾区| 玉溪市| 白银市| 本溪市| 威远县| 利津县| 将乐县| 那曲县| 佛冈县| 乐清市| 深水埗区| 柳州市| 兴城市| 革吉县| 奉化市| 行唐县| 县级市| 嘉义市| 松江区| 玉田县| 大连市| 澄城县| 开平市|