返回顶部
首页 > 资讯 > 数据库 >Oracle 11gR2 使用 RMAN duplicate from active database 复制数据库
  • 158
分享到

Oracle 11gR2 使用 RMAN duplicate from active database 复制数据库

2024-04-02 19:04:59 158人浏览 安东尼
摘要

在oracle 10g下,我们可以使用RMAN duplicate 命令创建一个具有不同DBID 的复制库。 到了Oracle 11gR2, RMAN 

oracle 10g下,我们可以使用RMAN duplicate 命令创建一个具有不同DBID 的复制库。 到了Oracle 11gR2, RMAN 的duplicate 有2种方法实现:

       1. Active database duplication

       2. Backup-based duplication

 

       Active database duplication 通过网络,直接copy target 库到auxiliary 库,然后创建复制库。 这种方法就不需要先用RMAN 备份数据库,然后将备份文件发送到auxiliary端。

       这个功能的作用是非常大的。 尤其是对T级别的库。 因为对这样的库进行备份,然后将备份集发送到备库,在进行duplicate 的代价是非常大的。 一备份要占用时间,二要占用备份空间,三在网络传送的时候,还需要占用带宽和时间。所以Active database duplicate 很好的解决了以上的问题。 它对大库的迁移非常有用。

 

       如果是从RAC duplicate 到单实例,操作是一样的。 如果是从单实例duplicate 到RAC。 那么先duplicate 到 单实例。 然后将单实例转换成RAC。

 

Oracle 10g 下Rman duplicate 的例子参考:

       RMAN 异机 复制数据库

       Http://blog.csdn.net/tianlesoftware/arcHive/2010/07/20/5749932.aspx

 

下面我们看一下11gR2下,Active Database Duplicate的步骤如下:

 

1. 创建Auxiliary 库的Initialization Parameter:

       如果使用spfile,那么在pfile文件里只需要设置一个DB_NAME参数,其他参数会在duplicate 命令中自己设置。

       如果使用pfile,那么需要设置如下参数:

              DB_NAME

              CONTROL_FILES

              DB_BLOCK_SIZE

              DB_FILE_NAME_CONVERT

              LOG_FILE_NAME_CONVERT

              DB_RECOVERY_FILE_DEST

 

2. 在Auxiliary库创建PassWord File 文件

       对于Backup-based duplication,Password File 不是必须的,但是对于Active Database Duplication,Password File是必须的。 因为Active Database Duplication 使用相同的SYSDBA 密码直接连接到auxiliary 库。 所以,确保target 和Auxiliary库的SYSDBA 密码一样很重要。

 

       当然,我们也可以在duplicate 命令中加上PASSWORD FILE 选项(也是默认值), 这样RMAN 在copy 的时候也会从target 库把密码文件copy过来,如果auxiliary库上已经存在了Password file,那么该操作会重写那个文件。

如:

RMAN> DUPLICATE TARGET DATABASE TO Dave

2> FROM ACTIVE DATABASE

3> NOFILENAMECHECK

4> PASSWORD FILE

5> SPFILE;

 

3. 如果是windows 平台,还需要创建Database service:

% set ORACLE_SID=DAVE
% set ORACLE_HOME=E:/oracle/product/11.1.0/db_1
% oradim -NEW -SID DAVE

 

 

4. 配置oracle net,修改listener.ora和the tnsnames.ora 文件:

在Target 库和Auxiliary 都要修改。这个也可以使用netca 和netmgr命令配置。

 

Listener.ora

[oracle@qs-dmm-rh2 admin]$ cat listener.ora

LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = tcp)(HOST = localhost6.localdomain6)(PORT = 1521))

    )

  )

 

ADR_BASE_LISTENER = /u01/app/oracle

 

SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (GLOBAL_DBNAME = orcl)

      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)

      (SID_NAME = orcl)

    )

  )

 

tnsname.ora

[oracle@qs-dmm-rh2 admin]$ cat tnsnames.ora

ORCL_ST =

  (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

      (SERVICE_NAME = orcl)

    )

  )

 

ORCL_PD =

  (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

      (SERVICE_NAME = orcl)

    )

  )

 

 

5. 用第一步创建的pfile文件,将Auxiliary启动到nomout 状态。 然后进行Active Database duplicate。

 

 

 

我们看一个完整的复制示例:

Target DB:

IP: 192.168.2.42

SID:orcl

 

Auxiliary:

IP:192.168.2.43

SID:orcl

 

我这里复制的目录相同。 如果不同的话需要在pfile里面加入db_file_name_convert和log_file_name_convert.

 

1. 在Auxiliary 创建pfile 参数文件:

