Oracle RAC 到单机 OGG 配置测试_rac ogg-程序员宅基地

技术标签: RAC  OGG  

1.     测试环境:

源端:

OS:Centos 6.8

数据库:11.2.0.4 

实例: rac1 rac2 rac3

Goldengate:fbo_ggs_Linux_x64_shiphome.zip

Rac与单实例不同之处在于rac上的goldengate 需要安装在共享存储上

目的端:

OS:Centos 6.8

数据库:11.2.0.4  

实例:test


2.     源端配置步骤

1) 配置ACFS,

具体的可参考:http://blog.csdn.net/shiyu1157758655/article/details/62215468

这里就直接用asmca 进行创建(也可以用命令进行操作)

[root@rac1 ~]# su - grid

+ASM1:/home/grid@rac1>export DISPLAY=192.168.180.186:0.0

+ASM1:/home/grid@rac1>asmca

卷创建完成后,为该卷创建ACFS文件系统,点击ASM Cluster File System:

 

 

 

 

至此ACFS就创建完了

在各个节点查看是否挂载上:

将下载好的ogg安装包上传到刚才建立的/ogg 共享磁盘下

注意这里我们将以oracle用户安装(之前测试用grid安装,遇到P进程起不来,也没找到好的方法解决)

rac1:/ogg@rac1>unzip fbo_ggs_Linux_x64_shiphome.zip

rac1:/home/oracle@rac1>cd /ogg/

rac1:/ogg@rac1>cd fbo_ggs_Linux_x64_shiphome/Disk1/

rac1:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1@rac1>exportDISPLAY=192.168.180.186:0.0

rac1:/ogg/fbo_ggs_Linux_x64_shiphome/Disk1@rac1>./runInstaller

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 28177 MB    Passed

Checking swapspace: must be greater than 150 MB.  Actual 3258 MB    Passed

Checking monitor: must be configuredto display at least 256 colors.    Actual16777216    Passed

Preparing to launch Oracle Universal Installer from/tmp/OraInstall2017-03-12_12-59-46PM. Please wait ...

安装好以后,进入ogg安装目录执行:ggsci

rac1:/ogg@rac1>cd /ogg/install/

rac1:/ogg/install@rac1>./ggsci

 

OracleGoldenGate Command Interpreter for Oracle

Version12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO

Linux,x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38

Operatingsystem character set identified as UTF-8.

 

Copyright(C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.

 

 

GGSCI (rac1) 1>

注意这里一定配置: LD_LIBRARY_PATH,否则会报以下的错误:

/ggsci ./ggsci: error while loading shared libraries: libnnz11.so:cannot open shared object file: No such file or directory

只要在.bash_profile 里设置LD_LIBRARY_PATH就行了,如下:

exportLD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32/:/usr/lib:/usr/lib64:/usr/local/lib:/lib:/lib64

 

3)开启DB归档以及最小附加日志(在其中任意一个节点上执行就可以了)

rac1:/home/oracle@rac1>sqlplus/ as sysdba

 

SQL*Plus:Release 11.2.0.4.0 Production on Sat Mar 11 09:01:31 2017

 

Copyright(c) 1982, 2013, Oracle.  All rightsreserved.

 

 

Connectedto:

OracleDatabase 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With thePartitioning, Real Application Clusters, Automatic Storage Management, OLAP,

DataMining and Real Application Testing options

 

SQL>archive log list;

Databaselog mode       Archive Mode

Automaticarchival         Enabled

Archivedestination        +FRA_ARC

Oldestonline log sequence     85

Next logsequence to archive   86

Currentlog sequence             86

SQL>select force_logging from v$database;

 

FOR

---

NO

 

SQL>select supplemental_log_data_min from v$database;

 

SUPPLEME

--------

NO

 

 

 

SQL>alter database force logging;

 

Databasealtered.

 

SQL>alter database add supplemental log data;

 

Databasealtered.

 

SQL>select force_logging from v$database;

 

FOR

---

YES

 

SQL>select supplemental_log_data_min from v$database;

 

SUPPLEME

--------

YES

 

SQL>select log_mode,supplemental_log_data_min,force_logging from v$database;

 

LOG_MODE     SUPPLEME FOR

-------------------- ---

ARCHIVELOG   YES      YES

注意:关于开启归档,请参考:http://blog.csdn.net/shiyu1157758655/article/details/55095760

