search
HomeDatabaseMysql TutorialGolden Gate 与 Oracle DataGuard的区别

转 http://blog.csdn.net/miyatang/article/details/8573485 Golden Gate 与 Oracle DataGuard 的区别 项 目 GoldenGate TDM Oracle DataGuard( 物理 ) Oracle DataGuard( 逻辑 ) 基本原理 抽取在线日志中的数据变化,转换为 GGS 自定义的数据式存放在本地队

转 http://blog.csdn.net/miyatang/article/details/8573485

                                                                                                                  Golden Gate 与 Oracle DataGuard的区别

 项           目            

GoldenGate TDM

Oracle DataGuard(物理)

Oracle DataGuard(逻辑)

基本原理

抽取在线日志中的数据变化,转换为GGS自定义的数据格式存放在本地队列或远端队列中。

复制归档日志(9i

抽取归档日志中数据的变化(9i

复制归档日志或在线日志(10g

抽取归档日志或在线日志中数据的变化(10g

系统整体性能

两端数据库是活动的,备份端可以提供实时的数据查询及报表业务等,从而提高系统整体的业务处理能力,充分利用备份端的计算能力,提升系统整体业务处理性能。可以实现两端数据的同时写入。

备份端处于恢复或只读状态,在只读状态下不能同时进行恢复。只读状态只能短时间内存在,对外提供查询也是短时间的。

两端数据库是活动的,备份端可以提供实时的数据查询及报表业务等,但不能两端都有数据写入。

接管时间

可实现立即接管

数据库工作在mount状态下,如果要接管业务,数据库要到open状态.接管时间不定。

在最大性能模式下需等待日志应用完毕然后改变数据库模式完成切换,如果是只传输归档日志接管时间更长。

复制方式

GoldenGate可以提供秒一级的大量数据实时捕捉和投递,异步复制方式,无法实现同步复制。

物理standby数据库与主数据库同步是利用oracle的恢复机制实现的,无法实现同步复制。

可以实现日志同步和异步传输,但日志同步复制时主数据库必须等待本事务成功写到standby数据库端才能进行下面的事务,为此主数据库的性能会受到严重影响,很少采用。日志应用9i只能应用归档日志,10g开始可以实现实时应用。

资源占用

GoldenGate TDM对主机资源的占用非常小,根据实际的监控数据,源端CPU占用不超过1%,内存占用不超过2%,对I/O资源占用微乎其微。

复制是靠数据库的LGWR进程或ARCN进程完成的,占用数据库的一部份资源,对数据库有较大的影响,使数据性能下降。

复制是靠数据库的LGWR进程或ARCN进程完成的,占用数据库的一部份资源,对数据库有较大的影响,使数据性能下降。

异构数据库支持

可以在不同类型和版本的数据库之间进行数据复制。如ORACLEDB2SYBASESQL SERVERINFORMIXTeradata等。

单一数据库解决方案,仅运行在ORACLE数据库上。

单一数据库解决方案,仅运行在ORACLE数据库上。

适用于不同操作系统如windowslinuxunixaix

源端和目标端操作系统必须相同,版本号可以不同。

源端和目标端操作系统必须相同,版本号可以不同。

带宽占用

利用TCP/IP传输数据变化,集成数据压缩,提供可达到91压缩比的数据压缩特性,可以有效的利用网络带宽。

使用Oracle Net传输日志,Oracle Net握手协议多,数据冗余大,速度慢且无数据压缩。

使用Oracle Net传输日志,Oracle Net握手协议多,数据冗余大,速度慢且无数据压缩。

带宽占用低。

带宽占用高。

带宽占用高。

拓扑结构

GoldenGate TDM可以实现一对一、一对多、多对一、双向复制等多种灵活的拓扑结构,它可以实现数据的分发和集中以及对等复制,非常灵活。

只可以实现一对多模式,standby数据库最多为9个。

只可以实现一对多模式,standby数据库最多为9

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
When should you use a composite index versus multiple single-column indexes?When should you use a composite index versus multiple single-column indexes?Apr 11, 2025 am 12:06 AM

In database optimization, indexing strategies should be selected according to query requirements: 1. When the query involves multiple columns and the order of conditions is fixed, use composite indexes; 2. When the query involves multiple columns but the order of conditions is not fixed, use multiple single-column indexes. Composite indexes are suitable for optimizing multi-column queries, while single-column indexes are suitable for single-column queries.

How to identify and optimize slow queries in MySQL? (slow query log, performance_schema)How to identify and optimize slow queries in MySQL? (slow query log, performance_schema)Apr 10, 2025 am 09:36 AM

To optimize MySQL slow query, slowquerylog and performance_schema need to be used: 1. Enable slowquerylog and set thresholds to record slow query; 2. Use performance_schema to analyze query execution details, find out performance bottlenecks and optimize.

MySQL and SQL: Essential Skills for DevelopersMySQL and SQL: Essential Skills for DevelopersApr 10, 2025 am 09:30 AM

MySQL and SQL are essential skills for developers. 1.MySQL is an open source relational database management system, and SQL is the standard language used to manage and operate databases. 2.MySQL supports multiple storage engines through efficient data storage and retrieval functions, and SQL completes complex data operations through simple statements. 3. Examples of usage include basic queries and advanced queries, such as filtering and sorting by condition. 4. Common errors include syntax errors and performance issues, which can be optimized by checking SQL statements and using EXPLAIN commands. 5. Performance optimization techniques include using indexes, avoiding full table scanning, optimizing JOIN operations and improving code readability.

Describe MySQL asynchronous master-slave replication process.Describe MySQL asynchronous master-slave replication process.Apr 10, 2025 am 09:30 AM

MySQL asynchronous master-slave replication enables data synchronization through binlog, improving read performance and high availability. 1) The master server record changes to binlog; 2) The slave server reads binlog through I/O threads; 3) The server SQL thread applies binlog to synchronize data.

MySQL: Simple Concepts for Easy LearningMySQL: Simple Concepts for Easy LearningApr 10, 2025 am 09:29 AM

MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

MySQL: A User-Friendly Introduction to DatabasesMySQL: A User-Friendly Introduction to DatabasesApr 10, 2025 am 09:27 AM

The installation and basic operations of MySQL include: 1. Download and install MySQL, set the root user password; 2. Use SQL commands to create databases and tables, such as CREATEDATABASE and CREATETABLE; 3. Execute CRUD operations, use INSERT, SELECT, UPDATE, DELETE commands; 4. Create indexes and stored procedures to optimize performance and implement complex logic. With these steps, you can build and manage MySQL databases from scratch.

How does the InnoDB Buffer Pool work and why is it crucial for performance?How does the InnoDB Buffer Pool work and why is it crucial for performance?Apr 09, 2025 am 12:12 AM

InnoDBBufferPool improves the performance of MySQL databases by loading data and index pages into memory. 1) The data page is loaded into the BufferPool to reduce disk I/O. 2) Dirty pages are marked and refreshed to disk regularly. 3) LRU algorithm management data page elimination. 4) The read-out mechanism loads the possible data pages in advance.

MySQL: The Ease of Data Management for BeginnersMySQL: The Ease of Data Management for BeginnersApr 09, 2025 am 12:07 AM

MySQL is suitable for beginners because it is simple to install, powerful and easy to manage data. 1. Simple installation and configuration, suitable for a variety of operating systems. 2. Support basic operations such as creating databases and tables, inserting, querying, updating and deleting data. 3. Provide advanced functions such as JOIN operations and subqueries. 4. Performance can be improved through indexing, query optimization and table partitioning. 5. Support backup, recovery and security measures to ensure data security and consistency.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.