[oracle@qs-dmm-rh3 dbs]$ pwd

/u01/app/oracle/product/11.2.0/dbhome_1/dbs

[oracle@qs-dmm-rh3 dbs]$ cat initorcl.ora

DB_NAME=orcl

 

只有一个参数: DB_NAME

 

2. 在Auxiliary库上创建口令文件

[oracle@qs-dmm-rh3 admin]$ orapwd file=?/dbs/orapworcl password=oracle

 

3. 在Auxiliary库创建相关的目录结构:

[oracle@qs-dmm-rh3 trace]$ mkdir -p /u01/app/oracle/oradata/orcl

不然在duplicate时会报如下错误:

ORA-19505: failed to identify file "/u01/app/oracle/oradata/orcl/users01.dbf"

ORA-27040: file create error, unable to create file

 

4. 启动Auxiliary 到nomout 状态:

[oracle@qs-dmm-rh3 admin]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 8 00:28:48 2011

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

SQL> conn / as sysdba;

Connected to an idle instance.

SQL> startup nomount pfile=?/dbs/initorcl.ora

ORACLE instance started.

Total System Global Area  146472960 bytes

Fixed Size                  1335080 bytes

Variable Size              92274904 bytes

Database Buffers           50331648 bytes

Redo Buffers                2531328 bytes

SQL>

 

5. 在Target 和Auxiliary 都配置Oracle Net(Listener.ora and tnsnames.ora):

[oracle@qs-dmm-rh2 admin]$ cat listener.ora

LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost6.localdomain6)(PORT = 1521))

    )

  )

ADR_BASE_LISTENER = /u01/app/oracle

SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (GLOBAL_DBNAME = orcl)

      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)

      (SID_NAME = orcl)

    )

  )

 

[oracle@qs-dmm-rh2 admin]$ cat tnsnames.ora

ORCL_ST =

  (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

      (SERVICE_NAME = orcl)

    )

  )

 

ORCL_PD =

  (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

      (SERVICE_NAME = orcl)

    )

  )

 

 

6. 开始RMAN duplicate from active database:

 

       注意:如果target 和 Auxiliary库的目录结构相同,记得加上nofilenamecheck参数,不然会报如下错误:

       RMAN-05001: auxiliary file name /u01/app/oracle/oradata/orcl/users01.dbf conflicts with a file used by the target database

 

       如果目录不同,在pfile里加如下2个参数进行转换:

              db_file_name_convert

              log_file_name_convert.

 

[oracle@qs-dmm-rh3 dbs]$ rman target sys/oracle@orcl_pd auxiliary sys/oracle@orcl_st

 

Recovery Manager: Release 11.2.0.1.0 - Production on Tue Mar 8 01:01:42 2011

 

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

 

connected to target database: ORCL (DBID=1272955137)

connected to auxiliary database: ORCL (not mounted)

 

RMAN> duplicate target database to orcl from active database nofilenamecheck;

 

Starting Duplicate Db at 08-MAR-11

using target database control file instead of recovery catalog

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=20 device type=DISK

 

contents of Memory Script:

{

   sql clone "create spfile from memory";

}

executing Memory Script

 

sql statement: create spfile from memory

 

contents of Memory Script:

{

   shutdown clone immediate;

   startup clone nomount;

}

executing Memory Script

 

Oracle instance shut down

 

connected to auxiliary database (not started)

Oracle instance started

 

Total System Global Area     146472960 bytes

 

Fixed Size                     1335080 bytes

Variable Size                 92274904 bytes

Database Buffers              50331648 bytes

Redo Buffers                   2531328 bytes

 

contents of Memory Script:

{

   sql clone "alter system set  db_name =

 ''ORCL'' comment=

 ''Modified by RMAN duplicate'' scope=spfile";

   sql clone "alter system set  db_unique_name =

 ''ORCL'' comment=

 ''Modified by RMAN duplicate'' scope=spfile";

   shutdown clone immediate;

   startup clone force nomount

   backup as copy current controlfile auxiliary fORMat  '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/cntrlorcl.dbf';

   alter clone database mount;

}

executing Memory Script

 

sql statement: alter system set  db_name =  ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile

 

sql statement: alter system set  db_unique_name =  ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile

 

Oracle instance shut down

 

Oracle instance started

 

Total System Global Area     146472960 bytes

 

Fixed Size                     1335080 bytes

Variable Size                 92274904 bytes

Database Buffers              50331648 bytes

Redo Buffers                   2531328 bytes

 

Starting backup at 08-MAR-11

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=43 device type=DISK

channel ORA_DISK_1: starting datafile copy

copying current control file

