Enabling table-level supplemental logging【每日一译】--20130105
来源:互联网 发布:象棋软件排名 编辑:程序博客网 时间:2024/05/24 03:38
for use by Oracle GoldenGate. The command you will issue, ADD TRANDATA, also
provides a COLS option to log non-key columns for use in a KEYCOLS clause or for
filtering or manipulation.
执行以下步骤去允许表级别的主键值附加日志对于使用OGG来说。输入命令ADD TRANDATA,
也可以提供一个COLS选项去产生非主键列日志对于使用KEYCOLS语句或者是过滤和操作之用。
1. Run GGSCI on the source system.
2. Issue the DBLOGIN command as a user that has privilege to enable table-level
supplemental logging.
DBLOGIN USERID user, PASSWORD password [encryption options]
See the Oracle GoldenGate Windows and UNIX Reference Guide for password
encryption options for DBLOGIN.
3. Issue the ADD TRANDATA command.
ADD TRANDATA table [, COLS columns] [, NOKEY]
Where:
1.在源系统上运行GGSCI命令
2.输入DBLOGIN命令,使用一个含 有允许表级别附加日志权限的用户。
3.输入ADD TRANDATA命令
■ table is the owner and name of the table. You can use a wildcard for the table
name, but not the owner name.
■ COLS columns logs non-key columns that are required for a KEYCOLS clause or
for filtering and manipulation.
■ NOKEY prevents the logging of the primary key or unique key. Requires a
KEYCOLS clause in the TABLE and MAP parameters and a COLS clause in the ADD
TRANDATA command to log the KEYCOLS columns.
#TABLE是表的所属人和名字。对于表名你可以使用通配符,但不能针对属人的名字使用。
#COLS列产生非主键列的日志,要求非主键列需要一个KEYCOLS语句或者针对于过滤和操作语句。
#NOKEY阻塞主键或者唯一键的日志。它要求在TABLE和MAP参数中使用KEYCOLS语句和对于产生日志的
KEYCOLS列的ADD TRANDATA命令时使用COLS语句。
4. If using ADD TRANDATA with the COLS option, create a unique index for those
columns on the target to optimize row retrieval. If you are logging those columns
as a substitute key for a KEYCOLS clause, make a note to add the KEYCOLS clause to
the TABLE and MAP statements when you configure the Oracle GoldenGate
processes.
4.如果在COLS选项中你使用了ADD TRANDATA命令,对于这些目标列创建一个唯一索引去优化行的检索。
如果对于这些列产生的日志使用KEYCOLS语句替换。当你配置OGG进程时对于TABLE和MAP语句添加
KEYCOLS语句作一个记录。
- Enabling table-level supplemental logging【每日一译】--20130105
- Supplemental Logging
- Inside Oracle supplemental logging
- Supplemental Logging介绍
- oracle 开启supplemental logging
- 深入认识Oracle Supplemental logging
- 深入认识Oracle Supplemental logging
- 深入认识Oracle Supplemental logging
- 深入认识Oracle Supplemental logging
- Table Compression【每日一译】--20121124
- Using Table Compression【每日一译】--20121125
- External Table Restrictions【每日一译】--1227
- Logging for Guaranteed Restore Points With Flashback Logging Disabled【每日一译】--20121121
- HBase Table Enabling issue
- Oracle 补充日志(Supplemental Logging)说明
- Main Note - Oracle GoldenGate - Supplemental Logging
- EXTERNAL TABLE The Access Driver【每日一译】--20121130
- About Logging for Flashback Database and Guaranteed Restore Points【每日一译】--20121120
- 「翻译」C# 中的高性能计时器(Daniel Strigl著,野比译)
- VC 为程序创建快捷方式的详细讲解
- 努力工作-好好学习 2012-01-05
- 微软软件开发技术二十年回顾-COM、OLE、ActiveX及COM+篇
- 自己写的一个小函数,可以加载一张网络图片。
- Enabling table-level supplemental logging【每日一译】--20130105
- UITextField 键盘
- 流程控制Linux Shell
- windows占用端口情况
- 怎样获取jsp页面跳转参数
- hibernate之映射关系一对一(2种方式)
- Struts2 Annotation的<param-name>actionPackages</param-name>讲解
- send成功但是数据还在Send-Q中
- IOS 6.0 下 在输入中文时 按下锁屏键 导致的闪退问题