1.how to create a tablespace that employs the most common features create tablespace tb_name #create bigfile tablespace tb_name datafile ‘/u01/dbfile/orcl/tb_name.dbf’ size 100m autoextend on maxsize 1000m #don’t recommend use the AUTOEXTEND feature.…
1. view the default user account SQL> select username from dba_users; 2. lock all users and set their password to expired SQL> select ‘alter user ‘|| username || ‘ password expire account lock;’ from dba_users; 3. A locked user can only be accessed…
Oracle客户端工具出现"Cannot access NLS data files or invalid environment specified"错误的解决办法 方法一:参考,http://blog.csdn.net/longyuhome/article/details/7977433 方法二:此外也可以在环境变量(我的电脑-->右键属性-->高级系统设置-->环境变量-->系统变量)中添加NLS_LANG=SIMPLIFIED CHINESE_CHINA…
Oracle Study之--Oracle 单实例11.2.0.1.0升级到11.2.0.3.0 系统环境: 操作系统:RedHat EL6(64位) Oracle:    Oracle 11gR2 Oracle 11.2.0.1 单实例升级到11.2.0.3 Oracle 升级的步骤都差点儿相同,先升级Oracle software,然后升级Oracle instance. Oracle 11.2.0.2的patchset No 是:10098816. 关于该Patchset 的下载地址,參考…
usually we need to export the database tables to backup and others use. So we must know what to do export those data . just exmple when I export the oracle all database tables with dmp files. the method is following : #exp oracle_userName/""&quo…
ASM实例无法启动 [grid@data ~]$ sqlplus / as sysasm SQL*Plus: Release 11.2.0.4.0 Production on Fri Sep 11 09:00:34 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-12705: Cannot access NLS data files or invalid environment specified 无法…
客户一套核心系统由一台Oracle Database 11.2.0.3.4单机和一台Active Data Guard组成,分别运行在两台PC服务器上,Oracle Linux 5.8 x86_64bit操作系统,两台服务器都未接存储设备:由于原有设备老旧等原因,现在要将这套Oracle数据库系统(主库和ADG库)迁移到新采购的两台服务器上,不跨版本,也不跨平台.为了最小化停机时间,我们先用目前最新的RMAN 0级备份在两台新服务器上restore database,之后将到目前为止的所有1级备…
17.1.1.6 Creating a Data Snapshot Using Raw Data Files 创建一个数据快照使用 Raw Data Files 如果数据库是大的, 复制raw 数据文件可以变的更加有效相比使用mysqldump 和导入文件在每个slave上. 这个即使跳过更新索引的负载 使用这种方法 表在存储引擎具有复杂的caching和logging 算法需要额外的步骤来产生一个完全的时间点快照. 初始的copy命令需要留下cache信息和记录更新,即使你需要的一个全局的读锁…
Oracle Study之-AIX6.1构建Oracle 10gR2 RAC(3) 一.配置共享存储 [oracle@aix203 ~]$lsdev -c disk hdisk0 Available 1S-08-00-8,0 Other SCSI Disk Drive hdisk1 Available 1D-08-02     Other FC SCSI Disk Drive [root@aix204 /]#lsdev -c disk hdisk0 Available 1S-08-00-8,0…
Oracle Study之-AIX6.1构建Oracle 10gR2 RAC(4) 一.安装CRS补丁 在安装CRS之前,须要安装补丁p6718715_10203_AIX64-5L,否则在安装时会出现"无法发现node"的错误. [root@aix203 /]#cd /home/oracle/p6718715_10203_AIX64-5L/ 补丁解压后,仅仅须要以root身份执行"root.sh"就可以: [root@aix203 p6718715_10203_AI…