SQL> altersystem set enable_goldengate_replication = true scope=both;

System altered.

 

注意:这里要重启数据库,使参数生效

 

4) 创建表空间以及用户(在其中任意一个节点上执行)

rac1:/home/oracle@rac1>sqlplus/ as sysdba

 

SQL*Plus:Release 11.2.0.4.0 Production on Sat Mar 11 09:18:58 2017

 

Copyright(c) 1982, 2013, Oracle.  All rightsreserved.

 

 

Connectedto:

OracleDatabase 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With thePartitioning, Real Application Clusters, Automatic Storage Management, OLAP,

DataMining and Real Application Testing options

 

SQL>create tablespace ogg;

 

Tablespacecreated.

 

SQL>create user ogg identified by ogg default tablespace ogg;

 

Usercreated.

 

SQL>grant connect,resource,dba to ogg;

 

Grantsucceeded.

 

SQL> grant execute on utl_file to ogg;

 

Grant succeeded.

 

SQL>  execdbms_streams_auth.grant_admin_privilege('ogg');

 

PL/SQL procedure successfully completed.

 

SQL> grant insert on system.logmnr_restart_ckpt$ to ogg;

 

Grant succeeded.

 

SQL> grant update on sys.streams$_capture_process to ogg;

 

Grant succeeded.

 

SQL>  grant becomeuser to ogg;

 

Grant succeeded.

SQL> grant flashback any table to ogg;

 

Grant succeeded.

注意:红色标记的可以不用执行,

5)配置TNS(各节点都要执行)

 

RAC =

 (DESCRIPTION =

   (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))

   (CONNECT_DATA =

     (SERVER = DEDICATED)

     (SERVICE_NAME = rac)

   )

 )

 

ASM =

 (DESCRIPTION =

   (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.180.2)(PORT = 1521))

   (CONNECT_DATA =

     (SERVER = DEDICATED)

     (SERVICE_NAME = +ASM)

     (SID_NAME = +ASM1)

   )

  )

6)安装ddl同步支持

rac1:/home/oracle@rac1>cd /ogg/install/     --进入ogg安装目录

rac1:/ogg/install@rac1>sqlplus/ as sysdba

 

SQL*Plus:Release 11.2.0.4.0 Production on Sun Mar 12 08:56:20 2017

 

Copyright(c) 1982, 2013, Oracle.  All rightsreserved.

 

 

Connectedto:

OracleDatabase 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With thePartitioning, Real Application Clusters, Automatic Storage Management, OLAP,

DataMining and Real Application Testing options

 

SQL> @marker_setup  --该脚本用于创建DDL的marker表GGS_MARKER,用于存储DDL信息,该表只进行insert操作

 

Markersetup script

 

You willbe prompted for the name of a schema for the Oracle GoldenGate databaseobjects.

NOTE: Theschema must be created prior to running this script.

NOTE:Stop all DDL replication before starting this installation.

 

EnterOracle GoldenGate schema name:ogg

 

 

Markersetup table script complete, running verification script...

Pleaseenter the name of a schema for the GoldenGate database objects:

Settingschema name to OGG

 

MARKERTABLE

-------------------------------

OK

 

MARKERSEQUENCE

-------------------------------

OK

 

Scriptcomplete.

SQL> @ddl_setup    --该脚本创建了进行DDL复制抽取和复制所需的对象

 

OracleGoldenGate DDL Replication setup script

 

Verifyingthat current user has privileges to install DDL Replication...

 

You willbe prompted for the name of a schema for the Oracle GoldenGate databaseobjects.

NOTE: Foran Oracle 10g source, the system recycle bin must be disabled. For Oracle 11gand later, it can be enabled.

NOTE: Theschema must be created prior to running this script.

NOTE:Stop all DDL replication before starting this installation.

 

EnterOracle GoldenGate schema name:ogg

 

Working,please wait ...

Spoolingto file ddl_setup_spool.txt

 

Checkingfor sessions that are holding locks on Oracle Golden Gate metadata tables ...

 

Checkcomplete.

 

 

 

 

 

 

 

 

 

 

 

Using OGGas a Oracle GoldenGate schema name.

 

Working,please wait ...

 

DDLreplication setup script complete, running verification script...

Pleaseenter the name of a schema for the GoldenGate database objects:

Settingschema name to OGG

 

