oracle 11gogg,【OGG】Oracle GoldenGate 11g (二) GoldenGate 11g 单向同步配置 上

Oracle GoldenGate 11g (二)

GoldenGate 11g 单向同步配置 上

Item

Source System

Target System

Platform

RHEL6.4 - 64bit

RHEL6.4 - 64bit

Hostname

rhel64.oracle.com

ora11g.oracle.com

Database

Oracle 11.2.0.3

Oracle 11.2.0.3

Character Set

AL32UTF8

AL32UTF8

ORACLE_SID

PROD

EMREP

Listener Name/Port

LISTENER/1521

LISTENER/1521

Goldengate User

ogg

ogg

1.1Configure Oracle Database for

Goldengate

1.1.1Create Goldengate user

Create user ogg for both source system and

target system, and grant appropriate privileges.

为源库和目标库创建ogg用户并赋予相应权限。

1.1.1.1For Source System(PROD):

创建表空间;创建用户、赋予权限

[oracle@rhel101 ~]$ sqlplus / as sysdba

SYS@PROD>create tablespace tbs_gguser datafile

'/u01/app/oracle/oradata/PROD/gguser.dbf' size 50m

autoextend on;

SYS@PROD>create user ogg identified by ogg default

tablespace tbs_gguser

2  temporary tablespace TEMP quota unlimited on

tbs_gguser;

SYS@PROD>grant connect,resource to ogg;

SYS@PROD>grant alter session to ogg;

SYS@PROD>grant select any table,select any dictionary,alter any table to ogg;

SYS@PROD>grant

flashback any table to ogg;

SYS@PROD>grant

execute on dbms_flashback to ogg;

Create test table for Source System:

为源库创建测试表、插入数据、创建主键约束

SYS@PROD>conn scott/tiger

SCOTT@PROD>create table ggtab as select * from emp;

SCOTT@PROD>alter table ggtab add constraint

pk_ggtab_empno primary key(empno);

SCOTT@PROD>select * from ggtab;

1.1.1.2 For Target System(EMREP):

创建表空间;创建用户、赋予权限

[oracle@rhel102 ~]$ sqlplus / as sysdba

SYS@EMREP>create tablespace tbs_gguser datafile

2  '/u01/app/oracle/oradata/EMREP/gguser.dbf'

size 50m autoextend on;

SYS@EMREP>create user ogg identified by ogg default

tablespace tbs_gguser

2  temporary tablespace TEMP quota unlimited on

tbs_gguser;

SYS@EMREP>grant connect,resource to ogg;

SYS@EMREP>grant alter session to ogg;

SYS@EMREP>grant select any dictionary, select any table

to ogg;

SYS@EMREP>grant

update any table,delete any table,insert any table to ogg;

Create empty test table

SYS@EMREP>conn scott/tiger

SCOTT@EMREP>create table ggtab as select * from emp where

1=2;

SCOTT@EMREP>alter table ggtab add constraint pk_ggtab_empno

primary key(empno);

1.1.2Enable supplemental log mode in source system

Check that supplemental log mode is enabled

by following query:

SYS@PROD>select supplemental_log_data_min from

v$database;

SUPPLEME

--------

NO

If not, enable it:

SYS@PROD>alter database add supplemental log data;

SYS@PROD>alter system switch logfile;

SYS@PROD>select supplemental_log_data_min from

v$database;

be89c6f42376ebd7d5233a8b29ecba46.png

1.1.3Enable archive log mode in source system

Enable archive log mode:

[oracle@rhel101 ~]$ mkdir /u01/app/oracle/arch

[oracle@rhel101 ~]$ls -ld /u01/app/oracle/arch

f3ee91ba73a731ff742108d06b3a84de.png

SYS@PROD>alter system set

log_archive_dest_1='location=/u01/app/oracle/arch';

SYS@PROD>shutdown immediate;

SYS@PROD>startup mount;

SYS@PROD>alter database archivelog;

SYS@PROD>alter database open;

SYS@PROD>alter system archive log current;

SYS@PROD>archive log list;

293effdce6c15857f8aabec7fec7d287.png