output file name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_orcl.f tag=TAG20110308T010214 RECID=3 STAMP=745203735

channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01

Finished backup at 08-MAR-11

 

database mounted

 

contents of Memory Script:

{

   set newname for datafile  1 to

 "/u01/app/oracle/oradata/orcl/system01.dbf";

   set newname for datafile  2 to

 "/u01/app/oracle/oradata/orcl/sysaux01.dbf";

   set newname for datafile  3 to

 "/u01/app/oracle/oradata/orcl/undotbs01.dbf";

   set newname for datafile  4 to

 "/u01/app/oracle/oradata/orcl/users01.dbf";

   backup as copy reuse

   datafile  1 auxiliary format

 "/u01/app/oracle/oradata/orcl/system01.dbf"   datafile

 2 auxiliary format

 "/u01/app/oracle/oradata/orcl/sysaux01.dbf"   datafile

 3 auxiliary format

 "/u01/app/oracle/oradata/orcl/undotbs01.dbf"   datafile

 4 auxiliary format

 "/u01/app/oracle/oradata/orcl/users01.dbf"   ;

   sql 'alter system archive log current';

}

executing Memory Script

 

executing command: SET NEWNAME

 

executing command: SET NEWNAME

 

executing command: SET NEWNAME

 

executing command: SET NEWNAME

 

Starting backup at 08-MAR-11

using channel ORA_DISK_1

channel ORA_DISK_1: starting datafile copy

--在这里开始copy 数据文件,比较慢。

input datafile file number=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf

output file name=/u01/app/oracle/oradata/orcl/system01.dbf tag=TAG20110308T010221

channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45

channel ORA_DISK_1: starting datafile copy

input datafile file number=00002 name=/u01/app/oracle/oradata/orcl/sysaux01.dbf

output file name=/u01/app/oracle/oradata/orcl/sysaux01.dbf tag=TAG20110308T010221

channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35

channel ORA_DISK_1: starting datafile copy

input datafile file number=00003 name=/u01/app/oracle/oradata/orcl/undotbs01.dbf

output file name=/u01/app/oracle/oradata/orcl/undotbs01.dbf tag=TAG20110308T010221

channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting datafile copy

input datafile file number=00004 name=/u01/app/oracle/oradata/orcl/users01.dbf

output file name=/u01/app/oracle/oradata/orcl/users01.dbf tag=TAG20110308T010221

channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01

Finished backup at 08-MAR-11

 

sql statement: alter system archive log current

 

contents of Memory Script:

{

   backup as copy reuse

   archivelog like  "/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2011_03_08/o1_mf_1_7_6qb3zyoo_.arc" auxiliary format

 "/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch2_7_745174404.dbf"   ;

   catalog clone archivelog  "/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch2_7_745174404.dbf";

   switch clone datafile all;

}

executing Memory Script

 

Starting backup at 08-MAR-11

using channel ORA_DISK_1

channel ORA_DISK_1: starting archived log copy

input archived log thread=1 sequence=7 RECID=3 STAMP=745203841

output file name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch2_7_745174404.dbf RECID=0 STAMP=0

channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:07

Finished backup at 08-MAR-11

 

cataloged archived log

archived log file name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch2_7_745174404.dbf RECID=3 STAMP=745203848

 

datafile 1 switched to datafile copy

input datafile copy RECID=3 STAMP=745203849 file name=/u01/app/oracle/oradata/orcl/system01.dbf

datafile 2 switched to datafile copy

input datafile copy RECID=4 STAMP=745203849 file name=/u01/app/oracle/oradata/orcl/sysaux01.dbf

datafile 3 switched to datafile copy

input datafile copy RECID=5 STAMP=745203849 file name=/u01/app/oracle/oradata/orcl/undotbs01.dbf

datafile 4 switched to datafile copy

input datafile copy RECID=6 STAMP=745203849 file name=/u01/app/oracle/oradata/orcl/users01.dbf

 

contents of Memory Script:

{

   set until scn  844147;

   recover

   clone database

    delete archivelog

   ;

}

executing Memory Script

 

executing command: SET until clause

 

Starting recover at 08-MAR-11

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=18 device type=DISK

 

starting media recovery

 

archived log for thread 1 with sequence 7 is already on disk as file /u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch2_7_745174404.dbf

archived log file name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch2_7_745174404.dbf thread=1 sequence=7

media recovery complete, elapsed time: 00:00:01

Finished recover at 08-MAR-11

 

contents of Memory Script:

{

   shutdown clone immediate;

   startup clone nomount;

   sql clone "alter system set  db_name =

 ''ORCL'' comment=

 ''Reset to original value by RMAN'' scope=spfile";

   sql clone "alter system reset  db_unique_name scope=spfile";

   shutdown clone immediate;

   startup clone nomount;

}

