数据库平台迁移,常用工具优缺点对比: 方法 优点 缺点 RMAN 操作简单 不适用于不同字节序之间的平台迁移 数据泵 操作简单 数据量大时需要的停机时间很长 OGG 对源端目标端平台无要求 操作较复杂,维护成本高 XTTS 源端与目标端字节序可以不同,停机时间短 被移动的表空间不能包含 offline 的数据文件

# Using EXP/IMP Migrate Oracle 9i to 11g # Preparation Check the size of the segment, the number of objects, the job, and the record count of all tables. @db_migrate_precheck_v1.0.sqlTablespaces. @get_create_tablespace_v1.0.sql@create_tablespace.sqlUsers and privileges. SET LONG 2000000SET PAGES...

# Oracle Database Endian Format SQL> select * from v$transportable_platform order by platform_id;PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT----------- ---------------------------------------- -------------- 1 Solaris[tm] OE (32-bit) Big 2 Solaris[tm] OE (64-bit) Big 3 HP-UX (64-bit) Big 4 HP-UX IA...

# Oracle Database High CPU Usage 数据库运行慢,登录操作系统发现 CPU 使用率比平常要高 查看当前会话运行的 SQL Text 和 PLAN SQL> select sql_id, count(1) from gv$session where type='USER' and status = 'ACTIVE' group by sql_id;SQL_ID COUNT(1)------------- ----------arz2wrgd05c5z 1SQL> select addr,spid from...

# Oracle Database Performance Optimization what oracle waiting for ??? select * from (select count(*), event, sql_id, program, inst_id from gv$active_session_history where sample_time > sysdate-5/1440 group by event, sql_id, program, inst_id order by 1 desc)where rownum <= 20; query...

# db_install_11g.rsp ###################################################################### Copyright(c) Oracle Corporation 1998,2013. All rights reserved.#### #### Specify values for the variables listed below to customize #### your installation. #### #### Each variable is associated with a...

# Configuring Storage Device Path Persistence Using UDEV on RHEL For Oracle Automatic Storage Manager (ASM) to use disks, it needs to be able to identify the devices consistently and for them to have the correct ownership and permissions. In Linux you can use ASMLib to manage these tasks, but it is...

# Deinstall Oracle RAC Database # 12c Login as oracle, deinstall DB software. ~]$ $ORACLE_HOME/deinstall/deinstallChecking for required files and bootstrapping ...Please wait ...Location of logs /u01/app/oraInventory/logs/############ ORACLE DECONFIG TOOL START #####################################...

# dbca.rsp ################################################################################ #### DBCA response file #### ------------------ #### Copyright 1998, 2014, Oracle Corporation. All Rights Reserved. #### #### Specify values for the variables listed below to customize Oracle #### Database...

# Installing Oracle Database 11.2.0.3 RAC on OL 7.4 Operating System: Oracle Linux Server 7.4 Oracle Database: p10404530_112030_Linux-x86-64_{1..3}of7.zip Database Patches: # Packages Requirements rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}...