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…
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.…
Oracle Study之--Oracle 11gR2通过RMAN克隆数据库 Purpose of Database Duplication A duplicate database is useful for a variety of purposes, most of which involve testing. You can perform the following tasks in a duplicate database: Test backup and recovery proc…
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 的下载地址,參考…
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…
The basic functional cornerstones of Scala: immutable data types, passing of functions as parameters and pattern matching. 1. Basic Pattern Matching In Scala, your cases can include types, wildcards, sequences, regular expressions, and so forth. scal…
1. Variables (1) Three ways to define variables: 1) val refers to define an immutable variable; scala> val x = x: Int = scala> x*x res4: Int = scala> res4 + # use result as a value res6: Int = scala> res4 + res6 res7: Int = scala> x = # x i…
无论安装什么版本的Oracle,在安装之前,都需要配置 /etc/pam.d/login   /etc/profile   /etc/security/limits.conf这三个文件 那这三个文件究竟是做什么用的呢?答案就是设置对oracle用户的shell limits.下面就仔细分析一下这几个文件 首先需要编辑/etc/security/limits.conf文件(用户限制配置文件) oracle soft nproc 2047 oracle hard nproc 16384 oracle…
JDK Tools and Utilities Basic Tools These tools are the foundation of the JDK. They are the tools you use to create and build applications. Tool Name Brief Description appletviewer Run and debug applets without a web browser. extcheck Utility to dete…