12
返回列表 发新帖
楼主: chen33593541

[讨论] 求教DG的Pri与异地Standby之间传输加密思路

[复制链接]
论坛徽章:
0
11#
发表于 2015-8-27 21:01 | 只看该作者
前几天看了下DG相关的信息,其在网络上传递其实就是redo log,不是SQL,因此,如果加密要求不是很高的话,直接配DG就好了。

下流俘获(Downstream capture)其实是Oracle自己的底层技术,并不需要谁重新写一个LogMiner,或者解码redo log之类。因此,如果说安全方面,并不比Oracle更危险。对于一般企业而言,大概基本不会怀疑Oracle会对它的敏感数据感兴趣。


使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
12#
发表于 2015-8-27 22:16 | 只看该作者
> 网络上传递其实就是redo log,不是SQL

Data Guard includes a primary database and one or more standby databases. The standby can be either physical or logical. In case of logical, are you sure the data transmitted on the network is not SQL? You may have to restrict your statement to the data guard configuration where the standby is physical only.

使用道具 举报

回复
论坛徽章:
16
2009日食纪念
日期:2015-08-13 16:27:552011新春纪念徽章
日期:2015-08-13 16:27:552010广州亚运会纪念徽章:皮划艇
日期:2015-08-13 16:27:552010世博会纪念徽章
日期:2015-08-13 16:27:55ITPUB9周年纪念徽章
日期:2015-08-13 16:27:55ITPUB9周年纪念徽章
日期:2015-08-13 16:27:55数据库板块每日发贴之星
日期:2015-08-13 16:27:552010新春纪念徽章
日期:2015-08-13 16:27:55生肖徽章2007版:虎
日期:2015-08-13 16:27:55ITPUB8周年纪念徽章
日期:2015-08-13 16:27:55
13#
发表于 2015-8-28 02:36 | 只看该作者
Yong Huang 发表于 2015-8-27 22:16
> 网络上传递其实就是redo log,不是SQL

Data Guard includes a primary database and one or more stan ...

physical only。 right!

使用道具 举报

回复
论坛徽章:
0
14#
发表于 2015-8-28 10:18 | 只看该作者
Yong Huang 发表于 2015-8-27 22:16
> 网络上传递其实就是redo log,不是SQL

Data Guard includes a primary database and one or more stan ...

当然

http://docs.oracle.com/cd/E11882 ... /standby.htm#i50960
Logical Standby
A logical standby database is initially created as an identical copy of the primary database, but it later can be altered to have a different structure. The logical standby database is updated by executing SQL statements. This allows users to access the standby database for queries and reporting at any time. Thus, the logical standby database can be used concurrently for data protection and reporting operations.

Data Guard automatically applies information from the archived redo log file or standby redo log file to the logical standby database by transforming the data in the log files into SQL statements and then executing the SQL statements on the logical standby database. Because the logical standby database is updated using SQL statements, it must remain open. Although the logical standby database is opened in read/write mode, its target tables for the regenerated SQL are available only for read-only operations. While those tables are being updated, they can be used simultaneously for other tasks such as reporting, summations, and queries. Moreover, these tasks can be optimized by creating additional indexes and materialized views on the maintained tables.

A logical standby database has some restrictions on datatypes, types of tables, and types of DDL and DML operations. See Appendix C for information on data type and DDL support on logical standby databases.

Physical Standby
------------------------------
A physical standby database is an exact, block-for-block copy of a primary database. A physical standby is maintained as an exact copy through a process called Redo Apply, in which redo data received from a primary database is continuously applied to a physical standby database using the database recovery mechanisms.

两者的区别只是后面的应用:对于LS为SQL Apply,对于PS为:Redo Apply。前面在网络上传递的都是redo log。

顺便说下:AQ/Stream是DG的底层支撑

后面两个附件中表示的SYNC/ASYNC传输可以说明问题。

使用道具 举报

回复
论坛徽章:
0
15#
发表于 2015-8-28 10:19 | 只看该作者
DG SYNC/ASYNC传输原理附件

a.png (70.54 KB, 下载次数: 30)

a.png

b.png (83.78 KB, 下载次数: 20)

b.png

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
16#
发表于 2015-8-29 00:38 | 只看该作者
> 前面在网络上传递的都是redo log。

I guess you're right, because decoding raw redo into SQLs consumes CPU, a task better done on the standby. If I were the developer, I would definitely do this on the standby side. But it would be better to see the statement in an official document. What you quoted from documentation doesn't say that. The two images you posted are about sync vs. async, which is irrelevant to this discussion. Here we're talking about the location where redo is converted to SQLs.

使用道具 举报

回复
论坛徽章:
0
17#
发表于 2015-8-29 21:04 | 只看该作者
无语,呵呵

使用道具 举报

回复
论坛徽章:
1
ITPUB学员
日期:2011-05-04 17:44:51
18#
 楼主| 发表于 2015-9-1 10:45 | 只看该作者
本帖最后由 chen33593541 于 2015-9-1 13:37 编辑
Yong Huang 发表于 2015-8-29 00:38
> 前面在网络上传递的都是redo log。

I guess you're right, because decoding raw redo into SQLs cons ...
Guys, likely we don't need to buy lisence for "Network encryption" of "Oracle Advanced Security"  anymore, it started from Oracle 10g Release 2..

http://docs.oracle.com/cd/B19306 ... ptions.htm#DBLIC137

Oracle Advanced Security includes the following features:

Transparent Data Encryption (TDE) for columns
RMAN backup encryption
Network encryption (native network encryption and SSL/TLS) and strong authentication services (Kerberos, PKI, and RADIUS) are no longer part of Oracle Advanced Security and are available in all licensed editions of all supported releases of the Oracle database.

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
19#
发表于 2015-9-2 02:30 | 只看该作者
chen33593541,

Thanks for that info. I also checked 11g and 12c documentation. That statement ("Network encryption ... no longer part of Oracle Advanced Security") is in there too. Thanks.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表