CLEAR_TRACESTATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

CREATE_TRACESTATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

TRACE_PUT_LINESTATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

INITIAL_SETUPSTATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

DDLVERSIONSPECIFICPACKAGE STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

DDLREPLICATIONPACKAGE STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

DDLREPLICATIONPACKAGE BODY STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

DDLIGNORE TABLE

-----------------------------------

OK

 

DDLIGNORE LOG TABLE

-----------------------------------

OK

 

DDLAUX     PACKAGE STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

DDLAUXPACKAGE BODY STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

SYS.DDLCTXINFO      PACKAGE STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

SYS.DDLCTXINFO      PACKAGE BODY STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

DDLHISTORY TABLE

-----------------------------------

OK

 

DDLHISTORY TABLE(1)

-----------------------------------

OK

 

DDL DUMPTABLES

-----------------------------------

OK

 

DDL DUMPCOLUMNS

-----------------------------------

OK

 

DDL DUMPLOG GROUPS

-----------------------------------

OK

 

DDL DUMPPARTITIONS

-----------------------------------

OK

 

DDL DUMPPRIMARY KEYS

-----------------------------------

OK

 

DDLSEQUENCE

-----------------------------------

OK

 

GGS_TEMP_COLS

-----------------------------------

OK

 

GGS_TEMP_UK

-----------------------------------

OK

 

DDLTRIGGER CODE STATUS:

 

Line/pos                               Error

---------------------------------------------------------------------------------------------------------

No errors                             No errors

 

DDLTRIGGER INSTALL STATUS

-----------------------------------

OK

 

DDLTRIGGER RUNNING STATUS

------------------------------------------------------------------------------------------------------------------------

ENABLED

 

STAYMETADATAIN TRIGGER

------------------------------------------------------------------------------------------------------------------------

OFF

 

DDLTRIGGER SQL TRACING

------------------------------------------------------------------------------------------------------------------------

0

 

DDLTRIGGER TRACE LEVEL

------------------------------------------------------------------------------------------------------------------------

NONE

 

LOCATIONOF DDL TRACE FILE

------------------------------------------------------------------------------------------------------------------------

/u01/app/oracle/diag/rdbms/rac/rac1/trace/ggs_ddl_trace.log

 

Analyzinginstallation status...

 

 

VERSIONOF DDL REPLICATION

------------------------------------------------------------------------------------------------------------------------

OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401

 

STATUS OFDDL REPLICATION

------------------------------------------------------------------------------------------------------------------------

SUCCESSFULinstallation of DDL Replication software components

 

Scriptcomplete.

SQL> @role_setup   --创建DDL复制所需的对象

 

GGS Rolesetup script

 

Thisscript will drop and recreate the role GGS_GGSUSER_ROLE

To use adifferent role name, quit this script and then edit the params.sql script tochange the gg_role parameter to the preferred name. (Do not run the script.)

 

You willbe prompted for the name of a schema for the GoldenGate database objects.

NOTE: Theschema must be created prior to running this script.

NOTE:Stop all DDL replication before starting this installation.

 

EnterGoldenGate schema name:ogg

Wrotefile role_setup_set.txt

 

PL/SQLprocedure successfully completed.

 

 

Rolesetup script complete

 

Grantthis role to each user assigned to the Extract, GGSCI, and Manager processes,by using the following SQL command:

 

GRANTGGS_GGSUSER_ROLE TO <loggedUser>

 

where<loggedUser> is the user assigned to the GoldenGate processes.

SQL> GRANT GGS_GGSUSER_ROLE TO ogg;

 

Grantsucceeded.

 

SQL> @ddl_enable  -- 启用DDL复制,实质上是创建触发器,用以想MARKER和HISTORY表插入DDL信息

 

Triggeraltered.

SQL>exit

安装性能优化工具 (可选项)

要提高DDL触发器的性能,可以通过ddl_pin脚本,该脚本会将触发器使用的包加载到内存,以此提高效率。该脚本执行时需要引用dbms_shared_pool系统包,因此在使用ddl_pin脚本前需要确保dbms_shared_pool可用。

 

SQL>@?/rdbms/admin/dbmspool.sql

 

Packagecreated.

 

Grantsucceeded.

 

Viewcreated.

 

Packagebody created.

 

执行ddl_pin脚本需要指定GoldenGate管理员schema名称,例如:

 