executing Memory Script

 

database dismounted

Oracle instance shut down

 

connected to auxiliary database (not started)

Oracle instance started

 

Total System Global Area     146472960 bytes

 

Fixed Size                     1335080 bytes

Variable Size                 92274904 bytes

Database Buffers              50331648 bytes

Redo Buffers                   2531328 bytes

 

sql statement: alter system set  db_name =  ''ORCL'' comment= ''Reset to original value by RMAN'' scope=spfile

 

sql statement: alter system reset  db_unique_name scope=spfile

 

Oracle instance shut down

 

connected to auxiliary database (not started)

Oracle instance started

 

Total System Global Area     146472960 bytes

 

Fixed Size                     1335080 bytes

Variable Size                 92274904 bytes

Database Buffers              50331648 bytes

Redo Buffers                   2531328 bytes

sql statement: CREATE CONTROLFILE REUSE SET DATABASE "ORCL" RESETLOGS ARCHIVELOG

  MAXLOGFILES     16

  MAXLOGMEMBERS      3

  MAXDATAFILES      100

  MAXINSTANCES     8

  MAXLOGHISTORY      292

 LOGFILE

  GROUP  1 ( '/u01/app/oracle/oradata/orcl/redo01.log' ) SIZE 50 M  REUSE,

  GROUP  2 ( '/u01/app/oracle/oradata/orcl/redo02.log' ) SIZE 50 M  REUSE,

  GROUP  3 ( '/u01/app/oracle/oradata/orcl/redo03.log' ) SIZE 50 M  REUSE

 DATAFILE

  '/u01/app/oracle/oradata/orcl/system01.dbf'

 CHARACTER SET ZHS16GBK

 

 

contents of Memory Script:

{

   set newname for tempfile  1 to

 "/u01/app/oracle/oradata/orcl/temp01.dbf";

   switch clone tempfile all;

   catalog clone datafilecopy  "/u01/app/oracle/oradata/orcl/sysaux01.dbf",

 "/u01/app/oracle/oradata/orcl/undotbs01.dbf",

 "/u01/app/oracle/oradata/orcl/users01.dbf";

   switch clone datafile all;

}

executing Memory Script

 

executing command: SET NEWNAME

 

renamed tempfile 1 to /u01/app/oracle/oradata/orcl/temp01.dbf in control file

 

cataloged datafile copy

datafile copy file name=/u01/app/oracle/oradata/orcl/sysaux01.dbf RECID=1 STAMP=745203867

cataloged datafile copy

datafile copy file name=/u01/app/oracle/oradata/orcl/undotbs01.dbf RECID=2 STAMP=745203867

cataloged datafile copy

datafile copy file name=/u01/app/oracle/oradata/orcl/users01.dbf RECID=3 STAMP=745203867

 

datafile 2 switched to datafile copy

input datafile copy RECID=1 STAMP=745203867 file name=/u01/app/oracle/oradata/orcl/sysaux01.dbf

datafile 3 switched to datafile copy

input datafile copy RECID=2 STAMP=745203867 file name=/u01/app/oracle/oradata/orcl/undotbs01.dbf

datafile 4 switched to datafile copy

input datafile copy RECID=3 STAMP=745203867 file name=/u01/app/oracle/oradata/orcl/users01.dbf

 

contents of Memory Script:

{

   Alter clone database open resetlogs;

}

executing Memory Script

 

database opened

Finished Duplicate Db at 08-MAR-11

 

RMAN>

 

 

复制结束。 查询:

 

Target 库:

SQL> select name,dbid from v$database;

 

NAME            DBID

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

ORCL      1272955137

 

Auxiliary库:

SQL> select name,dbid from v$database;

 

NAME            DBID

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

ORCL      1272984602

您可能感兴趣的文档:

--结束END--

本文标题: Oracle 11gR2 使用 RMAN duplicate from active database 复制数据库

