Legato备份oracle的文档整理
http://inthirties.com:90/viewthread.jsp?tid=1394
1 我们已经在备份服务器上建立了一个catalog库,具体的操作过程如下:
1)查询现在的数据库
# sqlplus /nolog.
SQL>connect / as sysdba;
Connected.
SQL>select * from v$tablespace;
TS# NAME INC
———- ——————- —
0 SYSTEM YES
1 UNDOTBS1 YES
2 TEMP YES
3 CWMLITE YES
4 INDX YES
5 TOOLS YES
6 USERS YES
7 XDB YES
8 rows selected.
SQL>; sellect name,bytes,status from v$datafile;
NAME————-BYTES STATUS———-
/oracle/product/10g/oradata/legato/system01.dbf 5242880 SYSTEM
/oracle/oradata/legato/system01.dbf 262144000 SYSTEM
/oracle/product/10g/oradata/legato/undotbs01.dbf 5242880 ONLINE
NAME———— BYTES STATUS———-
/oracle/oradata/legato/undotbs01.dbf 209715200 ONLINE
/oracle/product/10g/oradata/legato/cwmlite01.dbf 5242880 ONLINE
/oracle/oradata/legato/cwmlite01.dbf 20971520 ONLINE
NAME————–BYTES STATUS- ——-
/oracle/product/10g/oradata/legato/indx01.dbf 5242880 ONLINE
/oracle/oradata/legato/indx01.dbf 26214400 ONLINE
/oracle/product/10g/oradata/legato/tools01.dbf 5242880 ONLINE
NAME————- BYTES STATUS——-
/oracle/oradata/legato/tools01.dbf 10485760 ONLINE
/oracle/product/10g/oradata/legato/users01.dbf 5242880 ONLINE
/oracle/oradata/legato/users01.dbf 26214400 ONLINE
NAME—————BYTES STATUS———-
/oracle/product/10g/oradata/legato/xdb01.dbf 5242880 ONLINE
/oracle/oradata/legato/xdb01.dbf 20971520 ONLINE
14 rows selected.
SQL>select INSTANCE_NAME,HOST_NAME,VERSION from v$instance;
INSTANCE_NAME———HOST_NAME——–VERSION——-
legato
linthdb
10.2.0.1.0
SQL>select username from dba_users;
USERNAME————–
SYS
SYSTEM
DBSNMP
OUTLN
OLAPSYS
WMSYS
6 rows select
相关文档:
http://blog.csdn.net/mustbelove/archive/2007/04/17/1567836.aspx(转)
1 year=1*12 months
1 day=24
hours=24*(1*60mins)=24*60*(1*60 seconds)
1 week =7 days
注意:
黑色字体是 oracle
8i,9i都可以使用的函数,
蓝色字体是 Oracle
9i
新
增的部分。
请大家在使用时,注意版本限制。
add_mon ......
郑重说明:此文来自于网络,如有侵权请告之!
导读:
重建索引有多种方式,如drop and re-create、rebuild、rebuild online等。下面简单比较这几种方式异同以及优缺点:
首先建立测试表及数据:
SQL> CREATE TABLE TEST AS SELECT CITYCODE C1 from CITIZENINFO2;
Table created
SQL> ALTE ......
Actions
Every action belongs to an action type. An action type is a collection of actions having similar functionality. For example, actions in the absolute-job-level action type all require approvals up to a certain job level in the HR supervisory hierarchy.
每个行为都属于一种行为类型。每种行为类 ......
子查询
单行子查询(single-row subqueries)
使用的运算符号(=,>,<,>=,<=,<>)
多行子查询(multiple-row subqueries)
使用的运算符号(in,not in,exists,not exits,all,any)
相关子查询(correlated subqueries)
&nb ......