SQL>@ddl_pin ogg

 

PL/SQLprocedure successfully completed.

 

 

PL/SQLprocedure successfully completed.

 

 

PL/SQLprocedure successfully completed.

7) 开启表级别、日志传输,创建检查点表

  开启归档,最小附加日志和强制归档之后,ogg可以同步insert,delete等部分操作,但遇到update 时将会挂掉,报错说找不到相关记录,因此,还需要再对每一个table都在源端开启表级日志传输。(必须要登陆ogg才可以执行)

rac1:/home/oracle@rac1>cd/ogg/install/

rac1:/ogg/install@rac1>./ggsci

 

OracleGoldenGate Command Interpreter for Oracle

Version12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO

Linux,x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38

Operatingsystem character set identified as UTF-8.

 

Copyright(C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.

 

 

 

GGSCI(rac1) 1> dblogin userid ogg@rac,password ogg

Successfullylogged into database.

 

GGSCI(rac1 as ogg@rac1) 19> add trandata TEST.TEST

 

2017-03-1209:13:41  WARNING OGG-06439  No unique key is defined for table TEST. Allviable columns will be used to represent the key, but may not guaranteeuniqueness. KEYCOLS may be used to define the key.

 

Loggingof supplemental redo log data is already enabled for table TEST.TEST.

 

TRANDATA for instantiation CSN has been added on table'TEST.TEST'.

注意:这里只是做测试,就只有一张test的表,如果有其他的表,都要执行。

再执行如下命令创建检查点表

GGSCI (oracle11g as ogg@test)118> add checkpointtable ogg.chkpt

 

Successfully created checkpointtable ogg.chkpt.

8)配置OGG 进程

rac1:/ogg/install@rac1>./ggsci

 

Oracle GoldenGate CommandInterpreter for Oracle

Version 12.2.0.1.1OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO

Linux, x64, 64bit (optimized),Oracle 11g on Dec 12 2015 00:54:38

Operating system character setidentified as UTF-8.

 

Copyright (C) 1995, 2015, Oracleand/or its affiliates. All rights reserved.

 

 

GGSCI (rac1) 3> dblogin useridogg,password ogg

Successfully logged into database.

 

GGSCI (rac1) 1> view params mgr

 

PORT 7809

 

 

GGSCI (rac1) 2> edit params mgr

 

PORT7809

DYNAMICPORTLIST7810-7850   //动态端口号,7809被占用时会动态使用

PURGEOLDEXTRACTS/ogg/install/extlt/rac/lt*,USECHECKPOINTS,MINKEEPDAYS 7//自动管理删除 local trail文件,保留7天

PURGEOLDEXTRACTS/ogg/install/replt/rac/lt*,USECHECKPOINTS, MINKEEPDAYS 7

 

里面添加上面的内容

 

添加抽取进程:

GGSCI (rac1 as ogg@rac1)4> add extract E_RAC,tranlog,threads 3 begin now

EXTRACT added.

GGSCI (rac1 as ogg@rac1) 6> add exttrail /ogg/install/dirdat/extlt/rac/lt,extract E_RAC

EXTTRAIL added.

配置E_RAC参数文件

GGSCI (rac1 as ogg@rac1)7> edit params E_RAC

EXTRACT E_RAC

SETENV (ORACLE_HOME ="/u01/app/oracle/product/11.2.0/db_1")

SETENV (ORACLE_SID = "rac")

USERID ogg@rac,PASSWORD ogg

EXTTRAIL /ogg/install/dirdat/extlt/rac/lt

DISCARDFILE/ogg/install/dirrpt/e_rac.dsc,APPEND,MEGABYTES 5

TRANLOGOPTIONS ALTARCHIVELOGDEST +FRA_ARC

TRANLOGOPTIONS ALTARCHIVEDLOGFORMAT '%t_%s_%r.arc'

TRANLOGOPTIONS DBLOGREADER

DDL INCLUDE MAPPED

DDLOPTIONS ADDTRANDATA

FETCHOPTIONS, USESNAPSHOT, NOUSELATESTVERSION,MISSINGROW REPORT

STATOPTIONS REPORTFETCH

WARNLONGTRANS 1H, CHECKINTERVAL 5M

OBEY /ogg/install/dirprm/ogg_tables_RAC.txt  --载入所要抽取的table list;里面内容为: table TEST.TEST;