1.1.4Enable force logging mode in source system

Enable force logging mode:           in case of "no

logging" operations

SYS@PROD>alter database

force logging;

SYS@PROD>select force_logging

from v$database;

296a9c749eeedb6c4a8c21a5f5addc55.png

1.1.5Enable transaction data change capture for test table in Source

system

GGSCI (rhel101.oracle.com) 11> dblogin userid

ogg,password ogg

Successfully logged into database.

GGSCI (rhel101.oracle.com) 12> add trandata scott.ggtab

Logging of supplemental redo data enabled

for table SCOTT.GGTAB.

GGSCI (rhel101.oracle.com) 13> info trandata

scott.ggtab

Logging of supplemental redo log data is

enabled for table SCOTT.GGTAB.

Columns supplementally logged for table

SCOTT.GGTAB: EMPNO.

1.2Configure Goldengate Manager

Process

1.2.1Configure MGR in source system

Create the Manager parameter file.

[oracle@rhel101 11.2.1]$ ggsci

GGSCI (rhel101.oracle.com) 1> edit params mgr

Use the editor to assign a port.此端口号对应 对端的pump配置端口号

PORT 7809

PURGEOLDEXTRACTS ./dirdat,

USECHECKPOINTS

Start the Manager

GGSCI

(rhel101.oracle.com) 2>start mgr

Verify that the Manager has started.

GGSCI

(rhel101.oracle.com) 3>info mgr

Manager

is running (IP port rhel101.oracle.com.7809).

1.2.2Configure MGR in target system

Create the Manager parameter file.

GGSCI (rhel102.oracle.com) 5> edit params mgr

PORT 7809

PURGEOLDEXTRACTS /u01/app/oracle/ggs/11.2.1/dirdat,

USECHECKPOINTS

Start the Manager.

GGSCI (rhel102.oracle.com) 6> start mgr

GGSCI (rhel102.oracle.com) 7> info mgr

Manager is running (IP port

rhel102.oracle.com.7809).

GGSCI (rhel102.oracle.com) 2> start mgr

Verify that the Manager has started.

GGSCI (rhel102.oracle.com) 3> info mgr

Manager is running (IP port rhel102.oracle.com.7809).

1.3Load Initial Data by Direct

Load method

1.3.1Configure Extract process in source system

Add an Extract process called EINI_1:

GGSCI (rhel101.oracle.com) 2> add extract

eini_1,sourceistable

EXTRACT added.

GGSCI (rhel101.oracle.com) 3> info extract

*,tasks

EXTRACT

EINI_1    Initialized   2017-01-05 09:25   Status STOPPED

Checkpoint Lag       Not Available

Log Read Checkpoint  Not Available

First Record         Record 0

Task                 SOURCEISTABLE

Edit EINI_1:

GGSCI (rhel101.oracle.com) 6> edit params eini_1

Add:

-- GoldenGate Initial Data Capture

-- for scott.ggtab

EXTRACT EINI_1

