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

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.

主站蜘蛛池模板: 合作市| 札达县| 霍州市| 望城县| 郑州市| 田东县| 洪雅县| 宜春市| 新昌县| 苍山县| 和林格尔县| 威海市| 乐平市| 班玛县| 诸暨市| 从化市| 吴桥县| 钟祥市| 偏关县| 泸溪县| 苗栗县| 湖口县| 潜江市| 永清县| 中江县| 客服| 永康市| 仁化县| 正安县| 河西区| 喀什市| 正定县| 滦南县| 云霄县| 夹江县| 洛扎县| 普格县| 芦山县| 沙坪坝区| 资溪县| 安陆市|