添加传送到目标端的p进程 P_TEST

注意关于目的端ogg和RAC安装一样,按上面的操作在目标端安装ogg,这里就不再赘述。

GGSCI (rac1 as ogg@rac1) 9> add extract P_TEST,exttrailsource /ogg/install/dirdat/extlt/rac/lt

EXTRACT added.

 

GGSCI (rac1 as ogg@rac1)10> add rmttrail /ogg/dirdat/replt/rac/lt, extract P_TEST

配置P_TEST的参数文件

GGSCI (rac1 as ogg@rac1) 13> edit paramsP_TEST

EXTRACT P_TEST

rmthost 192.168.180.14, mgrport 7809   --目的端的IP

rmttrail /ogg/dirdat/replt/rac/lt    --trail文件传送过去的存放路径

dynamicresolution    --动态解析表名,为缺省参数,可不显示指定

passthru   --使用该参数告诉ogg同步的两端表结构一致

OBEY /ogg/install/dirprm/ogg_tables_RAC.txt  --载入所要传送的table list,和上面的同一个


3.     目的端操作:

关于目的端ogg的安装可以参考上述步骤,这里不在赘述。以下是几个注意点

1)     开启归档,最小附件日志

2)     创建表空间及授权

3)     配置TNS

4)     安装ddl同步支持

5)     开启表级日志传输(如果是单向的就不要执行)

6)     创建检查点表

7)     执行alter system set enable_goldengate_replication = true scope=both;

 

目标端安装完ogg之后,开始配置ogg进程

test:/ogg@oracle11g>cd/ogg/   --这里ogg安装目录为/ogg

test:/ogg@oracle11g>./ggsci

 

OracleGoldenGate Command Interpreter for Oracle

Version12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO

Linux, x64,64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38

Operating systemcharacter set identified as UTF-8.

 

Copyright (C)1995, 2015, Oracle and/or its affiliates. All rights reserved.

 

 

 

GGSCI(oracle11g) 1> edit params mgr

 

PORT 7809

DYNAMICPORTLIST 7840-7914

PURGEOLDEXTRACTS /ogg/dirdat/extlt/lt*, USECHECKPOINTS,MINKEEPFILES 10

AUTORESTART ER *, RETRIES 3, WAITMINUTES 5

USERID ogg@rac, PASSWORD ogg

PURGEDDLHISTORY MINKEEPDAYS 3, MAXKEEPDAYS 5,FREQUENCYMINUTES 30

PURGEMARKERHISTORY MINKEEPDAYS 3, MAXKEEPDAYS 5,FREQUENCYMINUTES 30

 

 

GGSCI(oracle11g) 2>

添加rep进程R_RAC

GGSCI (oracle11gas ogg@test) 63> add replicat R_RAC, exttrail/ogg/dirdat/replt/rac/lt,checkpointtable ogg.chkpt

REPLICAT added.

配置R_RAC 的参数文件

GGSCI (oracle11g) 2> edit paramsR_RAC

 

REPLICAT R_RAC

SETENV(ORACLE_HOME = "/u01/app/oracle2/product/11.2.0/db_1")

SETENV (ORACLE_SID= "test")

ASSUMETARGETDEFS

USERID ogg,PASSWORD ogg

DISCARDFILE/ogg/dirrpt/r_rac.dec,APPEND,MEGABYTES 5

DDL INCLUDE MAPPED

DDLOPTIONS REPORT

DBOPTIONSDEFERREFCONST

DBOPTIONSLOBWRITESIZE 102400

OBEY /ogg/dirprm/ogg_tables_RAC_REP.txt    –该里面的内容为:map TEST.TEST,target TEST.TEST;

 

GGSCI (oracle11g) 3>

 

 

以上配置结束执行,依次开启刚才配置的E_RAC,P_TEST,R_RAC三个进程

源端开启E_RAC,P_TEST进程:

GGSCI (rac1 as ogg@rac1) 16> start E_RAC

 

Sending START request to MANAGER ...

EXTRACT E_RAC starting

GGSCI(rac1) 27> start P_TEST

 

SendingSTART request to MANAGER ...

EXTRACT P_TEST starting

目的端开启R_RAC 进程

GGSCI (oracle11g as ogg@test) 82> start R_RAC

 

Sending START request to MANAGER ...

REPLICAT R_RAC starting

4.     测试