SETENV (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

USERID ogg, PASSWORD ogg

RMTHOST rhel102.oracle.com, MGRPORT

7809

RMTTASK REPLICAT, GROUP RINI_1

TABLE scott.ggtab;

For chinese support, we should set

environment variable “NLS_LANG” in Extract/Pump/Replicat process parameters.

1.3.2Configure replicat process in target systemrini_1

Add initial load delivery process

GGSCI (rhel102.oracle.com) 4> add replicat rini_1,specialrun

REPLICAT added

GGSCI (rhel102.oracle.com) 4> info replicat *,tasks

REPLICAT   RINI_1    Initialized   2017-01-05 09:30   Status STOPPED

Checkpoint Lag

00:00:00 (updated 00:00:22 ago)

Log Read Checkpoint

Not Available

Task

SPECIALRUN

Edit initial load delivery process RINI_1:.

GGSCI (rhel102.oracle.com) 6> edit params rini_1

Add:

-- GoldenGate Initial Load Delivery

REPLICAT RINI_1

SETENV

(NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

ASSUMETARGETDEFS

USERID ogg, PASSWORD ogg

DISCARDFILE ./dirrpt/RINIaa.dsc,

PURGE

MAP scott.*, TARGET scott.*;

Note: In the MAP statement, the first

owner/schema is for the source and the second for the target.

1.3.3Accomplish Initial Load

Start Initial Load process EINI_1 insource system, then RINI_1 process

in target system will be started automatically:

GGSCI (rhel101.oracle.com) 6> start extract

eini_1

Sending START request to MANAGER ...

EXTRACT EINI_1 starting

GGSCI (rhel101.oracle.com) 7> info extract eini_1

EXTRACT

EINI_1    Initialized   2017-01-05 09:25   Status RUNNING

Checkpoint Lag       Not Available

Log Read Checkpoint  Not Available

First Record         Record 0

Task                 SOURCEISTABLE

1.3.4Verify Initial Load result and process status

GGSCI (rhel101.oracle.com) 11> view report

eini_1

2017-01-05 09:35:06  INFO

OGG-01017  Wildcard resolution

set to IMMEDIATE because SOURCEISTABLE is used.

***********************************************************************

Oracle GoldenGate Capture

for Oracle

Version 11.2.1.0.3 14400833

OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258_FBO

Linux, x64, 64bit (optimized), Oracle 11g on Aug 23 2012 20:32:12

Copyright (C) 1995, 2012, Oracle and/or

its affiliates. All rights reserved.

Starting at 2017-01-05

09:35:06

***********************************************************************

Operating System Version:

Linux

Version #1 SMP Tue Jan 29 11:47:41 EST

2013, Release 2.6.32-358.el6.x86_64

Node: rhel101.oracle.com

Machine: x86_64

soft limit   hard limit

Address Space Size   :

unlimited    unlimited

Heap Size            :    unlimited    unlimited

File Size            :    unlimited    unlimited

CPU Time             :    unlimited    unlimited

Process id: 6727

Description:

***********************************************************************

**            Running with the following parameters                  **

***********************************************************************

2017-01-05 09:35:06  INFO

OGG-03035  Operating system

character set identified as UTF-8. Locale: en_US, LC_ALL:.

EXTRACT EINI_1

SETENV (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

Set environment variable

(NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

USERID ogg, PASSWORD ***

RMTHOST rhel102.oracle.com, MGRPORT 7809

RMTTASK REPLICAT, GROUP RINI_1

TABLE scott.ggtab;

Using the following key columns for

source table SCOTT.GGTAB: EMPNO.

2017-01-05 09:35:07  INFO

OGG-01815  Virtual Memory

Facilities for: COM

anon alloc: mmap(MAP_ANON)  anon

free: munmap

file alloc: mmap(MAP_SHARED)

file free: munmap

target directories:

/u01/app/oracle/ggs/11.2.1/dirtmp.

CACHEMGR virtual memory values (may have

been adjusted)

CACHESIZE:                               64G

CACHEPAGEOUTSIZE (normal):                8M

PROCESS VM AVAIL FROM OS (min):         128G

CACHESIZEMAX (strict force to disk):     96G

Database Version:

Oracle Database 11g Enterprise Edition

Release 11.2.0.3.0 - 64bit Production

PL/SQL Release 11.2.0.3.0 - Production

CORE

11.2.0.3.0      Production

TNS for Linux: Version 11.2.0.3.0 -

Production

NLSRTL Version 11.2.0.3.0 - Production

Database Language and Character Set:

NLS_LANG         =

"AMERICAN_AMERICA.AL32UTF8"

NLS_LANGUAGE     = "AMERICAN"

NLS_TERRITORY    = "AMERICA"

NLS_CHARACTERSET = "AL32UTF8"

Processing table SCOTT.GGTAB

***********************************************************************

*                   ** Run Time Statistics

**                         *

***********************************************************************

Report at 2017-01-05 09:35:19 (activity

since 2017-01-05 09:35:07)

Output to RINI_1:

From Table SCOTT.GGTAB:

#                   inserts:        14

#

updates:         0

#

deletes:         0

#

discards:         0

REDO Log Statistics

Bytes parsed

0

Bytes output

2588

You can also verify the results in

target system:

GGSCI (rhel102.oracle.com) 11> view report

rini_1

***********************************************************************

Oracle GoldenGate Delivery for

Oracle

Version 11.2.1.0.3 14400833

OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258_FBO

Linux, x64, 64bit (optimized), Oracle 11g on Aug 23 2012 20:37:31

Copyright (C) 1995, 2012, Oracle

and/or its affiliates. All rights reserved.

Starting at 2017-01-05

09:34:48

***********************************************************************

Operating System Version:

Linux

Version #1 SMP Tue Jan 29 11:47:41

EST 2013, Release 2.6.32-358.el6.x86_64

Node: rhel102.oracle.com

Machine: x86_64

soft limit   hard limit

Address Space Size   :

unlimited    unlimited

Heap Size            :    unlimited    unlimited

File Size            :    unlimited    unlimited

CPU Time             :    unlimited    unlimited

Process id: 6466

Description:

***********************************************************************

**            Running with the following

parameters                  **

***********************************************************************

2017-01-05 09:34:53  INFO

OGG-03035  Operating system

character set identified as UTF-8. Locale: en_US, LC_ALL:.

REPLICAT RINI_1

SETENV

(NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

Set environment variable

(NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

ASSUMETARGETDEFS

USERID ogg, PASSWORD ***

DISCARDFILE ./dirrpt/RINIaa.dsc,

PURGE

MAP scott.*, TARGET scott.*;

2017-01-05 09:34:55  INFO

OGG-01815  Virtual Memory

Facilities for: COM

anon alloc: mmap(MAP_ANON)  anon

free: munmap

file alloc: mmap(MAP_SHARED)

file free: munmap

target directories:

/u01/app/oracle/ggs/11.2.1/dirtmp.

CACHEMGR virtual memory values

(may have been adjusted)

CACHESIZE:                                2G

CACHEPAGEOUTSIZE (normal):                8M

PROCESS VM AVAIL FROM OS

(min):           4G

CACHESIZEMAX (strict force to

disk):   3.41G

Database Version:

Oracle Database 11g Enterprise

Edition Release 11.2.0.3.0 - 64bit Production

PL/SQL Release 11.2.0.3.0 -

Production

CORE    11.2.0.3.0      Production

TNS for Linux: Version 11.2.0.3.0

- Production

NLSRTL Version 11.2.0.3.0 -

Production

Database Language and Character

Set:

NLS_LANG         =

"AMERICAN_AMERICA.AL32UTF8"

NLS_LANGUAGE     = "AMERICAN"

NLS_TERRITORY    = "AMERICA"

NLS_CHARACTERSET =

"AL32UTF8"

***********************************************************************

**                     Run Time Messages                             **

***********************************************************************

Wildcard MAP resolved (entry

scott.*):

MAP "SCOTT"."GGTAB", TARGET

scott."GGTAB";

Using following columns in default

map by name:

EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO

Using the following key columns

for target table SCOTT.GGTAB: EMPNO.

***********************************************************************

*                   ** Run Time Statistics

**                         *

***********************************************************************

Report at 2017-01-05 09:35:05

(activity since 2017-01-05 09:35:00)

From Table SCOTT.GGTAB to

SCOTT.GGTAB:

#                   inserts:        14

#                   updates:         0

#                   deletes:         0

#                  discards:         0

。。。。。。

Check the initial data has been

transferred to Target system:

SCOTT@EMREP>select * from

ggtab;

6e243d091c079db5ee820c08fa4b2c31.png

1.3.5Check process status

After initial load, extract process

EINI_1 and replicat process RINI_1 stop automatically.

Source system:

GGSCI (rhel101.oracle.com) 12> info extract

eini_1

EXTRACT    EINI_1

Last Started 2017-01-05 09:35

Status STOPPED

Checkpoint Lag       Not Available

Log Read Checkpoint  Table SCOTT.GGTAB

2017-01-05 09:35:14  Record 14

Task                 SOURCEISTABLE

Target System:

GGSCI (rhel102.oracle.com) 12> info replicat

rini_1

REPLICAT   RINI_1

Initialized   2017-01-05

09:30   Status STOPPED

Checkpoint Lag       00:00:00 (updated 00:16:12 ago)

Log Read Checkpoint  Not Available

Task                 SPECIALRUN

1.3.6Solution for Error

a3f16141a03bab0603c90b85c70cf3d1.png

eini_1

parameter  should put the parent table

first,for example:

EXTRACT EINI_1

SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)

USERID ogg, PASSWORD ogg

RMTHOST lvxingaho2, MGRPORT 7809

RMTTASK REPLICAT, GROUP RINI_1

TABLE scott.dept;

TABLE scott.emp;

1.4Configure Extract Process in

Source system

1.4.1Edit extract process parametereora_1

GGSCI (rhel101.oracle.com) 15> edit

params eora_1

Add:

-- Change Capture parameter file to capture ggtbs changes

EXTRACT EORA_1

SETENV (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

USERID ogg, PASSWORD ogg

EXTTRAIL ./dirdat/la

TABLE scott.ggtbs;

Please note that “la” is prefix for

local trail file.

GGSCI (rhel101.oracle.com) 69> view params

eora_1

88c915787453467fb7027251100df247.png

Execute the following commands in

source system to add Primary Extract group.

GGSCI (rhel101.oracle.com) 16> add extract eora_1,tranlog,begin now

EXTRACT added.

1.4.2Define GoldenGate local trail

GGSCI (rhel101.oracle.com) 17> ADD EXTTRAIL ./dirdat/la, EXTRACT EORA_1, MEGABYTES 5

EXTTRAIL added.

1.4.3Start primary Extract process

GGSCI (rhel101.oracle.com) 18> start extract eora_1

Sending START request to MANAGER ...

EXTRACT EORA_1 starting

Verify extract process is running or

not:

GGSCI (rhel101.oracle.com) 19> info extract

eora_1

EXTRACT    EORA_1

Last Started 2017-01-05 10:00   Status

RUNNING

Checkpoint Lag       00:00:00 (updated 00:00:08 ago)

Log Read Checkpoint  Oracle Redo Logs

2017-01-05 10:00:27  Seqno 8, RBA 13643776

SCN 0.1111409 (1111409)

GGSCI (rhel101.oracle.com) 20> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING

EXTRACT     RUNNING     EORA_1      00:00:00      00:00:00

Now Goldengate will generate local

tail file “aa000000”under

dirdat in Source system:

[oracle@rhel101 ~]$ ll

/u01/app/oracle/ggs/11.2.1/dirdat/

total 4

-rw-rw-rw- 1 oracle oinstall 1059

Jan  5 10:00 la000000

1cd00714265ce26772a13ecc72b28292.png

1.5Configure pump process in Source

system

1.5.1Edit data pump process parameterpora_1

GGSCI (rhel101.oracle.com) 20> edit params pora_1

Add:

-- Data Pump parameter file to read the local trail of scott.ggtbs

changes

EXTRACT PORA_1

SETENV

(NLS_LANG=AMERICAN_AMERICA.AL32UTF8)

PASSTHRU

RMTHOST rhel102.oracle.com, MGRPORT

7809

RMTTRAIL ./dirdat/ra

TABLE scott.ggtab;

Please note that “ra” is prefix for remote

trail file.

c863a346ed6036eb2d6554a78761d482.png

Add data pump Extract group

GGSCI (rhel101.oracle.com) 21> add

extract pora_1,exttrailsource ./dirdat/la

EXTRACT added.

Verify results:

GGSCI (rhel101.oracle.com) 26> info extract

pora_1

EXTRACT    PORA_1

Last Started 2017-01-05 10:05

Status STOPED

Checkpoint Lag       00:00:00 (updated 00:01:20 ago)

Log Read Checkpoint  File ./dirdat/la000000

First Record  RBA 0

1.5.2Add GoldenGate remote trail in Source system

GGSCI (rhel101.oracle.com) 24> add rmttrail ./dirdat/ra,extract pora_1,megabytes 5

RMTTRAIL added.

Start data pump process:

GGSCI (rhel101.oracle.com)

25> start

extract pora_1

Sending

START request to MANAGER ...

EXTRACT

PORA_1 starting

GGSCI

(rhel101.oracle.com) 35>info extract pora_1

EXTRACT    PORA_1

Last Started 2017-01-05 10:11

Status RUNNING

Checkpoint

Lag       00:00:00 (updated 00:00:04 ago)

Log Read

Checkpoint  File ./dirdat/la000000

First Record  RBA 1059

GGSCI

(rhel101.oracle.com) 36> info all

Program     Status

Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING

EXTRACT     RUNNING

EORA_1      00:00:00      00:00:08

EXTRACT     RUNNING

PORA_1      00:00:00      00:00:06

Now Goldengate will generate remote

tail file “ra000000”under dirdat in Target system:

[oracle@rhel102 ~]$ ll

/u01/app/oracle/ggs/11.2.1/dirdat/

total 0

-rw-rw-rw- 1 oracle oinstall 0

Jan  5 10:11 ra000000

f4ad2515425e182500ecb5d15dd21e4a.png

吕星昊

2017年11月20日

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/394913.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Centos7-卸载自带的jdk 安装jdk8

卸载JDK Centos7一般都会带有自己的openjdk,我们一般都回用oracle的jdk,所以要卸载 步骤一:查询系统是否以安装jdk #rpm -qa|grep java 或 #rpm -qa|grep jdk 或 #rpm -qa|grep gcj 步骤二:卸载已安装的jdk #rpm -e --nodeps java-1.8.0-openjdk…

iOS开发UIScrollView的底层实现

起始 做开发也有一段时间了,经历了第一次完成项目的激动,也经历了天天调用系统的API的枯燥,于是就有了探索底层实现的想法。 关于scrollView的思考 在iOS开发中我们会大量用到scrollView这个控件,我们使用的tableView/collectionv…

oracle查看登录时间黑屏,oracle 11g默认用户名、密码解锁 以及安装后重启黑屏问题.doc...

oracle 11g默认用户名、密码解锁 以及安装后重启黑屏问题.doc还剩3页未读,继续阅读下载文档到电脑,马上远离加班熬夜!亲,喜欢就下载吧,价低环保!内容要点:遇的同学,参考一下解决办法…

第六十二节,html分组元素

html分组元素 学习要点: 1.分组元素总汇 2.分组元素解析 本章主要探讨HTML5中分组元素的用法。所谓分组,就是用来组织相关内容的HTML5元素,清晰有效的进行归类。 一.分组元素总汇 为了页面的排版需要,HTML5提供了几种语…

WebSocket 实战--转

原文地址:http://www.ibm.com/developerworks/cn/java/j-lo-WebSocket/ WebSocket 前世今生 众所周知,Web 应用的交互过程通常是客户端通过浏览器发出一个请求,服务器端接收请求后进行处理并返回结果给客户端,客户端浏览器将信息呈…

mongodb 安装、启动

MongoDB 之 你得知道MongoDB是个什么鬼 MongoDB - 1 最近有太多的同学向我提起MongoDB,想要学习MongoDB,还不知道MongoDB到底是什么鬼,或者说,知道是数据库,知道是文件型数据库,但是不知道怎么来用 那么好,所谓千呼万唤始出来,现在我就拉给你们看: 一.初识MongoDB 之 什么东西都…

[转载]PSCAD调用MATLAB/SIMULINK之接口元件设计

原文地址:PSCAD调用MATLAB/SIMULINK之接口元件设计作者:luckyhappier1)接口元件 接口元件包括Graphics,Parameters和Script。注意:变量要与DSDYN要一致(PSCAD根据变量名区别变量)。 2)Circuit 定…

oracle数字类型ef映射,Entity Framework 学习中级篇5—使EF支持Oracle9i - ♂风车车.Net - 博客园...

从Code MSDN上下载下来的EFOracleProvider不支持Oracle9i.但是,目前我所使用的还是Oracle9i。为此,对EFOracleProvider修改了以下,以便使其支持Oracle9i.下面说说具体修改地方.(红色部分为添加或修改的代码部分)一,修改EFOracleProvider1,修改EFOraclePr…

Oracle 数据库之最:你见过最高的 SQL Version 是多少?

Oracle数据库中执行的SQL,很多时候会因为种种原因产生多个不同的执行版本,一个游标的版本过多很容易引起数据库的性能问题,甚至故障。 有时候一个SQL的版本数量可能多达数万个,以下是我之前在"云和恩墨大讲堂”分享过的一个案…

C 怎么读取Cpp文件_opencv从yaml文件中读取矩阵(c++)

PS:由于我是新手,因此记录的比较罗里吧嗦,本文也属于一个没有任何技术的编程积累。在SLAM系统中,经常需要从配置文件中读取参数文件,读取整型,浮点型都是比较常见的操作,在读取矩阵卡了一下,记录…

3.SFB标准版前端安装

SFB服务器准备部分:1.修改服务器名称,sfb加入域,用域管理员账户登录2.配置服务器IP地址,DNS3.安装Windows组件Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Server, Web-Static-Content,…

向spark standalone集群提交任务

文档链接 #切换到spark安装目录,执行下面一条命令,192.168.0.10是master的ip, examples/src/main/python/pi.py 是python 文件的路径 ./bin/spark-submit --master spark://192.168.0.106:7077 examples/src/main/python/pi.py任务已经执行完毕,耗时10秒 转载于:https://www.c…

python excelwriter保存路径_Python和Excel 终于可以互通了!!

点击“开发者技术前线”,选择“星标🔝”在看|星标|留言, 真爱作者:小天真_5eed 链接:https://www.jianshu.com/p/6ecf414f3372今天为大家分享一篇使用python将大量数据导出到Excel中的技巧心得,可以让Python和Excel…

MySQL 导出数据

2019独角兽企业重金招聘Python工程师标准>>> 1、导出整个数据库 mysqldump -u 用户名 -p 数据库名 > 存放位置比如: mysqldump -u root -p project > c:/a.sql 2.导出一个表的结构,并且带表中的数据 mysqldump -u 用户名 -p 数据库名 …

单片机STM8S测量电压电路_单片机电路设计中的10个难点

单片机是嵌入式系统的核心元件,使用单片机的电路要复杂得多,但在更改和添加新功能时,带有单片机的电路更加容易实现,这也正是电器设备使用单片机的原因。那么在单片机电路的设计中需要注意的难点有哪些?嵌入式ARM开发 …

oracle ebs 数据源,Oracle EBS环境下查找数据源(Form篇)

关于在Oracle EBS环境下如何查找数据源的文章几年前就已经开始整理,但是其中关于OAF方面的一直没有整理,导致这份文档一直残缺不全,有很多次同事都向我索要相关文档都未能如愿以偿,新的一届培训工作再次启动,为了自己也…

linux 实用指令

通过init 来制定/切换不同的运行指令 查看linux 系统下,电脑的运行级别 vim /etc/inittab 如何找回丢失的root密码? 进入到单用户模式,然后修改root密码 进入到单用户模式,root不需要密码也可以登录 如果开机就是init 0 办法&…

chrome控制台如何把vw显示成px_【CSS】rem,em,px的区别和使用场景

前端潮咖点击上面蓝字,关注我们!关注关注前端潮咖,每日精选好文作者:大前端小菜鸟来源:cnblogs.com/hyns/p/12380944.html作rem布局原理深度理解(以及em/vw/vh)一、前言我们h5项目终端适配采用的是淘宝那套《Flexible实…

php7对象转换成数组,php 如何把对象转换成数组对象

php把对象转换成数组对象的方法:首先打开相应的PHP代码文件;然后通过“function array_to_object($arr){...}”方法把对象转换成数组即可。本文操作环境:windows7系统、PHP7.1版,DELL G3电脑php-对象(object) 与 数组(array) 的转…

建模:建模清单

ylbtech-建模:建模清单1.返回顶部 2.返回顶部3.返回顶部4.返回顶部5.返回顶部 6.返回顶部作者:ylbtech出处:http://ylbtech.cnblogs.com/本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明&#xf…