本文链接: https://lsjlt.com/news/47180.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
  • Oracle 11gR2 使用 RMAN duplicate from active database 复制数据库
    在Oracle 10g下,我们可以使用RMAN duplicate 命令创建一个具有不同DBID 的复制库。 到了Oracle 11gR2, RMAN ...
    99+
    2024-04-02
  • Oracle11gR2使用RMAN duplicate复制数据库——active database duplicate
    11gR2的RMAN duplicate 个人感觉比10g的先进了很多,10G需要在rman备份的基础上进行复制,使用 RMAN duplicate 创建一个数据完全相同但DB...
    99+
    2024-04-02
  • 怎么使用RMAN复制数据库active database
    这篇文章主要介绍“怎么使用RMAN复制数据库active database”,在日常操作中,相信很多人在怎么使用RMAN复制数据库active database问题上存在疑惑,小编查阅了各式资料,整理出简单...
    99+
    2024-04-02
  • Oracle11gR2使用RMAN duplicate复制数据库——Backup-based database duplicate
    本实例测试ORACLE 11g使用rman复制数据库。11g的RMAN duplicate 可以通过Active database duplicate和Backup-based duplicate...
    99+
    2024-04-02
  • Oracle 11g Data Guard 使用duplicate from active database 创建 standby database
          用这种方式来搭建DG ,主库的停机时间很少,只需要重启一下,使参数生效。也可以用这种方法进行DB迁移。DG搭建好,然后把备库激活就可以了。&nb...
    99+
    2024-04-02
  • 【RMAN】rman使用NORESTELOGS 方式恢复数据库
    关于备份、迁移具体命令方式可参考文档:http://blog.itpub.net/29487349/viewspace-2142872/ 全备恢复数据文件后,准备使用增量完整恢复数据时,选择使用nore...
    99+
    2024-04-02
  • Oracle 11g 使用RMAN备份数据库
    使用Oracle自带的备份恢复工具RMAN(Recovery Manager)具有以下几种优势:支持增量备份能自动管理备份文件自动化备份与恢复备份的文件有效性检查配置快闪恢复区(flash recovery...
    99+
    2024-04-02
  • oracle数据库使用rman备份脚本
    关于使用rman备份数据库的脚本 #!/bin/bash  export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/ap...
    99+
    2024-04-02
  • 使用RMAN恢复数据库的过程
    这篇文章主要讲解了“使用RMAN恢复数据库的过程”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“使用RMAN恢复数据库的过程”吧!由于需要搭建一个测试环境,把...
    99+
    2024-04-02
  • 如何使用network_link复制Oracle数据库
    这篇文章将为大家详细讲解有关如何使用network_link复制Oracle数据库,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。这里定义“源库”和“目标库”,源库就是数据...
    99+
    2024-04-02
  • Oracle数据库中如何使用rman命令
    这期内容当中小编将会给大家带来有关Oracle数据库中如何使用rman命令,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。Oracle数据库rman常用命令怎么使用  连接...
    99+
    2024-04-02
  • 如何使用RMAN实现Oracle数据库迁移
    这篇文章主要介绍了如何使用RMAN实现Oracle数据库迁移,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。1.打开RMAN[oracle@E...
    99+
    2024-04-02
  • 如何使用RMAN还原和恢复数据库
    这篇文章主要介绍“如何使用RMAN还原和恢复数据库”,在日常操作中,相信很多人在如何使用RMAN还原和恢复数据库问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”如何使用RMAN...
    99+
    2024-04-02
  • 如何使用idea的database模块绘制数据库er图
    本篇内容主要讲解“如何使用idea的database模块绘制数据库er图”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“如何使用idea的database模块绘制数据库er图”吧!在idea中使用...
    99+
    2023-06-20
  • Oracle数据库使用DMP文件恢复数据
    要使用DMP文件恢复Oracle数据库中的数据,可以按照以下步骤进行操作:1. 在Oracle数据库服务器上找到DMP文件,并确保数...
    99+
    2023-09-17
    Oracle数据库
  • 使用idea的database模块绘制数据库er图的方法
    在idea中使用database连接数据库 建立测试库表: 建立测试库test_user: test_user库创建过程如下 建立测试表: 建立表user、表user_ext...
    99+
    2024-04-02
  • oracle 12c使用数据泵复制数据库结构的注意事项有哪些
    这篇文章主要为大家展示了“oracle 12c使用数据泵复制数据库结构的注意事项有哪些”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“oracle 12c使用数据...
    99+
    2024-04-02
  • 使用Bucardo5怎么实现PostgreSQL主数据库复制
    这期内容当中小编将会给大家带来有关使用Bucardo5怎么实现PostgreSQL主数据库复制,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。为了演示方便,我使用了亚马逊W...
    99+
    2024-04-02
  • Oracle数据库之PL/SQL使用流程控制语句
    目录一、条件分支语句1、if判断2、if else判断3、if elsif  else判断4、CASE 表达式二、循环语句1、loop简单循环(至少执行一次)2. ...
    99+
    2024-04-02
  • MySQL怎么使用二进制日志恢复数据库
    本篇内容主要讲解“MySQL怎么使用二进制日志恢复数据库”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“MySQL怎么使用二进制日志恢复数据库”吧!一、二进制日志...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作