在源端3个节点分别在test里插入一笔数据

注意:这里要在目的端也要有相同结构的test表

节点1:

SQL> insert into test.testvalues(1,'rac1');

1 row created.

 

SQL> commit;

 

Commit complete

节点2:

SQL> insert into test.test values(2,'rac2');

1 row created.

 

SQL> commit;

 

Commit complete

 

节点3:

SQL> insert into test.test values(3,'rac3');

1 row created.

 

SQL> commit;

 

Commit complete

 

再目的端查看:

test:/ogg/dirdat/replt/rac@oracle11g>sqlplus/ as sysdba

 

SQL*Plus: Release 11.2.0.4.0 Production onThu Mar 16 16:48:27 2017

 

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

 

 

Connected to:

Oracle Database 11g Enterprise EditionRelease 11.2.0.4.0 - 64bit Production

With the Partitioning, OLAP, Data Miningand Real Application Testing options

 

SQL> select * from test.test;

 

         IDNAME

---------- ------------

          1 rac1

          3 rac3

          2 rac2

 

SQL>

至此RAC 到单机的OGG 配置完成。

 

注意这里提示我的/ogg/install 下不为空,可以直接选择忽略就可以了,不会有影响的
 

转自: https://blog.csdn.net/shiyu1157758655/article/details/62428173

 

 

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/woailyoo0000/article/details/115160426

智能推荐

银行秋招笔试计算机,2020银行秋招岗位不同,考试内容都一样吗?-程序员宅基地

文章浏览阅读876次。银行有很多的岗位,所有的岗位考试内容都一样吗?弘新教育小编带你分析银行岗位的考试内容。银行考试范围一样吗?各大银行考试一般是由各银行单独组织的,考试范围一样,基本上包括行测、综合知识、英语和性格测试,考试侧重点不同,例如中国工商银行侧重于行测;中国农业银行侧重于英语和行测;建设银行和交通银行英语考得比较少。六大行考试各科目占比如下:EPI:考试题型主要以选择题形式出现。主要包括言语理解、数学运算、..._计算机专业银行的笔试有什么区别吗?

基于Springboot框架广东广州某大学教室自习室预约系统设计与实现 研究背景和意义、国内外现状_基于spring boot 的教室预约管理系统的设计与实现-程序员宅基地

文章浏览阅读756次,点赞20次,收藏9次。终极手撕架构师的学习笔记:分布式+微服务+开源框架+性能优化网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。需要这份系统化的资料的朋友,可以添加V获取:vip1024b (备注Java)一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!9)]一个人可以走的很快,但一群人才能走的更远!

kkfileview安装及使用_安装kkfileview file-online-preview-v4.2.1-程序员宅基地

文章浏览阅读1k次,点赞10次,收藏17次。把源码下载完成之后,用idea打开此项目,再打开maven小界面,点击kkfileview-parent下面的clean和install即可,最后在到server下面的target下面进行查看,查看是否有两个安装包:如图第一个是Linux的安装包,第二个是windows的安装包。2、点击bin目录下的startup.bat,该项目就能启动了,并查看log目录下的kkFileView.log文件查看是否成功启动。6、运行成功后,在本机访问地址为:http://服务器ip地址:8012/即可。_安装kkfileview file-online-preview-v4.2.1

达梦数据库常用功能及命令记录--持续更新-程序员宅基地

文章浏览阅读8.7k次,点赞3次,收藏17次。达梦数据库常用功能及命令记录达梦数据库语句的使用总体来说跟oracle很接近的,这篇文章主要是把常用的情况和语句做了记录,并且后续还会不断的持续更新达梦数据库常用说明1.测试查询语句:select 1;select top 2 from v$dm_ini; select from v$dm_ini limit 2;select * from v$dm_ini where rownum&l..._达梦数据库存储不等于写法

Dev-C++常用的快捷键 最全汇总_devc++快捷键-程序员宅基地

文章浏览阅读3.1w次,点赞30次,收藏205次。一、最常用的快捷键【Ctrl+N】新建源代码;【Ctrl+O】打开工程或文件;【Ctrl+S】保存;【Ctrl+F9】编译程序; 【Ctrl+F10】运行; 【F9】编译并运行;【F8】调试程序; 【Ctrl+w】查看变量; 【Ctrl+Alt+F2】终止程序;【Ctrl+.】注释;【Ctrl+M】取消注释;【Ctrl+鼠标滚轮】放大缩小字体大小;代码补全功能:Dev-C++具有代码补..._devc++快捷键

