scripts:查看数据库版本及补丁情况

scripts:查看数据库版本及补丁情况
查看数据库版本及补丁情况 --数据库10.2以后可用 SET lines 100 numwidth 12 pages 100 COL action_time FOR a30 COL action FOR a12 COL version LIKE action COL comments FOR a30 SELECT action_time, action, version, id, comments FROM dba_registry_history ORDER BY action_time; --数据库通用 SET lines 100 numwidth 12 pages 100 COL action_time FOR a30 COL action FOR a12 COL version LIK...

scripts:查看数据库历史增长情况

scripts:查看数据库历史增长情况
查看数据库历史增长情况 此处是通过计算数据库所有表空间的历史增长情况来计算数据库历史情况。 --不含undo和temp with tmp as (select rtime, sum(tablespace_usedsize_kb) tablespace_usedsize_kb, sum(tablespace_size_kb) tablespace_size_kb from (select rtime, e.tablespace_id, ...

scripts:查看指定表空间增长情况

scripts:查看指定表空间增长情况
查看指定表空间增长情况 set linesize 160 set pagesize 200 BREAK ON name SKIP 1 select b.name, a.rtime, (a.tablespace_usedsize)*(c.block_size)/1024 tablespace_usedsize_kb, (a.tablespace_size)*(c.block_size)/1024 tablespace_size_kb, (TABLESPACE_USEDSIZE - LAG(TABLESPACE_USEDSIZE, 1, NULL) OVER(partition by name ORDER BY substr(a.rtime, 1, 10)))*(c.block_size)/1024 AS ...

重建索引后是否自动分析表和索引(9i+10g+11g)

重建索引后是否自动分析表和索引(9i+10g+11g)
重建索引后是否自动分析表和索引(9i+10g+11g) --9i库 SQL> select * from v$version where rownum<5; BANNER ---------------------------------------------------------------- Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production PL/SQL Release 9.2.0.6.0 - Production CORE 9.2.0.6.0 Production TNS for HPUX: Version 9.2.0.6.0 - Production --建测试表 SQL> create tabl...

如何将linux数据库用rman备份到远端win平台

如何将linux数据库用rman备份到远端win平台
如何将linux数据库用rman备份到远端win平台 将win下的共享目录挂载到linux下即可 #挂载windows共享目录 mount -o rw,uid=oracle,gid=oinstall,username=yallonking,password='oraking' //192.168.137.1/back_dir /tmp/back_dir 如果出现 [root@OELx64 ~]# mount -o rw,uid=oracle,gid=oinstall,username=yallonking,password='oraking' //192.168.137.1/back_dir /tmp/back_dir mount error(12): Cannot al...

oracle 11gr2 删除节点最佳实践

oracle 11gr2 删除节点最佳实践
oracle 11gr2 删除节点最佳实践 OS信息: [grid@11grac1 ~]$ uname -a Linux 11grac1 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:22:40 EST 2012 i686 i686 i386 GNU/Linux DB信息: SQL> select * from v$version where rownum<5; BANNER ------------------------------------------------------------------------ Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production PL/S...

oracle 11gr2 添加节点最佳实践

oracle 11gr2 添加节点最佳实践
oracle 11gr2 添加节点最佳实践 OS信息: [grid@11grac1 ~]$ uname -a Linux 11grac1 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:22:40 EST 2012 i686 i686 i386 GNU/Linux DB信息: SQL> select * from v$version where rownum<5; BANNER ------------------------------------------------------------------------ Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production PL/S...

RAC 启动报错ORA-01078 ORA-01565 ORA-17503 ORA-15077

RAC 启动报错ORA-01078 ORA-01565 ORA-17503 ORA-15077
RAC 启动报错ORA-01078 ORA-01565 ORA-17503 ORA-15077 [oracle@rac1 ~]$ sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 27 09:38:54 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> conn /as sysdba Connected to an idle instance. SQL> startup ORA-01078: failure in processing system parameters ORA-01565: error in identifying file '+DATA/ra...

ORACLE RAC如何正确配置数据库归档模式

ORACLE RAC如何正确配置数据库归档模式
ORACLE RAC配置归档模式一例 当前系统没有开启归档 [oracle@rac1 ~]$ sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 27 10:16:27 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> conn /as sysdba Connected. SQL> archive log list; Database log mode No Archive Mode Automatic archival Disabled Archive destination USE_DB_RECOVERY_FILE_DEST Old...

ORALCE安全之RAC配置Class of Secure Transport(COST)

ORALCE安全之RAC配置Class of Secure Transport(COST)
ORALCE安全之RAC配置Class of Secure Transport(COST) --参照文档 --Using Class of Secure Transport (COST) to Restrict Instance Registration in Oracle RAC [ID 1340831.1] [oracle@rac1 ~]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora....SM1.asm application ONLINE ONLINE rac1 ora....C1.lsnr application ONLINE ONLINE rac1 o...
Copyright © YallonKing 保留所有权利.   Theme  Ality

用户登录

分享到: