




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、oracle? goldengatemysql installation and setup guideversion 10.4october 2009oracle? goldengate mysql installation and setup guide, version 10.4 copyright ? 1995, 2009 oracle and/or its affiliates. all rights reserved.this software and related documentation are provided under a license agreement cont
2、aining restrictions on use and disclosure and are protected by intellectual property laws. except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display a
3、ny part, in any form, or by any means. reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.the information contained herein is subject to change without notice and is not warranted to be error-free. if you find any errors, p
4、lease report them to us in writing.if this software or related documentation is delivered to the u.s. government or anyone licensing it on behalf of the u.s. government, the following notice is applicable:u.s. government rights programs, software, databases, and related documentation and technical d
5、ata delivered to u.s. government customers are commercial computer software or commercial technical data pursuant to the applicable federal acquisition regulation and agency-specific supplemental regulations. as such, the use, duplication, disclosure, modification, and adaptation shall be subject to
6、 the restrictions and license terms set forth in the applicable government contract, and, to the extent applicable by the terms of the government contract, the additional rights set forth in far 52.227-19, commercial computer software license (december 2007). oracle usa, inc., 500 oracle parkway, re
7、dwood city, ca 94065.this software is developed for general use in a variety of information management applications. it is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. if you use this software in danger
8、ous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. oracle corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.ora
9、cle is a registered trademark of oracle corporation and/or its affiliates. other names may be trademarks of their respective owners.this software and documentation may provide access to or information on content, products, and services from third parties. oracle corporation and its affiliates are no
10、t responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. oracle corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or se
11、rvices.1oracle? goldengate mysql installation and setup guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .contents. . . . . . . . . . . . . . . chapter 1system requirements and preinstallation instructions. . .
12、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3overview of goldengate for mysql . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3supported platforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3operating system requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3database requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5supported data types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5supported objects and operations. . . . . . . . . . . . . . . . .
15、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6non-supported objects and operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6supported and non-supported object names and case. . . . . . . . . . . . . . . .
16、. . . . . . . . . . . . . . . . . . 6object names and owners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6case sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17、 . . . . . . . . . . . . . . . . . . . . . 6supported characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6non-supported characters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18、. . . . . . . . . . . . . . . . . . . . 8chapter 2installing goldengate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9installation overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9new installations . . . . . . . . . . . . . . . . . . .
20、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9downloading goldengate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9setting library paths for dynamic builds on
21、unix systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10installing goldengate on linux and unix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11installing the goldengate files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22、 . . . . . . . . . . . . . . . . . . . . . . . . 11configuring manager and other processes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12installing goldengate on windows and windows cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12obtaining th
23、e microsoft redistributable package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12installing goldengate into a windows cluster. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12installing the goldengate files. . . . . . . . . . . . . . . . . . . . . .
24、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12specifying a custom manager name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13installing manager as a windows service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25、. . . . . . . . . . 13adding goldengate as a windows cluster resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14configuring manager and other processes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18contents2oracle? goldengate mysql installat
26、ion and setup guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .chapter 3uninstalling goldengate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27、 . . . . . . . . .19uninstalling goldengate from unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19uninstalling goldengate from windows (non-cluster) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19uninstalling golden
28、gate from windows cluster. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20appendix 1goldengate installed components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21goldengate programs and utilities. . .
29、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21goldengate subdirectories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23other goldengate files . . . . . . . . . .
30、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25goldengate checkpoint table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29index . . . . . . . . . . . . . . .
31、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .303oracle? goldengate mysql installation and setup guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .chapter 1system requirements and preinstallation instructions. . . . . . . . . . . . . . . overview of goldengate for mysqlgoldengate for mysql supports:replication to a mysql database from a source database of a differen
33、t type.extraction of records from mysql source tables to load the data into another database by using the goldengate direct load method.goldengate does not support the extraction of change data from a mysql source database.supported platformsmysql versions 4.0 and 4.1to find out which goldengate bui
34、lds are available for a specific combination of database version and operating system, go to http:/. a valid user name and password are required to enter this site.operating system requirementsdisk requirementsassign the following free disk space:?50 mb for the goldengate installation files. this in
35、cludes space for the compressed download file and space for the uncompressed files. you can delete the download file after the installation is complete.?40 mb for the working directories and binaries for each instance of goldengate that you are installing on the system. for example, to install two b
36、uilds of goldengate into two separate directories, allocate 80 mb of space.?additional disk space on any system that hosts goldengate trails, which contain the working data. the space that is consumed by the trails varies, depending on the volume of data that will be processed. a good starting point
37、 is 1 gb.?to install goldengate into a cluster environment, install the goldengate binaries and files on a shared file system that is available to all cluster nodes.system requirements and preinstallation instructionsoperating system requirements4oracle? goldengate mysql installation and setup guide
38、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .tcp/ipconfigure the system to use tcp/ip services, including dns.configure the network with the host names or ip addresses of all systems that will be host
39、ing goldengate processes and to which goldengate will be connecting. host names are easier to use.goldengate requires the following unreserved and unrestricted tcp/ip ports:?one port for communication between the manager process and other goldengate processes.?a range of ports for local goldengate c
40、ommunications: can be the default range starting at port 7840 or a customized range of up to 256 other ports.keep a record of the ports you assigned to goldengate. you will specify them with parameters when configuring the manager process.configure your firewalls to accept connections through the go
41、ldengate ports.if possible, grant unrestricted ftp access to goldengate for transfers of data, parameters, and reports between source and target systems. otherwise, provide for another transfer method. a secure transfer method is also required to resolve support cases.if possible, provide a connecti
42、on between your source and target systems and a site where files can be staged for transfer to and from the goldengate software ftp support site (ftp:/).operating system requirementsto install on windows, the user installing goldengate must log in as administrator.to install on unix, the user instal
43、ling goldengate must have read and write privileges on the goldengate installation directory.the goldengate processes require an operating system user that has privileges to read, write, and delete files and subdirectories in the goldengate directory. in addition, the user for the manager process re
44、quires privileges to control goldengate processes.it is recommended that these operating system users be dedicated to goldengate. sensitive information might be available to anyone running a goldengate process.third-party programsgoldengate fully supports virtual machine environments created with an
45、y virtualization software on any platform. when installing goldengate into a virtual machine environment, select a goldengate build that matches the database and the operating system of the virtual machine, not the host system.system requirements and preinstallation instructionsdatabase requirements
46、5oracle? goldengate mysql installation and setup guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .database requirementsdatabase configurationto preserve transaction boundaries for a mysql target, cre
47、ate or alter the target tables to use a transactional database engine such as innodb instead of the default myisam engine. myisam will cause replicat records to be applied as they are received, which does not guarantee transaction integrity even with auto-commit turned off. you cannot roll back a tr
48、ansaction with myisam.to bypass the mysql connection timeout, configure the following command in a sqlexec statement in the replicat parameter file.sqlexec select current_time(); every minuteswhere: is an interval after which you want replicat to reconnect.when using multi-daemon mysql, use the dbop
49、tions parameter with the host and connectionport options in the goldengate parameter files.database usercreate a database user that is dedicated to goldengate. it can be the same user for all of the goldengate processes that must connect to a database: ?extract (source database)?replicat (target dat
50、abase)?defgen (source or target database)to preserve the security of your data, and to monitor goldengate processing accurately, do not permit other users, applications, or processes to log on or operate as the goldengate database user.specify the user and password with the userid parameter in the g
51、oldengate parameter files.supported data typescharvarcharintdecimalfloatdoubletimedatetimedatetimestampbinarytinytexttinylobsystem requirements and preinstallation instructionssupported objects and operations6oracle? goldengate mysql installation and setup guide. . . . . . . . . . . . . . . . . . .
52、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .supported objects and operationsgoldengate supports dml operations on database tables.non-supported objects and operationsextraction or replication of ddl (data definition language) operationse
53、xtraction of transactional data changesthe batchsql feature of goldengatesupported and non-supported object names and casethe following will help you verify whether the name of a supported object type qualifies or disqualifies it for inclusion in a goldengate configuration.object names and ownerssou
54、rce and target object names must be fully qualified in goldengate parameter files, as in fin.emp. case sensitivityif a database is case-sensitive, goldengate supports the case sensitivity of database names, owner names, object names, column names, and user names. if a database is case-insensitive, o
55、r if it supports case-sensitivity but is configured to be case-insensitive, goldengate converts all names to upper case.to preserve case-sensitivitycase-sensitive names must be specified in goldengate parameter files exactly as they appear in the database. enclose case-sensitive names in double quot
56、es if the other database (the source or target of the case-sensitive objects) is not case-sensitive.if replicating from a case-insensitive database to a case-sensitive database, the source object names must be entered in the replicat map statements in upper case, to reflect the fact that they were w
57、ritten to the trail as uppercase by extract.for example:map sales.customer, target sales.account;supported charactersgoldengate supports alphanumeric characters in object names and the column names of key columns and non-key columns. goldengate also supports the following non-system requirements and
58、 preinstallation instructionssupported and non-supported object names and case7oracle? goldengate mysql installation and setup guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .alphanumeric characters
59、 in columns that are not being used by goldengate as a key.table 1supported non-alphanumeric characters in object names and non-key column names11the type of key that is being used by goldengate depends on the definition of a given table and whether there are any overrides by means of a keycols clau
60、se. goldengate will use a primary key, if available, or a unique key/index (selection is dependent on the database). in the absence of those definitions, all columns of the table are used, but a keycols clause overrides all ex-isting key types. for columns that are being used by goldengate as a key, the
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 乡村调解队伍的工作激励机制建设
- 学本课堂视角下的小学科学大单元教学设计研究
- 乡村振兴战略下农村电商发展路径的研究
- 数字乡村建设对农民共同富裕的影响与空间溢出
- 数智会计时代财会人员面临的新机遇与挑战
- 培养通信智能人才的策略及实施路径
- 精准服务基础教育发展的策略及实施路径
- 2024年河北省特岗教师招聘真题
- 2024年国家能源集团新疆哈密能源化工有限公司招聘真题
- 竹材资源的可持续管理与供应链保障
- 2021年新教材人教A版高中数学必修第一册第五章三角函数 教学课件
- 掘进机整机出厂检验报告
- 最新版中小学校服选用自查整改报告
- 《群落生态学》PPT课件(完整版)
- 旅行社的导游管理制度
- DB4201∕T 645-2021 房地产经纪服务规范
- 压铸件QC工程图
- pH 值对柠檬酸缓凝效果影响的研究
- 雨露计划职业教育补助学籍证明四川
- 705型试验台技术条件及说明书
- 天麻、猪苓种植技术教学大纲
评论
0/150
提交评论