YOLOv4的cfg参数及训练_yolov4参数设置-程序员宅基地

文章浏览阅读1.2w次,点赞11次,收藏94次。cfg参数net层[net]batch=96 # 每次iteration训练的时候,输入的图片数量subdivisions=48 # 将每一次的batch数量,分成subdivision对应数字的份数,一份一份的跑完后,在一起打包算作完成一次iterationwidth=512 # width=height,大小为32的倍数momentum=0.9 # 动量,影响梯度下降到最优的速度,一般默认0.9decay=0.0005 # 权重衰减正则系数,防止过拟合angle=0 # 旋转角度,生成更_yolov4参数设置

随便推点

记录ASP.NET CORE 3 部署过程-程序员宅基地

文章浏览阅读715次。环境为:window server 2008 IIS6.1 net core 3 首先时安装net.core 运行时。地址为:https://dotnet.microsoft.com/download/dotnet-core/3.0 大家找对应的版本进行下载安装。 IIS中创建网站,配置应用程序池.NET FrameWork 版本,选择 无托管代码。..._.net core3 发布部署

Java中的设计模式在代码重构中的应用-程序员宅基地

文章浏览阅读1.1k次,点赞18次,收藏7次。设计模式是在软件开发中经常使用的一种经验总结,用于解决在特定上下文中重复出现的问题。在代码重构中,设计模式可以帮助我们改善代码的结构、可读性和可维护性。下面是几个常见的设计模式及其在代码重构中的应用。

scrapy 解决IP代理池的三种方法_scrapy代理ip池-程序员宅基地

文章浏览阅读1.5w次,点赞11次,收藏57次。一.手动更新ip池 1.1在setting配置文件中新增ip池 IPPOOL=[ {“ipaddr”:”61.129.70.131:8080”}, {“ipaddr”:”61.152.81.193:9100”}, {“ipaddr”:”120.204.85.29:3128”}, {“ipaddr”:”219.228.126.86:8123”}, {“ipaddr”:”61.152.8..._scrapy代理ip池

智慧物业—建设智慧社区的实践_物业智慧社区-程序员宅基地

文章浏览阅读1.7k次。智慧社区的特征•高度信息化、网络化 智慧社区应当充分利用信息技术、互联网(及移动互联网)技术、云计算技术,开发、集成、利用信息资源,促进信息交流和知识共享。•社区与社区之间不是信息孤岛,而是互联、互通形成社区网络。•高度智能化、自动化 在智慧社区里,智能控制、智能管理、智能仪表、智能家居及相关自动化技术得到广泛应用。•高度人性化、便捷化智慧社区应当利用信息技术、互联网技术,结合本地服务优势,围绕广大业主的需求,开展丰富的社区服务、增值服务,让广大业主足不出户便..._物业智慧社区

AJAX DataSet的使用心得-程序员宅基地

文章浏览阅读311次。无论是VB、Delphi、.NET还是Java,都有提供对数据结果集的操作,有了数据结果集,我们只需要使用结果集的方法移动记录,获取记录字段数据,再结合界面,就可以很容易地完成一个数据库应用的编程,现在都流行用AJAX做基于web的系统了。老大决定新版要用AJAX来做,给了我们用AJAX做一些试验和原型的任务,可是当我们的技术组在预研时,才发现到了web上完全不是那么回事呀,仅仅通过form表单来操作和提交数据要实现我们的设备管理真的很麻烦,以前都是用delphi三层结构,有Clie

virtualenv教程_virtualenv使用-程序员宅基地

文章浏览阅读1.8k次,点赞5次,收藏11次。一、参考资料virtualenvvirtualenv简单使用virtualenv的介绍及基本使用(所有命令解释)二、相关介绍irtualenv通过创建一个虚拟化的python运行环境,将我们所需的依赖安装进去的,便于不同的项目在同一台机器上开发运行,不同项目之间相互不干扰,即在一台机器上创建多个独立的python运行环境。如下所示:使用 VirtualEnv 的理由:隔离项目之间的第三方包依赖,如A项目依赖django1.2.5,B项目依赖django1.3。为部署应用提供方便,把开发环_virtualenv使用

推荐文章

热门文章

相关标签