上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 44 下一页
摘要: OS:ORACLE-LINUX 5.7DB:11.2.0.3.0 完全恢复 查看现有的数据文件SQL> select name from v$datafile; NAME----------------------------------------------------------------- 阅读全文
posted @ 2016-02-01 10:02 __Yoon 阅读(451) 评论(0) 推荐(0)
摘要: SELECT TO_CHAR(s.sid)||','||TO_CHAR(s.serial#) sid_serial,NVL(s.username, 'None') orauser,s.program, r.name undoseg,t.used_ublk * TO_NUMBER(x.value)/1 阅读全文
posted @ 2016-02-01 10:01 __Yoon 阅读(668) 评论(0) 推荐(0)
摘要: 环境: OS: Oracle Linux Server release 5.7 DB: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production 1、查看临时表空间信息: select tablespac 阅读全文
posted @ 2016-02-01 10:01 __Yoon 阅读(204) 评论(0) 推荐(0)
摘要: OS: ORACLE-LINUX 5.7 DB: 11.2.0.3 [oracle@b28-122 ~]$ emctl status dbconsoleOracle Enterprise Manager 11g Database Control Release 11.2.0.3.0Copyright 阅读全文
posted @ 2016-02-01 10:00 __Yoon 阅读(1139) 评论(0) 推荐(0)
摘要: RMAN> restore validate controlfile; Starting restore at 21-NOV-13using target database control file instead of recovery catalogallocated channel: ORA_ 阅读全文
posted @ 2016-02-01 10:00 __Yoon 阅读(197) 评论(0) 推荐(0)
摘要: OS: Oracle Linux Server release 5.7 DB: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production 首先创建yoon数据库 SQL> create tablespac 阅读全文
posted @ 2016-02-01 10:00 __Yoon 阅读(408) 评论(0) 推荐(0)
摘要: 约束是表中列的属性,用来维护数据结构完整性的一种手段约束的种类:NOT NULLUNIQUEPARIAMRY KEYFOREIGN KEYCHECK enble validate 检查现有数据和新数据是否符合约束enable novlidate 检查新数据是否符合约束disable validate 阅读全文
posted @ 2016-02-01 09:59 __Yoon 阅读(210) 评论(0) 推荐(0)
摘要: 查看所有用户分区表及分区策略(1、2级分区表均包括): SELECT p.table_name AS 表名, decode(p.partitioning_key_count, 1, '主分区') AS 分区类型,p.partitioning_type AS 分区类型, p.column_name A 阅读全文
posted @ 2016-02-01 09:58 __Yoon 阅读(398) 评论(0) 推荐(0)
摘要: Oracle数据库表空间使用量查询: select b.file_name 物理文件名,b.tablespace_name 表空间,b.bytes/1024/1024 大小M,(b.bytes-sum(nvl(a.bytes,0)))/1024/1024 已使用M,substr((b.bytes-s 阅读全文
posted @ 2016-02-01 09:58 __Yoon 阅读(347) 评论(0) 推荐(0)
摘要: OS: Oracle Linux Server release 5.7 DB: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production 添加控制文件: 1.修改参数文件alter system set 阅读全文
posted @ 2016-02-01 09:57 __Yoon 阅读(694) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 44 下一页